You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some minor JPA test issue discovered with tests in WLS environment.
public static Test suite() { ensure, that tables like EMPLOYEE_SEQ are created before test. As these tables are created by another tests too error
Internal Exception: java.sql.SQLSyntaxErrorException: 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 => [2 parameters bound] Query: DataModifyQuery(name="EMPLOYEE_SEQ" sql="UPDATE CMP3_EMPLOYEE_SEQ SET SEQ_COUNT = SEQ_COUNT + ? WHERE SEQ_NAME = ?")
should happen only if this test is executed first in the suite.
Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
Copy file name to clipboardExpand all lines: jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/advanced/EntityManagerJUnitTestSuite.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 1998, 2021 Oracle and/or its affiliates. All rights reserved.
2
+
* Copyright (c) 1998, 2023 Oracle and/or its affiliates. All rights reserved.
3
3
* Copyright (c) 1998, 2019 IBM Corporation. All rights reserved.
4
4
*
5
5
* This program and the accompanying materials are made available under the
@@ -240,12 +240,11 @@ public EntityManagerJUnitTestSuite(String name) {
0 commit comments