title: sequence does not exist exception using eclipseLink with oracle db
body: <p>I've got the following JPA entity:</p>
  
  <pre><code>@Entity
  @Table(schema = "myschema")
  @SequenceGenerator(schema = "myschema", name = "seqGenerator", 
                     sequenceName  = "person_s1", allocationSize = 1)
  public class Person {
  
  @Id
  @GeneratedValue(generator = "seqGenerator", strategy = GenerationType.AUTO)
  private long id;
  </code></pre>
  
  <p>the following exceptions are thrown:</p>
  
  <pre><code>Call: DROP SEQUENCE myschema.person_s1
  Query: DataModifyQuery(sql="DROP SEQUENCE myschema.person_s1")
  [EL Warning]: 2010-11-01 17:21:51.051--ServerSession(10605044)--Exception [EclipseLink-    4002] (Eclipse Persistence Services - 2.1.1.v20100817-r8050): 
  org.eclipse.persistence.exceptions.DatabaseException
  Internal Exception: java.sql.SQLException: ORA-02289: sequence does not exist
  
  Error Code: 2289
  Call: SELECT myschema.person_s1.NEXTVAL FROM DUAL
  Query: ValueReadQuery(sql="SELECT myschema.person_s1.NEXTVAL FROM DUAL")
  </code></pre>
  
  <p>The sequence is genrated by EclipseLink and the query:</p>
  
  <pre><code>SELECT myschema.person_s1.NEXTVAL FROM DUAL
  </code></pre>
  
  <p>works fine when used directly...</p>
  
  <p>Any help appreciated</p>
  
  <p>Regards Marcel</p>