[jboss-user] [jBPM] - Re: Errors in Task Queries

Kiran A do-not-reply at jboss.com
Thu Oct 13 14:59:28 EDT 2011


Kiran A [http://community.jboss.org/people/tropigeek] created the discussion

"Re: Errors in Task Queries"

To view the discussion, visit: http://community.jboss.org/message/631668#631668

--------------------------------------------------------------
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 http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence/orm 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
[http://community.jboss.org/message/631668#631668]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111013/b853ac5e/attachment.html 


More information about the jboss-user mailing list