rxue / dictionary

Practice in Java EE
0 stars 0 forks source link

ditionary/jpa : redesign (sub-task of #129) : trial of unidirectional @OneToMany (1 lexical item to many explanations in an alternative way) #133

Closed rxue closed 5 months ago

rxue commented 5 months ago

EntityManager.persist(lexicalItem) generated the following INSERT and UPDATE SQL statement

Hibernate: insert into lexical_item (creation_date,last_update_time,language,value) values (?,?,?,?)
Hibernate: update explanation set lexical_item_id=? where id=?

The update is not expected