users@glassfish.java.net

Re: Suppressing org.eclipse.persistence.exceptions.DatabaseExcep

From: <forums_at_java.net>
Date: Mon, 9 May 2011 18:57:21 -0500 (CDT)

Didn't help! Here's my persistense.xml:

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence [1]"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [2]"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence [3]
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd [4]">
    <persistence-unit name="WebApplication1PU" transaction-type="JTA">
        <jta-data-source>jdbc/mysqldb</jta-data-source>
        <exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties> <property name="eclipselink.logging.exceptions" value="true"/>
</properties> </persistence-unit> </persistence>
I tried to set false as well, results are the same. I'm using Open Source
Edition 3.1 (build 43).


[1] http://java.sun.com/xml/ns/persistence
[2] http://www.w3.org/2001/XMLSchema-instance
[3] http://java.sun.com/xml/ns/persistence
[4] http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd

--
[Message sent by forum member 'ytx']
View Post: http://forums.java.net/node/800008