|
|
Re: Database creation not working in eclipselink with glassfish 4 and postgress [message #1701167 is a reply to message #1701151] |
Thu, 09 July 2015 15:23 |
Bram Bourgoignie Messages: 2 Registered: July 2015 |
Junior Member |
|
|
By setting this I get the same error message, but in a slightly different form.
This is the persistence.xml:
The http are connected in my file. I just can't post links...
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="h ttp://java.sun.com/xml/ns/persistence" xmlns:xsi="h ttp://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h ttp://java.sun.com/xml/ns/persistence h ttp://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="AntennasOperatingSystemServerPU" transaction-type="RESOURCE_LOCAL">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<non-jta-data-source>MyDatabase</non-jta-data-source>
<class>... bunch of classes ... </class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level" value="ALL"/>
<property name="eclipselink.logging.logger" value="org.eclipse.persistence.logging.DefaultSessionLog"/>
<property name="eclipselink.deploy-on-startup" value="true"/>
<property name="eclipselink.ddl-generation.output-mode" value="database"/>
<property name="eclipselink.logging.level.sql" value="FINEST"/>
<property name="eclipselink.ddl-generation" value="create-tables"/>
<property name="eclipselink.target-database" value="PostgreSQL" />
</properties>
</persistence-unit>
</persistence>
[Updated on: Thu, 09 July 2015 15:24] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03436 seconds