[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:47:57 EDT 2009


hibernate.cfg.xml


  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE hibernate-configuration PUBLIC
  | "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  | "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  | 
  | <hibernate-configuration>
  | <session-factory name="SessionFactoryName">
  |     <property name="show_sql">true</property>
  |   
  |     <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property> 
  |     <property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
  |     <property name="hibernate.connection.datasource">java:/MSSQLDS</property>
  |     <property name="hibernate.connection.url">jdbc:sqlserver://localhost\SQLEXPRESS3:1433;DatabaseName=bank</property>
  |     <property name="hibernate.connection.username">sa</property>
  |     <property name="hibernate.connection.password">12345678</property>
  |     
  | </session-factory>
  | </hibernate-configuration>

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

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



More information about the jboss-user mailing list