public static boolean supportsDefaultValueComputed ( String columnType , String defaultValue ) { HashSet < String > possibleComputedValues = SUPPORTED_DEFAULT_VALUE_COMPUTED_MAP . get ( columnType ) ; return ( possibleComputedValues != null ) && possibleComputedValues . contains ( defaultValue . toLowerCase ( ) ) ; }
Checks to see if the string is an acceptable computed value for HSQL datetime columns are the only columns for which HSQL supports computer values .