HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus
(cherry picked from commit bb905dcb00
)
This commit is contained in:
parent
a5839cea07
commit
659024713b
|
@ -14,15 +14,17 @@ import org.hibernate.internal.util.StringHelper;
|
|||
* @author Andrea Boriero
|
||||
*/
|
||||
public class DatabaseIdentifier extends Identifier {
|
||||
|
||||
/**
|
||||
* Constructs a datatabase identifier instance.
|
||||
* It is assumed that <code>text</code> is unquoted.
|
||||
*
|
||||
* @param text The identifier text.
|
||||
*/
|
||||
protected DatabaseIdentifier(String text) {
|
||||
super( text );
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a datatabase identifier instance.
|
||||
*
|
||||
* @param text The identifier text.
|
||||
*/
|
||||
public static DatabaseIdentifier toIdentifier(String text) {
|
||||
if ( StringHelper.isEmpty( text ) ) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue