[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Internal Exception: java.lang.ClassCastException: org.eclipse.persistence.platform.database.DatabasePlatform incompatible with org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform

Make sure you remove the platform from the sessions.xml.

Your customizer is correct.



dmitryerkin wrote:
> 
> Hi
> I followed the tip which I got but it still does not work.
> I get the same error in both cases when I deploy the eclipselink.jar with
> an ear or as a shared library.
> I implemented the SessionCustomizer interface but my implementation is not
> invoked while the ear is starting.
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/Internal-Exception%3A-java.lang.ClassCastException%3A-org.eclipse.persistence.platform.database.DatabasePlatform-incompatible-with-org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform-tp18847857p18870280.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.