Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.79K
1 Posted Topic
Hey man, So I had the same problem and I finally figured it out. Netbeans doesn't generate the id generation strategy for you in this case. To fix the problem while using auto increment, add the following code to each of your classes: [CODE]@GeneratedValue(strategy=GenerationType.IDENTITY)[/CODE] basically tells the JPA to get …
The End.
danielsousa