title: eclipselink does not generate tables from annotated JPA classes
body: <p>My IDE is eclipse -Helios and I am using mojarra jsf, mysql, eclipselink for jpa.</p>
  
  <p>In my project, if I create the tables manually in mysql, I can see those tables in the "JPA Details" view. And if I don't create any table, the eclipse IDE shows an error, "Table "trainingsession" cannot be resolved".</p>
  
  <p>I am not sure what's wrong. When would JPA create these tables ? and how ?
  my persistence.xml is as follows,</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"&gt;
    &lt;persistence-unit name="wompower2" transaction-type="RESOURCE_LOCAL"&gt;
      &lt;provider&gt;org.eclipse.persistence.jpa.PersistenceProvider&lt;/provider&gt;
      &lt;jta-data-source&gt;trainer&lt;/jta-data-source&gt;
      &lt;class&gt;com.jsfcompref.trainer.entity.User&lt;/class&gt;
      &lt;class&gt;com.jsfcompref.trainer.entity.TrainingSession&lt;/class&gt;
      &lt;class&gt;com.jsfcompref.trainer.entity.Event&lt;/class&gt;
      &lt;class&gt;com.jsfcompref.trainer.entity.AbstractEntity&lt;/class&gt;
      &lt;validation-mode&gt;NONE&lt;/validation-mode&gt;
      &lt;properties&gt;
        &lt;property name="eclipselink.target-database" value="MySQL"/&gt;
        &lt;property name="eclipselink.ddl-generation" value="create-tables"/&gt;
        &lt;property name="eclipselink.ddl-generation.output-mode" value="both"/&gt;
        &lt;property name="eclipselink.application-location" value="C:\wompower2\DDL"/&gt;
        &lt;property name="eclipselink.create-ddl-jdbc-file-name" value="create.sql"/&gt;
        &lt;property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/demo"&gt;&lt;/property&gt;
        &lt;property name="javax.persistence.jdbc.user" value="user"&gt;&lt;/property&gt;
        &lt;property name="javax.persistence.jdbc.password" value="pwd"&gt;&lt;/property&gt;
        &lt;property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"&gt;&lt;/property&gt;
      &lt;/properties&gt;
    &lt;/persistence-unit&gt;
  &lt;/persistence&gt;
  </code></pre>
  
  <p>Thank you,
  Arindam.</p>