Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Registered reserved words for CUBRID dialect.

  • Loading branch information...
commit 93c51d1910257c582ddcfe0f75fcca6b44bf6523 1 parent 4978655
@kadishmal kadishmal authored
View
31 hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
@@ -194,6 +194,37 @@ public CUBRIDDialect() {
registerFunction("user", new NoArgSQLFunction("user", StandardBasicTypes.STRING, false) );
registerFunction("rownum", new NoArgSQLFunction("rownum", StandardBasicTypes.LONG, false) );
registerFunction("concat", new VarArgsSQLFunction(StandardBasicTypes.STRING, "", "||", ""));
+
+ registerKeyword( "TYPE" );
+ registerKeyword( "YEAR" );
+ registerKeyword( "MONTH" );
+ registerKeyword( "ALIAS" );
+ registerKeyword( "VALUE" );
+ registerKeyword( "FIRST" );
+ registerKeyword( "ROLE" );
+ registerKeyword( "CLASS" );
+ registerKeyword( "BIT" );
+ registerKeyword( "TIME" );
+ registerKeyword( "QUERY" );
+ registerKeyword( "DATE" );
+ registerKeyword( "USER" );
+ registerKeyword( "ACTION" );
+ registerKeyword( "SYS_USER" );
+ registerKeyword( "ZONE" );
+ registerKeyword( "LANGUAGE" );
+ registerKeyword( "DICTIONARY" );
+ registerKeyword( "DATA" );
+ registerKeyword( "TEST" );
+ registerKeyword( "SUPERCLASS" );
+ registerKeyword( "SECTION" );
+ registerKeyword( "LOWER" );
+ registerKeyword( "LIST" );
+ registerKeyword( "OID" );
+ registerKeyword( "DAY" );
+ registerKeyword( "IF" );
+ registerKeyword( "ATTRIBUTE" );
+ registerKeyword( "STRING" );
+ registerKeyword( "SEARCH" );
}
public boolean supportsIdentityColumns() {
Please sign in to comment.
Something went wrong with that request. Please try again.