]
Steve Ebersole updated HHH-6068:
--------------------------------
Fix Version/s: (was: 4.0.0.CR4)
4.0.0.next
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.5.6, 3.6.0, 3.6.1, 3.6.2
Reporter: Laird Nelson
Assignee: Steve Ebersole
Labels: jpa2
Fix For: 4.0.0.next
Attachments: hhh6068.tar.gz, hhh6068.tar.gz
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.
For more information on JIRA, see: