The generation of the drop schema does not filter sequence with schemaFilter

Description

When using SchemaExport to generate DDL, the drop schema does not rely on the SchemaFilter to filter sequences.

The suggested correction is to add a call to this filter after ligne L243

https://github.com/aleksabl/hibernate-core/blob/master/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java#L243

Current code ( SchemaDropperImpl line 243)

Suggested correction :

Remark : this is done on the create schema in this line :

https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java#L285

This is just a mirror correction on the drop side.

Environment

None

Activity

Show:
Gail Badner
August 11, 2016, 12:25 AM

Re-open to remove 5.1.1 as a fix version.

Gail Badner
August 11, 2016, 7:33 AM

Re-opening to add a fix version.

Gail Badner
August 11, 2016, 7:34 AM

Fixed in 5.1 branch as well.

Assignee

Andrea Boriero

Reporter

benoit besson

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure