[jboss-jira] [JBoss JIRA] Created: (JBPM-725) Set auto-import="false" for all hibernate-mapping elements in hibernate mapping files.
Stefan Lang (JIRA)
jira-events at jboss.com
Tue Aug 8 12:29:12 EDT 2006
Set auto-import="false" for all hibernate-mapping elements in hibernate mapping files.
--------------------------------------------------------------------------------------
Key: JBPM-725
URL: http://jira.jboss.com/jira/browse/JBPM-725
Project: JBoss jBPM
Issue Type: Bug
Affects Versions: jBPM 3.1.2, jBPM 3.1.1
Reporter: Stefan Lang
Assigned To: Tom Baeyens
The auto-import attribute of the hibernate-mapping elements in all hbm.xml files is not set.
Thus it is possible to use unqualified class names in Hibernate queries.
The problem is that name clashes with client code are very probable.
E.g. we have an "Event" entity class, jbpm has one too, so the following:
"select Event as e ..."
causes a hibernate exception.
We have set the auto-import attribute to "false" in all jbpm hbm files and
it works now as expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list