[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: no persistent classes found for query class

igor007 do-not-reply at jboss.com
Wed May 6 15:50:26 EDT 2009


<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="bank" transaction-type="RESOURCE_LOCAL">     
  |       <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |      <non-jta-data-source>java:/MSSQLDS</non-jta-data-source>
  |                <properties>
  | 
  |          <!-- alternatively to <class> and <property> declarations, you can use a regular hibernate.cfg.xml file -->
  |        <property name="hibernate.ejb.cfgfile" value="hibernate.cfg.xml"/>
  |     
  |       </properties>
  |    </persistence-unit>
  | </persistence>

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

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



More information about the jboss-user mailing list