mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
Different ColumnDefinition for different platforms (#62)
* solution v1 * migration changes * change test field + new migrations * fix poms
This commit is contained in:
1 parent
6e59ca40d7
commit
07c8f84da2
41 files changed
+89
-24
No files matched your search
@@ -6,6 +6,7 @@ import io.ebean.annotation.Index;
|
||||
import io.ebean.annotation.NotNull;
|
||||
import io.ebean.annotation.Tablespace;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.ManyToOne;
|
||||
@@ -44,6 +45,9 @@ public class EBasic {
|
||||
@Size(max=127)
|
||||
String description;
|
||||
|
||||
@Column(columnDefinition = "db2;blob(64M);sqlserver,h2;varchar(227);varchar(127)")
|
||||
String description2;
|
||||
|
||||
Timestamp someDate;
|
||||
|
||||
boolean old_boolean;
|
||||
|
||||
Reference in new issue
Block a user