[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss5 CR1 and org.jboss.xb.binding.JBossXBException

jimmycallaghan do-not-reply at jboss.com
Wed Jul 2 06:40:24 EDT 2008


It's true that my persistence.xml doesn't include the xsd definition:

<persistence>
  |     <persistence-unit name="mpee_client_soap">
  |         <jta-data-source>java:mpee_DS</jta-data-source>
  |         <class>com.telrock.platform.vo.PropertiesVO</class>
  |         <properties>
  |             <property name="hibernate.show_sql" value="false"/>
  |         </properties>
  |     </persistence-unit>
  | </persistence>

But I changed it to:

<persistence
  |     xmlns="http://java.sun.com/xml/ns/persistence"
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
  |     version="1.0"> 
  | 
  |     <persistence-unit name="mpee_client_soap">
  |         <jta-data-source>java:mpee_DS</jta-data-source>
  |         <class>com.telrock.platform.vo.PropertiesVO</class>
  |         <properties>
  |             <property name="hibernate.show_sql" value="false"/>
  |         </properties>
  |     </persistence-unit>
  | </persistence>

and get the same problem.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162002#4162002

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162002



More information about the jboss-user mailing list