[
https://jira.jboss.org/jira/browse/JBIDE-3842?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk commented on JBIDE-3842:
---------------------------------------------
That is right - abstract super classes are best candidates by default.
Choose for "simple parent" by default is not so good:
I'll add "Add @MappedSuperclass for base classes" checkbox.
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
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