users@glassfish.java.net

Re: TOPLINK-4002 SqlException: Table 'SEQUENCE' does not exist

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Apr 2007 06:00:48 PDT

Hi,

  The first thing to do to start diagnosing this problem is to turn on some logging.

  In your persistence.xml, add the following to the properties element:

<property name="toplink.logging.level" value="FINEST"/>

  When you have done that, take a look at your logs. There should be some information that shows how TopLink Essentials is logging into the database. It should include a URL and a username. Check to make sure those correspond to what you expect.

  If that does not help, is it possible to post a persistence.xml that reproduces the problem and the snippet of code the leads up to your exception.
[Message sent by forum member 'tware' (tware)]

http://forums.java.net/jive/thread.jspa?messageID=213941