[hibernate-dev] RequiresDialects vs RequiresDialect

Vlad Mihalcea mihalcea.vlad at gmail.com
Wed Jun 8 09:19:14 EDT 2016


Hi,

While writing a cross-dialect test, I bumped into the following issue:

https://hibernate.atlassian.net/browse/HHH-10814

The question is why do we have a @RequiresDialects annotation:

@RequiresDialects({
    @RequiresDialect(PostgreSQL81Dialect.class),
    @RequiresDialect(Oracle8iDialect.class)
})

when @RequiresDialect can take multiple dialects as well:

@RequiresDialect({ Oracle8iDialect.class, PostgreSQL81Dialect.class} )

Vlad


More information about the hibernate-dev mailing list