title: It shows error while generating of entities using jpa
body: <p>This is my <code>EmployeeDetailEntity.java</code> class. in which i have used <code>@OnetoOne</code> annotation to make relationship with other entity named as <code>GenderEntity</code>. the following is my <code>EmployeeDetailEntity</code></p>
  
  <pre><code>@OneToOne
  @JoinColumn(name="GenderEntity",referencedColumnName="id")
  private GenderEntity gen;
  </code></pre>
  
  <p>This is my <code>GenderEntity.java</code> class in which i mapped out relationship with <code>EmployeedetailEntity.java</code> (<code>ReferencedById="id"</code>) where id is primary key.</p>
  
  <pre><code>@OneToOne(mappedBy="gen",cascade=CascadeType.ALL)
  private EmployeeDetailEntity empdtl;
  </code></pre>
  
  <p>While generating Tables from Entities i get error (Generation failed See the console for more information) and my console is as follow:</p>
  
  <pre><code>Exception [EclipseLink-93] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DescriptorException
  Exception Description: The table [GENDERENTITY] is not present in this descriptor.
  Descriptor: RelationalDescriptor(entities.PatientTypeEntity --&gt; [DatabaseTable(PATIENTTYPEENTITY)])
  
  Exception [EclipseLink-93] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DescriptorException
  Exception Description: The table [SHOPPROFILEENTITY] is not present in this descriptor.
  Descriptor: RelationalDescriptor(entities.EmployeeDetailEntity --&gt; [DatabaseTable(EMPLOYEEDETAILENTITY)])
  
  Exception [EclipseLink-41] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DescriptorException
  Exception Description: A non-read-only mapping must be defined for the sequence number field.
  Descriptor: RelationalDescriptor(entities.PatientTypeEntity --&gt; [DatabaseTable(PATIENTTYPEENTITY)])
  
  Exception [EclipseLink-41] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DescriptorException
  Exception Description: A non-read-only mapping must be defined for the sequence number field.
  Descriptor: RelationalDescriptor(entities.EmployeeDetailEntity --&gt; [DatabaseTable(EMPLOYEEDETAILENTITY)])
  </code></pre>
  
  <p>Descriptor Exceptions: </p>
  
  <pre><code>Local Exception Stack: 
  Exception [EclipseLink-93] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DescriptorException
  Exception Description: The table [GENDERENTITY] is not present in this descriptor.
  Descriptor: RelationalDescriptor(entities.PatientTypeEntity --&gt; [DatabaseTable(PATIENTTYPEENTITY)])
  </code></pre>