JBoss Community

Re: Errors in Task Queries

created by Kiran A in jBPM - View the full discussion

Indeed ! I had an older orm.xml !  I had to make another another change for JPA 2.0

 

<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd" version="2.0">

 

Else there was an error on console:


ErrorLogger.error(57) | Error parsing XML (3) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.

 

Thanks !

Reply to this message by going to Community

Start a new discussion in jBPM at Community