[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6068) JPA-specified default schema ignored for Hibernate sequences

Laird Nelson (JIRA) noreply at atlassian.com
Wed Mar 30 11:45:08 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laird Nelson updated HHH-6068:
------------------------------

    Attachment: hhh6068.tar.gz

A Maven project demonstrating the problem.

> 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
>         Attachments: 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.
-
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