[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3842) Additional annotations support for "Generate Hibernate/JPA annotations"

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Thu Apr 2 09:44:22 EDT 2009


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

Max Rydahl Andersen commented on JBIDE-3842:
--------------------------------------------

3) Yes it is. the definition of primarykey is that it is non-nullable and unique

4) You can use that argument for any length, hence just keeping the default is the simplest.
If you want to add a "Default string length" which when specified inserts colum lenght, and if not does not put
any annotation.

> Additional annotations support for "Generate Hibernate/JPA annotations"
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-3842
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3842
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate
>    Affects Versions: 3.0.0.CR2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Vitali Yemialyanchyk
>            Priority: Minor
>             Fix For: LATER
>
>
> currently I see the sence add @MappedSuperclass annotation for base class instead of or together with @Entity annotation;
> in case when the class has offsprings - there is a big sence to have @MappedSuperclass annotation by default.
> Some other ideas?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list