[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6456) It is good to have more options on the wizard when we say, Source -> Apply Hibernate/JPA annotations
Dhana kumar (JIRA)
jira-events at lists.jboss.org
Tue Jun 15 02:56:46 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12535695#action_12535695 ]
Dhana kumar commented on JBIDE-6456:
------------------------------------
I have installed Hibernate Tools plugin in eclipse.
I created an entity class, Employee.java
Right click and selected Source -> Apply Hibernate/JPA annotations.
- It adds only Entity annotation, Id annotation and version annotation to the Employee class.
Here, I am also expecting @Column annotation, with the name PSE01_EMP_FRST_NM for the field, firstName.
Right now, GUI wizard accepts whether annotations to be added to fields/getters, flag of optimistic locking enabling, etc.,
it would be nice, if Table prefix, column prefix, a check box(Remove vowels ?) are also accepted in GUI wizard.
Please suggest.
> It is good to have more options on the wizard when we say, Source -> Apply Hibernate/JPA annotations
> ----------------------------------------------------------------------------------------------------
>
> Key: JBIDE-6456
> URL: https://jira.jboss.org/browse/JBIDE-6456
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Hibernate
> Reporter: Dhana kumar
> Assignee: Max Rydahl Andersen
> Fix For: 3.2.x
>
>
> Hi,
> It's really nice to work when we need DDL for the designed Entities using Dali JPA GUI.
> There are few options available(Enable optimistic locking, etc.,) in the wizard when I click Source -> Apply Hibernate/JPA annotations.
> It would be nice if custom naming strategy available.
> For example, for the field name, firstName, I need PSE01_EMP_FRST_NM as a column name.
> where, PSE01_EMP is the column prefix, FRST_NM is the name without vowels(removed a,e,i,o,u).
> So, in the wizard,if more options taken from user, like, Table prefix, column prefix, want to remove vowels?
> can you please suggest if I missed something.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list