mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-28 07:26:56 +00:00
Fixed tests, if SqlServer has "Latin1_General_100_BIN2" collation. (#1600)
This means, all names are interpreted case sensitive by the db
This commit is contained in:
1 parent
0b18189e62
commit
50de32af29
16 files changed
+32
-32
No files matched your search
@@ -23,10 +23,10 @@ public class Item {
|
||||
private int region;
|
||||
|
||||
@Embedded
|
||||
@AttributeOverride(name = "lastUpdated", column = @Column(name = "DATE_MODIFIED"))
|
||||
@AttributeOverride(name = "created", column = @Column(name = "DATE_CREATED"))
|
||||
@AttributeOverride(name = "updatedBy", column = @Column(name = "MODIFIED_BY"))
|
||||
@AttributeOverride(name = "createdBy", column = @Column(name = "CREATED_BY"))
|
||||
@AttributeOverride(name = "lastUpdated", column = @Column(name = "date_modified"))
|
||||
@AttributeOverride(name = "created", column = @Column(name = "date_created"))
|
||||
@AttributeOverride(name = "updatedBy", column = @Column(name = "modified_by"))
|
||||
@AttributeOverride(name = "createdBy", column = @Column(name = "created_by"))
|
||||
private AuditInfo auditInfo = new AuditInfo();
|
||||
|
||||
@Version
|
||||
|
||||
@@ -7,7 +7,7 @@ import javax.persistence.Id;
|
||||
@Entity
|
||||
public class Parcel {
|
||||
@Id
|
||||
@Column(name = "parcelId")
|
||||
@Column(name = "parcelid")
|
||||
private Long parcelId;
|
||||
|
||||
private String description;
|
||||
|
||||
@@ -9,13 +9,13 @@ import javax.persistence.OneToOne;
|
||||
@Entity
|
||||
public class ParcelLocation {
|
||||
@Id
|
||||
@Column(name = "parcelLocId")
|
||||
@Column(name = "parcellocid")
|
||||
private Long parcelLocId;
|
||||
|
||||
private String location;
|
||||
|
||||
@OneToOne
|
||||
@JoinColumn(name = "parcelId", referencedColumnName = "parcelId")
|
||||
@JoinColumn(name = "parcelid", referencedColumnName = "parcelid")
|
||||
private Parcel parcel;
|
||||
|
||||
public Long getParcelLocId() {
|
||||
|
||||
Reference in new issue
Block a user