This is mainly because of the namespace in persistence.xml <persistence> 
tag, Please change "http://xmlns.jcp.org/xml/ns/persistence"; to  
"http://java.sun.com/xml/ns/persistence"; and It should work.

Thanks
Aki



On Wednesday, July 23, 2014 at 1:59:30 PM UTC+5, Tiziano Fortin wrote:
>
> Hi Luca,
>
> in my scenario I use OrientDB and MySql together.
>
> when I register a new user, I have a validation with Spring with the 
> @valid annotation (users are stored in MySql)
>
> but since I built my application with OrientDB, validation fails with this 
> message:
>
> lug 22, 2014 5:22:59 PM com.orientechnologies.orient.object.jpa.
> OJPAPersistenceProvider <init>
>
> Informazioni: Can't parse 'META-INF/persistence.xml' :Something goes 
> wrong while parsing persistence.xml
>
> I suspect is some kind of conflict with Hibernate (I use Hibernate with 
> users in mysql database). Any idea for fix this? my suspicions are 
> well-founded?
> thanks
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to