public String ofDbType ( String dbSpecificType ) { if ( dbSpecificType . equals ( TEXT ( ) ) ) { return COMPAT_TEXT ; } else if ( dbSpecificType . equals ( INTEGER ( ) ) ) { return COMPAT_INT ; } else if ( dbSpecificType . equals ( LONG ( ) ) ) { return COMPAT_LONG ; } else if ( dbSpecificType . equals ( REAL ( ) ) ) { return COMPAT_REAL ; } else if ( dbSpecificType . equals ( BLOB ( ) ) ) { return COMPAT_BLOB ; } else if ( dbSpecificType . equals ( CLOB ( ) ) ) { return COMPAT_CLOB ; } throw new RuntimeException ( "No type for name: " + dbSpecificType ) ; }
Get the compatibility name by the db specific type .