Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for 370429 checked in
Bug 370429 - Throws eclipselink-proprietry DatabaseException instead of JPA-compliant PersistenceException

This fix causes JPA query methods getResultList, getSingleResult, execute, executeUpdate and EclipseLink's getResultCollection to wrap RuntimeExceptions in PersistenceExceptions and mark the transaction for rollback. It includes a few test changes where EclipseLInk native exceptions were expected to be thrown that now receive PersistenceException instances wrapping the underlying cause.

Reviewed by Guy Pelletier
Checked into Main (2.5)

Back to the top