File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Unable to remove entity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Unable to remove entity" Watch "Unable to remove entity" New topic

Unable to remove entity

Enrico Morelli
Ranch Hand

Joined: Jan 07, 2013
Posts: 30
Dear all,

I've the following entities using eclipse persistence jpa and PostgreSQL:

I'm unable to remove a printer. No error, no warning, but nothing happen.

Where I wrong?
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553
Enable logging on finest and check your log for error, and ensure you are not catching and ignoring any errors.

TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
Enrico Morelli
Ranch Hand

Joined: Jan 07, 2013
Posts: 30
I cheked logs, but there aren't error messages.

I post also the jsf and java class that call remove method.

Another strange behaviour is that after pressing the remove button the program render again the printer list (the posted jsf code) instead the user.xhtml page.

I'm using netbeans with all log windows opens.
I agree. Here's the link:
subject: Unable to remove entity
jQuery in Action, 3rd edition