mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
17 lines
275 B
Java
17 lines
275 B
Java
package misc.migration.v1_0;
|
|
|
|
import javax.persistence.*;
|
|
|
|
@Entity
|
|
@Table(name = "migtest_fk_none_via_join")
|
|
public class DfkNoneViaJoin {
|
|
|
|
@Id
|
|
long id;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "one_id", foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT))
|
|
DfkOne one;
|
|
|
|
}
|