Register / Login
Win a copy of
Head First Go
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java in General
Object Relational Mapping
Creating a JPA (Hibernate) proxy and set the Primary key later
posted 1 month ago
Well, I'm working on a library where I need to create a JPA reference of some serialized entity objects.
The time I need to create the entity reference I don't have the ID field value so I somehow first need to create the proxy and then set the id. So I cannot use the
Do you guys have any suggestions?
Let's get him boys! We'll make him read this tiny ad!
Become a Java guru with IntelliJ IDEA
Boost this thread!
JPA, MySQL and @GeneratedValue
Object doesn't equal proxy, I think
JPA impl. w/Hibernate & Oracle PK Sequences/Triggers
Saving OneToMany , foreign key not set