[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4375?page=c...
]
Paul Benedict commented on HHH-4375:
------------------------------------
This is the Hibernate Annotations 3.4 code starting at line 154:
154 public void bindEntity() {
155 persistentClass.setAbstract( annotatedClass.isAbstract() );
156 persistentClass.setClassName( annotatedClass.getName() );
157 persistentClass.setNodeName( name );
158 //persistentClass.setDynamic(false); //no longer needed with the Entity name
refactoring?
159 persistentClass.setEntityName( annotatedClass.getName() );
The last line is where Hibernate could be enhanced to take the proposed @o.h.a.Entity
name. Like HHH-4375, I am not a fan of automatically naming the Hibernate name through EJB
annotations. I think it should be explicitly done.
Consider implementing @Entity(name=) through entityName
-------------------------------------------------------
Key: HHH-4375
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4375
Project: Hibernate Core
Issue Type: Improvement
Components: annotations
Reporter: Steve Ebersole
Priority: Minor
Attachments: ANN-303-patch.txt
I'm doubtful but this might be a solution
http://jroller.com/page/MikeSlattery?entry=workaround_for_entity_name_alias
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira