mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
Handle DB2 extra lob options
This commit is contained in:
1 parent
cff1614228
commit
a810ef0c63
7 files changed
+162
-8
No files matched your search
@@ -55,9 +55,14 @@ public class EBasic {
|
||||
File descriptionFile;
|
||||
|
||||
@DbJson
|
||||
//@Column(columnDefinition = "db2;clob(16K);")
|
||||
@Column(columnDefinition = "db2;clob(16K) inline length 500 compact;")
|
||||
List<String> jsonList;
|
||||
|
||||
@NotNull
|
||||
@DbDefault("X")
|
||||
@Column(columnDefinition = "db2;clob(16K) inline length 500 not logged;")
|
||||
String aLob;
|
||||
|
||||
Timestamp someDate;
|
||||
|
||||
boolean old_boolean;
|
||||
|
||||
@@ -60,9 +60,12 @@ public class EBasic {
|
||||
String description;
|
||||
|
||||
@DbJson
|
||||
//@Column(columnDefinition = "db2;clob(16K);")
|
||||
@Column(columnDefinition = "db2;clob(16K) inline length 500 compact;")
|
||||
List<String> jsonList;
|
||||
|
||||
@Column(columnDefinition = "db2;clob(16K) inline length 500 not logged;", nullable = true)
|
||||
String aLob;
|
||||
|
||||
//@NotNull
|
||||
//@DbDefault("2000-01-01T00:00:00") //- date time literals do not work for each platform yet
|
||||
//@DbDefault("now") //- now does not work for mariaDb
|
||||
|
||||
@@ -53,9 +53,14 @@ public class EBasic {
|
||||
File descriptionFile;
|
||||
|
||||
@DbJson
|
||||
//@Column(columnDefinition = "db2;clob(16K);")
|
||||
@Column(columnDefinition = "db2;clob(16K) inline length 500 compact;")
|
||||
List<String> jsonList;
|
||||
|
||||
@NotNull
|
||||
@DbDefault("X")
|
||||
@Column(columnDefinition = "db2;clob(16K) inline length 500 compact;")
|
||||
String aLob;
|
||||
|
||||
Timestamp someDate;
|
||||
|
||||
boolean old_boolean;
|
||||
|
||||
Reference in new issue
Block a user