Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created 
the discussion

"Re: How to get db column comments with Hibernate reverse engineering?"

To view the discussion, visit: https://community.jboss.org/message/821166#821166

--------------------------------------------------------------
They are inside the hibernatetools-*.jar.

Unzip that jar.

copy the hbm2java directory into your own directory, i.e. "templates" so you 
have templates/hbm2java/*.ftl

Now use "templates" as your template path in hibernate code generation.

It will now look in this directory before looking in the jar.

Meaning you can add things into these *.ftl files and they should show up in 
your generated entities.
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to