[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6670) H2Dialect should use "if exists" when dropping sequences

Christian Bauer (JIRA) noreply at atlassian.com
Tue Sep 20 05:41:35 EDT 2011


H2Dialect should use "if exists" when dropping sequences
--------------------------------------------------------

                 Key: HHH-6670
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6670
             Project: Hibernate Core
          Issue Type: Improvement
    Affects Versions: 4.0.0.CR3
            Reporter: Christian Bauer
            Priority: Trivial


Otherwise you'll get warnings for hbm2ddl:

	public String getDropSequenceString(String sequenceName) {
		return "drop sequence if exists " + sequenceName;
	}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list