mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-24 23:16:56 +00:00
#2799 - Remove unused DatabasePlatform.treatEmptyStringsAsNull
This commit is contained in:
1 parent
01155c3466
commit
6c7cedc1f1
2 files changed
-15
No files matched your search
@@ -140,11 +140,6 @@ public class DatabasePlatform {
|
|||||||
*/
|
*/
|
||||||
protected int clobDbType = Types.CLOB;
|
protected int clobDbType = Types.CLOB;
|
||||||
|
|
||||||
/**
|
|
||||||
* For Oracle treat empty strings as null.
|
|
||||||
*/
|
|
||||||
protected boolean treatEmptyStringsAsNull;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The database platform name.
|
* The database platform name.
|
||||||
*/
|
*/
|
||||||
@@ -542,15 +537,6 @@ public class DatabasePlatform {
|
|||||||
return clobDbType;
|
return clobDbType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return true if empty strings should be treated as null.
|
|
||||||
*
|
|
||||||
* @return true, if checks if is treat empty strings as null
|
|
||||||
*/
|
|
||||||
public boolean isTreatEmptyStringsAsNull() {
|
|
||||||
return treatEmptyStringsAsNull;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return true if a compound ID in (...) type expression needs to be in
|
* Return true if a compound ID in (...) type expression needs to be in
|
||||||
* expanded form of (a=? and b=?) or (a=? and b=?) or ... rather than (a,b) in
|
* expanded form of (a=? and b=?) or (a=? and b=?) or ... rather than (a,b) in
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ public class OraclePlatform extends DatabasePlatform {
|
|||||||
this.dbDefaultValue.setFalse("0");
|
this.dbDefaultValue.setFalse("0");
|
||||||
this.dbDefaultValue.setTrue("1");
|
this.dbDefaultValue.setTrue("1");
|
||||||
this.dbDefaultValue.setNow("current_timestamp");
|
this.dbDefaultValue.setNow("current_timestamp");
|
||||||
this.treatEmptyStringsAsNull = true;
|
|
||||||
this.likeClauseRaw = "like ?";
|
this.likeClauseRaw = "like ?";
|
||||||
|
|
||||||
this.exceptionTranslator =
|
this.exceptionTranslator =
|
||||||
|
|||||||
Reference in new issue
Block a user