mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix/shortened tablenames (#1093)
* FIX: Shortened tablename (will fail on oracle) * FIX: renamed table, otherwise, in db2 he_link_doc & hi_link_ are both generating the same index ix_h_lnk_dc_h_dc
This commit is contained in:
committed by
Rob Bygrave
parent
419ac2bf50
commit
457c1356a4
@@ -10,7 +10,7 @@ import java.util.List;
|
||||
*/
|
||||
@Cache
|
||||
@Entity
|
||||
@Table(name = "l2_cached_lazy_dirt_flag_reset_bean")
|
||||
@Table(name = "l2_cldf_reset_bean")
|
||||
public class L2CachedLazyDirtFlagResetBean {
|
||||
|
||||
public Long getId() {
|
||||
|
||||
@@ -3,7 +3,7 @@ package org.tests.model.basic;
|
||||
import javax.persistence.*;
|
||||
|
||||
@Entity
|
||||
@Table(name = "l2_cached_lazy_dirt_flag_reset_bean_child")
|
||||
@Table(name = "l2_cldf_reset_bean_child")
|
||||
public class L2CachedLazyDirtFlagResetBeanChild {
|
||||
|
||||
@Id
|
||||
|
||||
@@ -6,10 +6,13 @@ import org.tests.model.draftable.BaseDomain;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.ManyToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@History
|
||||
@Entity
|
||||
@Table(name = "hx_link")
|
||||
public class HeLink extends BaseDomain {
|
||||
|
||||
String name;
|
||||
|
||||
Reference in New Issue
Block a user