[forge-users] Map Entities to Different Table Name?

forge-users at lists.jboss.org forge-users at lists.jboss.org
Thu Feb 13 13:39:15 EST 2014

Has anyone found a way to tell forge to map Entities or Columns to a table schema that's not exactly the same as the POJO name/field?

For instance, for POJO TimeZone, our company standard is to create the table as TIME_ZONE (underscore). Of course we change this after forge runs with annotations of @Table(name="TIME_ZONE") or @Column(name="TIME_ZONE_CODE"), but it would be really nice if there's a way to specify this during forge scripting for easier and better prototyping.

Or, has anyone started a plugin for this? We'd love to help.


Posted by forums
Original post: https://community.jboss.org/message/857566#857566

More information about the forge-users mailing list