readthefuckingmanual.net

[SOLVED] javax.persistence.PersistenceException: [PersistenceUnit:foo] Unable to build EntityManagerFactory

Error added: 2008-09-18T11:53:51Z

2 people waiting for the answer...

5 answers found.

Answer 1655 (76.92307% helpful)

In your persistence unit add:
properties &lt property  &lt  name="hibernate.dialect" value="org.hibernate.dialect.Oracle9Dialect  &gt  &lt properties  &gt 
Permalink

Answer 781 (54.545456% helpful)

i meet a same error....
Permalink

Answer 1696 (25.0% helpful)

wqe
Permalink

Answer 1654 (0.0% helpful)

In your persistence unit add:
<properties><property name="hibernate.dialect" value="org.hibernate.dialect.Oracle9Dialect"/></properties>
Permalink

Answer 946 (0.0% helpful)

I have found the issue. In my case, I was trying to connect to Oracle 11g via hiberbate and JPA. Hibernate was not understanding the 11. Changed to 10g and solved the issue.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: