oracle major version error
I got the below error message when i use JPA with oracle 11g.
javax.persistence.PersistenceException: org.hibernate.HibernateException: unknown Oracle major version [11]
The fix for the error is add
<pre class='brush:xml'>
<property name=”hibernate.dialect” value=”org.hibernate.dialect.Oracle10gDialect”/>
</pre>
in your persistence.xml
Updated:Thanks to Saranga and Ben</br>Before: <pre class='brush:xml'>
</pre>After: <pre class='brush:xml'>
</pre>