persistence@glassfish.java.net

Re: 6 failures in the unit tests?

From: Tom Ware <tom.ware_at_oracle.com>
Date: Wed, 18 Oct 2006 14:22:54 -0400

Marina,

  I am not seeing these errors.

  The fix was to enable DDL generation for the main persistence unit
used by the tests. This should create the table, so I am a bit
surprised it is breaking since DDL generation happens right at deploy time.

-Tom

Marina Vatkina wrote:

>Team,
>
>We are again at the same problem (am I the only one suffering from them?):
>a table is not created on the 1st run (subsequent run produces 0 errors).
>
>Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist.
>Error Code: 942
>Call:UPDATE CMP3_EMPLOYEE_SEQ SET SEQ_COUNT = SEQ_COUNT + ? WHERE SEQ_NAME = ?
> bind => [50, EMPLOYEE_SEQ]
>
>Tom, which steps are missing for those problems? Let's put a warning into the
>readme.
>
>thanks,
>-marina
>
>