Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Delete rows with a subroget key as primary key

 
Hamzah khammash
Greenhorn
Posts: 23
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I have table in database that its primary key is incremented from sequence now in my jpa code i need to delete the row but because the primary key at this stage is null i cann't get the row ,
so anyone have suggestions /
 
James Sutherland
Ranch Hand
Posts: 553
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure how the id could be null if the row exists? Perhaps include your code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic