[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6068) JPA-specified default schema ignored for Hibernate sequences
Laird Nelson (JIRA)
noreply at atlassian.com
Wed Mar 30 09:14:08 EDT 2011
JPA-specified default schema ignored for Hibernate sequences
------------------------------------------------------------
Key: HHH-6068
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6068
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.6.2, 3.6.1, 3.6.0, 3.5.6
Reporter: Laird Nelson
The <persistence-unit-defaults> element in a JPA 2.0-compliant orm.xml file lets you specify what you would like to have used as the default schema when none is specified elsewhere. Hibernate ignores this element when referring to its own internal sequence, "hibernate_sequence".
I suspect it also ignores the default catalog element as well.
The only workaround is to use the hibernate-specific hibernate.default_schema property.
IMHO Hibernate should honor the JPA orm.xml value if it is present.
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list