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

Lincoln Baxter, III lincolnbaxter at gmail.com
Thu Feb 13 13:57:39 EST 2014


And If you're feeling really adventurous you could work on implementing it
too ;) We love contributions!


On Thu, Feb 13, 2014 at 1:57 PM, Lincoln Baxter, III <
lincolnbaxter at gmail.com> wrote:

> Hey Larry,
>
> I don't think we currently have a way of specifying the table name or
> column name at command execution time. This would be a good feature to
> request in our JIRA issue tracker.
>
> https://jira.jboss.org/jira/browse/FORGE
>
> Thanks!
> ~Lincoln
>
>
> On Thu, Feb 13, 2014 at 1:39 PM, <forge-users at lists.jboss.org> wrote:
>
>> 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.
>>
>> Cheers!
>> Larry
>>
>> Posted by forums
>> Original post: https://community.jboss.org/message/857566#857566
>> _______________________________________________
>> forge-users mailing list
>> forge-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-users
>>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
>



-- 
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20140213/6bfda99e/attachment-0001.html 


More information about the forge-users mailing list