Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » (no subject)
(no subject) [message #718242] Tue, 23 August 2011 13:09
Andy is currently offline Andy
Messages: 12
Registered: July 2009
Junior Member
Hi all,

I have a very simple web application using eclipselink to generate and populate one table. It's populated with a @PostConstruct method. All works fine while I have the one property defined in my persistence.xml:

<property name="eclipselink.ddl-generation" value="drop-and-create-tables" />

The moment I add the following properties, the table is not created let alone populated:

<property name="eclipselink.ddl-generation.output-mode" value="both" />
<property name="eclipselink.application-location" value="/home/andy/scripts/musson-generated" />
<property name="eclipselink.create-ddl-jdbc-file-name" value="create.sql" />
<property name="eclipselink.drop-ddl-jdbc-file-name" value="drop.sql" />

It appears to fail at the @PostConstruct method saying the table does not exist. However, the create and drop DDL scripts are created just fine.

Any ideas on the subject? It's taken me ages to realise that this was the problem.

Previous Topic:(no subject)
Next Topic:Do I really need 24 message queues, message receiver classes, message sender classes?
Goto Forum:

Current Time: Fri Aug 29 08:22:19 EDT 2014

Powered by FUDForum. Page generated in 0.01536 seconds