]
Alejandro Guizar updated JBPM-725:
----------------------------------
Fix Version/s: jBPM jPDL 3.2.2
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, jBPM jPDL 3.2, jBPM jPDL 3.2.1
Reporter: Stefan Lang
Assigned To: Kevin Klinemeier
Fix For: jBPM jPDL 3.2.2
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: