<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Persistence Issues
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/nsit_yogesh">Yogesh Garg</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/772739#772739">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I have no issues in installing any component. The problem seems to be revovling around persistence.xml. I think jBPM 5.x uses JPA 2.0 and Hibernate 4.x. I went through <a class="jive-link-external-small" href="http://mriet.wordpress.com/2012/04/03/jpa-2-with-drools-and-jbpm/">http://mriet.wordpress.com/2012/04/03/jpa-2-with-drools-and-jbpm/</a> and made requiste changes. I have made following changes:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ol><li>Commented&#160; &lt;mapping-file&gt;META-INF/ProcessInstanceInfo.hbm.xml&lt;/mapping-file&gt;. Now the question is do I need to remove this file from the META-INF folder of project as well.</li><li>changed 1.0 to 2.0 and _1_.0 to _2_.0 to at required places.</li><li>changed JBPMorm.xml to JBPMorm-JPA2.xml.. I have added this file to the META-INF folder of the project as well, let me know if this file needs to be modified as well as I have seen in this thread <a class="jive-link-message-small" href="https://community.jboss.org/message/739318#739318">https://community.jboss.org/message/739318#739318</a></li><li>Changed the transaction manager as well as mentioned.</li></ol><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">Although I am rid of these errors, but new ones have cropped up. Have a look at my persistence.xml and error log</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p><p>&lt;persistence version="2.0"</p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence" target="_blank">http://java.sun.com/xml/ns/persistence</a><span>" </span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:orm="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>" </span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>" </span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence" target="_blank">http://java.sun.com/xml/ns/persistence</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" target="_blank">http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm_2_0.xsd" target="_blank">http://java.sun.com/xml/ns/persistence/orm_2_0.xsd</a><span>"&gt;</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jta-data-source&gt;jdbc/testDS1&lt;/jta-data-source&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;mapping-file&gt;META-INF/JBPMorm-JPA2.xml&lt;/mapping-file&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- This line MUST be commented and NOT active when using JPA 2: </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;mapping-file&gt;META-INF/ProcessInstanceInfo.hbm.xml&lt;/mapping-file&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.drools.persistence.info.SessionInfo&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.persistence.processinstance.ProcessInstanceInfo&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.drools.persistence.info.WorkItemInfo&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;properties&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.max_fetch_depth" value="3"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.hbm2ddl.auto" value="update" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.show_sql" value="false" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- The following line is what's used in Hibernate 4 instead of a TransactionManagerLookup class --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.BitronixJtaPlatform" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.driver_class" value="org.h2.Driver" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.url" value="jdbc:h2:mem:mydb" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.username" value="sa" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.password" value="sasa" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/properties&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&#160;&#160;&#160; &lt;/persistence-unit&gt;</p><p>&#160;&#160;&#160; </p><p>&#160;&#160;&#160;&#160; &lt;persistence-unit name="org.jbpm.task"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;mapping-file&gt;META-INF/Taskorm.xml&lt;/mapping-file&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Attachment&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Content&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.BooleanExpression&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Comment&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Deadline&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Comment&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Deadline&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Delegation&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Escalation&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Group&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.I18NText&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Notification&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.EmailNotification&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.EmailNotificationHeader&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.PeopleAssignments&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Reassignment&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Status&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.Task&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.TaskData&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.SubTasksStrategy&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.OnParentAbortAllSubTasksEndStrategy&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.OnAllSubTasksEndParentEndStrategy&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;org.jbpm.task.User&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;properties&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.driver_class" value="org.h2.jdbcx.JdbcDataSource"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.url" value="jdbc:h2:tcp://localhost/runtime/task" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.username" value="sa"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.password" value=""/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.autocommit" value="false" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.max_fetch_depth" value="3"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.hbm2ddl.auto" value="create" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.show_sql" value="true" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/properties&gt;</p><p>&#160;&#160;&#160; &lt;/persistence-unit&gt;</p><p>&#160;&#160;&#160; </p><p>&lt;/persistence&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Error Log</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>..Exception in thread "main" javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to configure EntityManagerFactory</p><p>&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265)</p><p>&#160;&#160;&#160; at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125)</p><p>&#160;&#160;&#160; at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)</p><p>&#160;&#160;&#160; at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)</p><p>&#160;&#160;&#160; at com.sample.ProcessMain.createKnowledgeSession(ProcessMain.java:154)</p><p>&#160;&#160;&#160; at com.sample.ProcessMain.main(ProcessMain.java:51)</p><p>Caused by: org.hibernate.MappingException: Error while parsing file: META-INF/JBPMorm-JPA2.xml</p><p>&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:937)</p><p>&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)</p><p>&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191)</p><p>&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253)</p><p>&#160;&#160;&#160; ... 5 more</p><p>Caused by: org.hibernate.MappingException: invalid mapping</p><p>&#160;&#160;&#160; at org.hibernate.cfg.AnnotationConfiguration.addInputStream(AnnotationConfiguration.java:777)</p><p>&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:929)</p><p>&#160;&#160;&#160; ... 8 more</p><p>Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.1: Value '2.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 '1.0'.</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:417)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3182)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processOneAttribute(XMLSchemaValidator.java:2802)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(XMLSchemaValidator.java:2714)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2066)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3104)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)</p><p>&#160;&#160;&#160; at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)</p><p>&#160;&#160;&#160; at org.dom4j.io.SAXReader.read(SAXReader.java:465)</p><p>&#160;&#160;&#160; at org.hibernate.cfg.AnnotationConfiguration.addInputStream(AnnotationConfiguration.java:773)</p><p>&#160;&#160;&#160; ... 9 more</p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(5) cvc-complex-type.3.1: Value '2.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 '1.0'.</p><p><span>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(18) cvc-complex-type.2.4.a: Invalid content was found starting with element 'mapping-file'. One of '{"</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>":named-query, "</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>":named-native-query, "</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>":sql-result-set-mapping, "</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>":mapped-superclass, "</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>":entity, "</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>":embeddable}' is expected.</span></p><p><span>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(24) cvc-complex-type.2.4.a: Invalid content was found starting with element 'id'. One of '{"</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>":transient}' is expected.</span></p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(28) cvc-complex-type.3.2.2: Attribute 'access' is not allowed to appear in element 'basic'.</p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(29) cvc-complex-type.3.2.2: Attribute 'access' is not allowed to appear in element 'basic'.</p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(32) cvc-complex-type.3.2.2: Attribute 'access' is not allowed to appear in element 'basic'.</p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(35) cvc-complex-type.3.2.2: Attribute 'access' is not allowed to appear in element 'basic'.</p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(38) cvc-complex-type.3.2.2: Attribute 'access' is not allowed to appear in element 'basic'.</p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(39) cvc-complex-type.3.2.2: Attribute 'access' is not allowed to appear in element 'basic'.</p><p>0&#160;&#160;&#160; 29/10 14:22:12,885[main] ERROR hibernate.util.XMLHelper.error&#160; - Error parsing XML: XML InputStream(42) cvc-complex-type.3.2.2: Attribute 'access' is not allowed to appear in element 'version'.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;"> Regards.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/772739#772739">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>