Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Jan 10, 2025
1 parent 0a19c6c commit 5aa9fe1
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import java.util.Set;

import org.hibernate.community.dialect.CommunityDialectResolver;
import org.hibernate.engine.jdbc.dialect.spi.DialectResolver;

Expand All @@ -11,8 +9,9 @@
public final class HibernateOrmDerbyProcessor {
@BuildStep
public DatabaseKindDialectBuildItem registerHibernateOrmMetadataForDerbyDialect() {
return DatabaseKindDialectBuildItem.forCoreDialect(DatabaseKind.DERBY, "Apache Derby",
Set.of("org.hibernate.community.dialect.DerbyDialect"));
// We should use `forCoreDialect`, but can't because of https://hibernate.atlassian.net/browse/HHH-19033
return DatabaseKindDialectBuildItem.forThirdPartyDialect(DatabaseKind.DERBY,
"org.hibernate.community.dialect.DerbyDialect");
}

@BuildStep
Expand Down

0 comments on commit 5aa9fe1

Please sign in to comment.