Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Prevent errors in log when using drop-and-create-tables for eclipselink.ddl-generation
Prevent errors in log when using drop-and-create-tables for eclipselink.ddl-generation [message #533730] Sun, 16 May 2010 10:55 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
For my testruns I use the drop-and-create-tables setting. When there are no tables yet the drop statements result in
errors in the log (this is not a problem for the testcase). Is there a way to drop the tables silently?

Can I also explicitly drop the tables, through an EclipseLink specific api?

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: Prevent errors in log when using drop-and-create-tables for eclipselink.ddl-generation [message #533978 is a reply to message #533730] Mon, 17 May 2010 15:23 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

The drop errors are just warnings, and will not affect the table creation. You can disable logging to avoid seeing the errors.

You can drop and create tables manually using the EclipseLink SchemaManager and TableCreator APIs.


James : Wiki : Book : Blog : Twitter
Previous Topic:First Level Cache in EntityManager
Next Topic:When I set FirstResult and MaxResult how I can get the total ( count() )
Goto Forum:
  


Current Time: Thu Apr 25 05:25:51 GMT 2024

Powered by FUDForum. Page generated in 3.41922 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top