[jboss-user] [EJB 3.0] - Re: Hibernate Dialect must be explicitly set

asookazian do-not-reply at jboss.com
Mon Sep 24 20:00:12 EDT 2007


I changed the persistence-dev.xml to the following and it fixed all issues.  I don't know why seam-gen creates a version with more parameters/properties that confuses JBoss...

<?xml version="1.0" encoding="UTF-8"?>
  | <!-- Persistence deployment descriptor for dev profile -->
  | <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="shimsPUN">
  |       <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |       <jta-data-source>java:/SHIMSDatasource</jta-data-source>
  |    </persistence-unit>
  |     
  | </persistence>

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

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



More information about the jboss-user mailing list