Andrew Hughes
2012-01-10 01:14:49 UTC
Hi All,
Can someone please help me join the dots? Due to what I call is (arguably)
a bug in hibernate-tools it's generating an illegal constructor (255+
arg's). A suitable workaround is to customize the codegen (see
http://stackoverflow.com/questions/7365546/generated-full-constructor-contains-too-many-params
).
Question: If I can use pojo/PojoConstructors.ftl to customize codegen (as
the link above suggests), how can I configure the
hibernate3-maven-plugin / hbm2java
to use it? I can only find ant and hibernate tools doco, which is sadly
little help.
Thanks in Advance,
AH
Can someone please help me join the dots? Due to what I call is (arguably)
a bug in hibernate-tools it's generating an illegal constructor (255+
arg's). A suitable workaround is to customize the codegen (see
http://stackoverflow.com/questions/7365546/generated-full-constructor-contains-too-many-params
).
Question: If I can use pojo/PojoConstructors.ftl to customize codegen (as
the link above suggests), how can I configure the
hibernate3-maven-plugin / hbm2java
to use it? I can only find ant and hibernate tools doco, which is sadly
little help.
Thanks in Advance,
AH