JBoss Community

How to add constructors with ID in pojo generation?

created by u j in JBoss Tools - View the full discussion

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

Start a new discussion in JBoss Tools at Community