You are here

Web Service

Hibernate Exception: org.hibernate.HibernateException: unknown Oracle major version [0]

Blog Terms: 

I transferred one project with Hibernate 3 to Hibernate 3.2, when i run it i got such Exception:

Caused by: org.hibernate.HibernateException: unknown Oracle major version [0]
........

Solution:
I was using the old Oracle classes12.jar driver lib, this could to be an issue for Hibernate 3.2 where OracleDriver.getMajorVersion returns 0, this in turn confuses hibernate.
Upgrade classes12.jar to ojdbc14.jar fixed the problem.

Refer:
https://forum.hibernate.org/viewtopic.php?p=2373597

Integrate J2ME Mobile Clients into Web Service 2 -- Create Web Service and J2EE Client

Blog Terms: 


2 Create Web Service


2.1 Create Web Service Project

Enter the %AXIS2_HOME%/samples (Here is D:\ProgramFiles\axis2\samples) , there are many Web Service good example here. If you are not clear about how to create one Web Service from nothing, just like me, those examples are good turorials. Now I will use one and modify it to be our first Web Service.

Integrate J2ME Mobile Clients into Web Service 1 -- Install Web Service

Blog Terms: 

In this post I will build one Web Service with Axis2, and write one J2ME application as one Web Service client. We will know how Web Service works with mobile client.

Subscribe to RSS - Web Service