File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem on delete beacuse of mapping view as a collection

 
srini carry
Ranch Hand
Posts: 83
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an entity , I mapped a view as a collection to this entity .Now when I call delete for this entity hibernate first tries to delete from view and I get this error

ORA-01752: cannot delete from view without exactly one key-preserved table

I am wondering If I can tell hibernate not to issue delete statement for this collection which is a view ?

here my entity
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic