title: How to ignore creating tables if existing in Postgresql database with eclipselink?
body: <p>I'm using a Postgresql database with eclipselink2.3 provider in JOnAS (Java environment). My configuration is : </p>
  
  <p>persistence.xml:</p>
  
  <pre><code>...
  &lt;property name="eclipselink.ddl-generation" value="create-tables"/&gt;
  &lt;property name="eclipselink.ddl-generation.output-mode" value="database"/&gt;
  &lt;property name="eclipselink.target-database" value="POSTGRESQL"/&gt;
  ...
  </code></pre>
  
  <p>Postgresql version is </p>
  
  <pre><code>Version : 8.4.11-0squeeze1
  </code></pre>
  
  <p>JDBC driver version is </p>
  
  <pre><code>postgresql-8.4-703.jdbc3.jar
  </code></pre>
  
  <p>When database is empty, there is no problem.</p>
  
  <p>My problem is when eclipselink.ddl-generation is set to create-tables and tables are already existing in data base, an error is occured and process doesn't not continue with the next statement as explained <a href="http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#eclipselink.ddl-generation" rel="nofollow">here</a>.</p>
  
  <p>Does anyone see a solution for that?</p>