[jboss-user] [JBoss Tools] - How to add constructors with ID in pojo generation?

u j do-not-reply at jboss.com
Sat Apr 30 07:49:39 EDT 2011


u j [http://community.jboss.org/people/bcn] created the discussion

"How to add constructors with ID in pojo generation?"

To view the discussion, visit: http://community.jboss.org/message/602843#602843

--------------------------------------------------------------
I would like to have constructors with the primary key / the ID in the entity classes generated by the domain code exporter.
Do I have to modify the template PojoConstructors.ftl? If yes, how? 
I wonder why such constructors are not added by default.

Thanks,
Ulrich
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/602843#602843]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110430/01d538db/attachment.html 


More information about the jboss-user mailing list