-
1. Re: [forge-users] Map Entities to Different Table Name?
lincolnthree Feb 13, 2014 1:57 PM (in response to apexlars)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@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
https://lists.jboss.org/mailman/listinfo/forge-users
--
Lincoln Baxter, III
"Simpler is better."
-
att1.html.zip 1.0 KB
-
-
2. Re: [forge-users] Map Entities to Different Table Name?
lincolnthree Feb 13, 2014 1:57 PM (in response to lincolnthree)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@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@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@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-users
>>
>
>
--
Lincoln Baxter, III
"Simpler is better."
--
Lincoln Baxter, III
"Simpler is better."
-
att1.html.zip 1.2 KB
-