mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Moving the master branch to use jakarta based code and dependencies. Change to use ./jakarta-to-javax.sh to convert back to javax when releasing that.
22 lines
361 B
Java
22 lines
361 B
Java
package misc.migration.v1_0;
|
|
|
|
import io.ebean.annotation.DbForeignKey;
|
|
|
|
import jakarta.persistence.Entity;
|
|
import jakarta.persistence.Id;
|
|
import jakarta.persistence.ManyToOne;
|
|
import jakarta.persistence.Table;
|
|
|
|
|
|
@Entity
|
|
@Table(name = "migtest_fk_none")
|
|
public class DfkNone {
|
|
|
|
@Id
|
|
long id;
|
|
|
|
@ManyToOne
|
|
@DbForeignKey(noConstraint = true)
|
|
DfkOne one;
|
|
}
|