Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1
I am trying to map tables such as these. Any hints on how this would map for select, update and delete
Table User:
userid (PK)
username
...
Table Relation
personId
connectionId
connectionDate
personId refers to User(userid)
connectionId refers to User(userId)
PK(personId,connectionId)
Table Invitation
inviterId
inviteeId
invitationDate
expiryDate
inviterId refers to User(userid)
inviteeId refers to User(userId)
PK(inviterId,inviteeId)