[jboss-jira] [JBoss JIRA] Assigned: (JBPM-725) Set auto-import="false" for all hibernate-mapping elements in hibernate mapping files.
Kevin Klinemeier (JIRA)
jira-events at lists.jboss.org
Thu Mar 29 19:47:56 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-725?page=all ]
Kevin Klinemeier reassigned JBPM-725:
-------------------------------------
Assignee: Kevin Klinemeier (was: Tom Baeyens)
> 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.1, jBPM 3.1.2
> Reporter: Stefan Lang
> Assigned To: Kevin Klinemeier
>
> 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