-
1. Re: oracle.jdbc.OracleDriver not found
abhishekkoneru6790 Jan 13, 2015 11:50 AM (in response to gopibalagala)use the below command to install the ojdbc jar
osgi:install -s wrap:mvn:ojdbc/ojdbc/{version}
Make sure the jar is available in the repository
-
2. Re: oracle.jdbc.OracleDriver not found
gopibalagala Jan 14, 2015 5:21 AM (in response to abhishekkoneru6790)Thank you Abhishek,
This issue got resolved. But I am getting some other issue while Hibernate persist.
If I am adding Hibernate Jars, Its getting osgi missing required elements javax.persistence; version>2.1.0 <3.0.0,
If I have removed Hibernate Jar, Application got deployed success but while persist that time getting error: hibernate classes error.
Please help this issue.
Thanks,
Gopi.
-
3. Re: oracle.jdbc.OracleDriver not found
abhishekkoneru6790 Jan 14, 2015 10:20 AM (in response to gopibalagala)This is more likely a versions issue, if you all all the dependencies
Try using more jboss compatible dependencies
-
4. Re: oracle.jdbc.OracleDriver not found
gopibalagala Jan 18, 2015 1:23 AM (in response to abhishekkoneru6790)I have deployed successfully using hibernate persist with Oracle database.
While persist its getting this issue:
Caused by: javax.persistence.PersistenceException: Explicit persistence provider error(s) occurred for "rolDb" after trying the following discovered implementations: org.hibernate.osgi.OsgiPersistenceProvider, org.apache.openjpa.persistence.PersistenceProviderImpl from provider: org.hibernate.osgi.OsgiPersistenceProvider
Caused by: java.lang.UnsupportedOperationException
Thanks,
Gopi.