Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- class SomeEntity {
- @Id var id: Long = 0
- var otherEntityId: Long = 0
- lateinit var otherEntity: ToOne<OtherEntity?>
- }
- @Entity
- class OtherEntity {
- @Id var id: Long = 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement