From 36584806425e28c64a2bc22744ed3bbe67b1007f Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Mon, 27 Jul 2015 15:58:25 +0100 Subject: [PATCH] HHH-9967 - Fix failure Create index on Postgres with --defaultSchemaName --- .../main/java/org/hibernate/dialect/PostgreSQL81Dialect.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java index 35e7c3ee2d..d459e6d796 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java @@ -556,4 +556,9 @@ public class PostgreSQL81Dialect extends Dialect { public ResultSet getResultSet(CallableStatement statement, String name) throws SQLException { throw new UnsupportedOperationException( "PostgreSQL only supports accessing REF_CURSOR parameters by name" ); } + + @Override + public boolean qualifyIndexName() { + return false; + } }