java - Creating complex object in database with Hibernate -
i want solve problem adding records database. have 2 entities, let's car , status. when create car record want connected status table. want have status_id in car record. in status there 2 records. 1: available , 2:broken. best way solve this?
i can't add code now, link later.
thanks help.
Comments
Post a Comment