Hibernate version: 3.1.3
Mapping documents: annotated
Name and version of the database you are using: PostgreSQL 8.1
I'm using EJB3 with the following META-INF/persistence.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<persistence>
<persistence-unit name="caspedDatabase" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:CaspedDS</jta-data-source>
<jar-file/>
<properties>
<property name="jboss.entity.manager.factory.jndi.name"
value="java:caspedDatabase"
/>
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
<property name="hibernate.connection.isolation" value="8" />
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.JBossTransactionManagerLookup"
/>
<property name="hibernate.default_schema" value="public"/>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="false"/>
</properties>
</persistence-unit>
</persistence>
I'm defining the dialect as org.hibernate.dialect.PostgreSQLDialect, but nonetheless I get the following message during configuration:
Quote:
INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
How does it came?
Regards,
giampaolo