Issue Type: Bug Bug
Affects Versions: 4.2.2
Assignee: Unassigned
Created: 21/Jun/13 9:58 AM
Description:

I have switched from hibernate.hbm2ddl.auto=update to hibernate.hbm2ddl.auto=validate and hibernate is blaming that the sequence doesn't exist (even if Hibernate created it on the previous run):

Caused by: org.hibernate.HibernateException: Missing sequence or table: "cloudesire_sequence"
at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1295)

After setting a breakpoint, I see that Hibernate correctly retrieve the existing generator but its name contains double quotes (key = "hibernate_sequence").

Environment: server postgresql-9.1 9.1.9-0ubuntu12.04
jdbc driver 9.1-901-1.jdbc4
Project: Hibernate ORM
Priority: Major Major
Reporter: Giovanni T.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira