an action of mine is deleting several entities. The deletion fails due to a foreign key constraint.
The log error message only shows the table names which cause the contraint violation, but not the rows involved.
It would be very helpfull, if the primary keys of the objects involved would be displayed.
Can we change some logging attribute so that we can identify the objects which violate the foreign key constraint???
I don't think that Seam can do anything about that. You'll be better off, asking in the Hibernate forum. Even there you'll probably be directed to the maker of your JDBC driver.
That said have a look at the Hibernate Logging configuration