Hibernate Schema Management Tool does not properly drop sequences for PostgresSQL 8.2+

Description

PostgresSQL 8.2 added the new syntax:

1 DROP SEQUENCE [IF EXISTS] name

The existing PostgreSQL82Dialect and its derivatives do not support this and therefore sequences are not being properly removed when using create or create-drop.

Environment

PostgresSQL

Status

Assignee

Chris Cranford

Reporter

Chris Cranford

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.1

Priority

Major
Configure