Checked in: JPQL updates for COALESCE, NULLIF, and INDEX

View: New views
9 Messages — Rating Filter:   Alert me  

Checked in: JPQL updates for COALESCE, NULLIF, and INDEX

by tware :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Checked in JPQL updates

Changes attached here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=249224

Reviewed by Chris Delahunt

Checked in now to be available for milestone build

A minor update is still required for validation of coalesce and the
documentation at the site below will be updated

http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/jpql
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Checked in: Fix test case issue in JPA LOB test suite in order to work inside Container

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Modify test case to add beginTransaction(em) within
"org.eclipse.persistence.testing.tests.jpa.lob.LobJUnitTestCase.testRead"
in order to get fetched object out of transaction inside Container, also
add "closeEntityManager(em);" for each test.
This test passed on both inside and outside Container now.

Reviewed by Yiping Zhao

Checked in EclipseLink main (2.0), Revision: 4568

- Kevin
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Checked in: Fix test case issue in JPA test on server

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Modify test case to remove an wrapping exceptions such as rollback,
runtime, etc. to get nested exception in Server, here should be
OptimisticLocakException.
These tests passed on both inside and outside Container now.

Reviewed by Edwin Tang

Checked in both 2.0 and 1.1 branch, Revision (2.0): 4636

https://bugs.eclipse.org/bugs/show_bug.cgi?id=264582
https://bugs.eclipse.org/bugs/show_bug.cgi?id=264589

- Kevin
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Checked in: Fix test case issue in JPA test on server

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Modify test case to pass on application servers - WLS, WAS, Glassfish,
JBoss, and OC4J.
These tests passed on both inside and outside Container now.

Reviewed by James Sutherland.

Checked in EclipseLink 2.0 , Revision (2.0): 4746

https://bugs.eclipse.org/bugs/show_bug.cgi?id=262251
https://bugs.eclipse.org/bugs/show_bug.cgi?id=264577

- Kevin

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Checked in: Fix bug 286847

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Several JPA server test suites have the same name - ServerTestSuite, the result report always link to the first suite when try to check the test results.
Add a prefix for ServerTestSuite to generate readable test results report.

Code Reviewed by Edwin Tang.

Checked in EclipseLink 2.0 , Revision: 4880

https://bugs.eclipse.org/bugs/show_bug.cgi?id=286847

- Kevin


_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Checked in: Fix bug 287113

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just change "foreignKeyMACHINESTATE_THREADINFO_THREADINFO" to
"foreignKeyM_THREADINFO_THREADINFO" in CascadeDeleteTableCreator.java,
and add this suite into server-test-lrg.

Code reviewed by Yiping Zhao.
Revision: 4913

https://bugs.eclipse.org/bugs/show_bug.cgi?id=287113

- Kevin


>

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Re: Checked in: Fix bug 269887

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Based on the document for @PersistenceContext reference here
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html#PersistenceContext 
.

Should be using unitName attribute and not the name attribute in
org.eclipse.persistence.testing.models.jpa.sessionbean.EmployeeServiceBean.java,
in this case. So the bean should be changed to:
    @PersistenceContext(unitName="sessionbean")

By the way, the PU name should be sessionbean, not fieldaccess.

Tested on WebLogic 10.3.1 and JBoss-5.0.1.GA
Code reviewed by Yiping Zhao.
Checked in EclipseLink 2.0   (revision: 4994)
                                    1.2   (revision: 4996)
                                   1.1.3 (revision: 4995)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=269887
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Checked in: Fix bug 288974

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Add JPA Testing on WLS to support different domain type - e.g. admin server,
managed server, cluster, etc. Also add Huyen's updates for JPA testing on WebLogic,
and it's easy to setup for user.

Tested on WebLogic 10.3.1 and  SUN jdk 1.6.0_14

Code reviewed by Edwin Tang.

Checked in EclipseLink 2.0   (revision: 5089)
                                   1.2    (revision: 5090)
                                  1.1.3  (revision: 5091)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=288974
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

Checked in: Fix bug 289787

by Kevin Yuan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Change "server-url" to "server.url" in SessionBeanTests.java, which will pass
the real server url to test case from server properties file, otherwise, it always use default server url.

Run these testing on WLS and JBoss, all passed.
Code reviewed by Yiping Zhao.

Checked in EclipseLink 2.0  (revision: 5168)
                               
                                 1.1.3  (revision: 5169)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=289787


>
>

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev