[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
Fri Jun 18 04:21:46 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536262#action_12536262 ] 

Dhana kumar commented on JBIDE-6456:
------------------------------------

Hi Anderson,
	Thanks for your response.
	
	Here, I am first crating entity using Jpa workbench, later generating tables from entities using JPA Tools option.
	
	But,Hibernate Console configuration accepts the NamingStrategy instance, which is meant for generating entities from existing tables.
	
	Please find my attached maven project, using AnnotationConfiguration class from Hibernate-Tools.
	I am trying to write a maven plugin to achieve this, (having table prefix, column prefix, removing vowels in column names.)

> 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: LATER
>
>         Attachments: jpa-hibernate.zip
>
>
> 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