Hi everyone, I want to use a postgres db with the RF JPA. I dont know if I´m on the right way, but I thought i just have to edit the persistence.xml?
Thats what my persistence.xml look like: <?xml version="1.0" encoding="UTF-8" ?> <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="transactions-optional" transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <properties> <property name="jdbc.driver" value="org.postgresql.Driver" /> <property name="jdbc.url" value="jdbc:postgresql://localhost:5432/dev_mash" /> <property name="jdbc.user" value="postgres" /> <property name="jdbc.password" value="q1" /> <property name="show_sql">true</property> <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property> <property name="connection.pool_size" value="10" /> <property name="current_session_context_class" value="thread" /> </properties> </persistence-unit> </persistence> I just started to work on that, so any help is much appreciated. If you need any further information, please let me know. Thanks in advanced. Regards -- 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/-/KENPJbONctkJ. 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.
