Hey,

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.
Regards

Heres the persistence.xml:

<persistence-unit name="kunde" transaction-type="RESOURCE_LOCAL">
        <class>de.mash.project.server.Worker</class>
<!--         <jta-data-source>PostgresDS</jta-data-source>       -->
        <properties>
            <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="hibernate.hbm2ddl.auto" value="create" />
            <property name="hibernate.hbm2ddl.auto" value="create-drop" />
        </properties>
    </persistence-unit>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/KpZyLqsz1wIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to