Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] eclipselink.jdbc.batch-writing

This normally occurs when some error occurred previously.  Check that you did
not catch an exception earlier.  You can also enable logging in EclipseLink,
and all exceptions that occur within EclipseLink should be logged.

What application server are you using?

Ensure that you are using the Oracle9Platform and Oracle JDBC driver.

Leon Derks-2 wrote:
> When I add the <property name="eclipselink.jdbc.batch-writing" 
> value="Oracle-JDBC" /> to my persistence.xml
> I get the following error when the transaction tries to commit:
> javax.persistence.RollbackException: Transaction rolled back because 
> transaction was set to RollbackOnly.
> Can anyone tell me why this exception is thrown?
> thanks,
> Leon

--- James Sutherland
 EclipseLink ,
Wiki: EclipseLink , TopLink 
Forums: TopLink , EclipseLink 
Book: Java Persistence 
View this message in context:
Sent from the EclipseLink - Users mailing list archive at

Back to the top