_str.toUpperCase().equals("NTEXT") ||
_str.toUpperCase().equals("CHARACTER") ||
_str.toUpperCase().equals("CHAR") ||
+ _str.toUpperCase().equals("BPCHAR") ||
_str.toUpperCase().equals("NCHAR") ||
_str.toUpperCase().equals("VARCHAR") ||
_str.toUpperCase().equals("VARCHAR2") ||
}
}
+ protected static boolean isColBoolean(String _str) throws Exception{
+ if(
+ _str.toUpperCase().equals("BIT") ||
+ _str.toUpperCase().equals("BOOL") ||
+ _str.toUpperCase().equals("BOOLEAN")){
+ return true;
+ } else {
+ return false;
+ }
+ }
+
protected static boolean isColDate(String _str) throws Exception{
if(
_str.toUpperCase().equals("DATE")){
_str.toUpperCase().equals("INTEGER") ||
_str.toUpperCase().equals("SMALLINT UNSIGNED") ||
_str.toUpperCase().equals("MEDIUMINT") ||
+ _str.toUpperCase().equals("SERIAL") ||
+ _str.toUpperCase().equals("INT2") ||
+ _str.toUpperCase().equals("INT4") ||
_str.toUpperCase().equals("INT")){
return true;
} else {
_str.toUpperCase().equals("MEDIUMINT UNSIGNED") ||
_str.toUpperCase().equals("BIGINT UNSIGNED") ||
_str.toUpperCase().equals("BIGINT") ||
+ _str.toUpperCase().equals("BIGSERIAL") ||
+ _str.toUpperCase().equals("SERIAL8") ||
+ _str.toUpperCase().equals("INT8") ||
_str.toUpperCase().equals("LONG")){
return true;
} else {
protected static boolean isColBlob(String _str) throws Exception{
if(
+ _str.toUpperCase().equals("BYTEA") ||
_str.toUpperCase().equals("BLOB") ||
_str.toUpperCase().equals("VARBINARY") ||
_str.toUpperCase().equals("UDT") ||