Wednesday, September 26, 2012

Re: How to use Request Factory with JPA Hibernate and PostgreSQL ?


I use the following persistence.xml now. I dont get a exception anymore but I still dont get any records saved into my database either.

I also should see some SQL statements in my console if he would commit any SQL, right? I dont see any SQL :(

If I change databasename or password to any wrong value, I dont get any error/exception. Everything still "works".

Has anyone an idea? Any help is much appreciated.

Heres the persistence.xml:

<persistence-unit name="kunde" transaction-type="RESOURCE_LOCAL">
<!--         <jta-data-source>PostgresDS</jta-data-source>       -->
            <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
            <property name="hibernate.show_sql" value="true" />
            <property name="hibernate.connection.driver_class" value="org.postgresql.Driver" />
            <property name="hibernate.connection.url" value="jdbc:postgresql://localhost:5432/dev_mash" />
            <property name="hibernate.connection.username" value="postgres" />
            <property name="hibernate.connection.password" value="m4nu3l" />
            <property name="hibernate.default_schema" value="public" />
            <property name="" value="create" />
            <property name="" value="create-drop" />

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment