ClassCastException « Connection « JPA Q&A





1. ClassCastException for SP call using datasource(oracle11g)    forum.hibernate.org

Hi , Could you please look into this following issue. I am using Hibernate3x and configuring two datasources(for different schema within same DB) in tomcat6 for oracle11g.I am calling store-procedure to retrieve specific data from DB using datasource in tomcat6.The fact is fetching data from different schema within same database is working properly but the exception occurs while calling the storeproc ...

2. Hibernate RMI DAtaSource ClassCastException    forum.hibernate.org

3. WebSphere DataSource FATAL Errors. ClassCastException.    forum.hibernate.org

Newbie Joined: Wed Mar 17, 2004 3:33 pm Posts: 5 Location: Florida, USA Hi, I am trying to access websphere's datasource using Hibernate. I have been trying all different possibilities to fix this problem. I have fixed quite a bunch of problems during this process but now stuck with ClassCast Exception. (FATAL DatasourceConnectionProvider:47 - Could not find datasource: jdbc/ds1 java.lang.ClassCastException: javax.naming.Reference) ...

4. ClassCastException for datasource in WAS5 using JSQL    forum.hibernate.org

I currently have a J2EE application running on Websphere Application Server 5.0. Up until now it has just used a jdbcUrl with the driver set in the properties files to connect to the database. Now we're setting up a datasource in WAS for the persistance layer to use. I have the JDBC provider and datasource setup in WAS and the connection ...