Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Proposed patch for bug 265512 --- Need to add test model in JPA to test Oracle Custom Features

Sorry, here is the attachment.

Yiping Zhao wrote:
A patch for the bug is available for review.
Change Summary:
- add customfeatures test model under trunk\foundation\, this model tests oracle specific features like NChar, XMLType, Store Procedure ref Cursor and Native Batch Writing in JPA, the model can run inside & outside container, for inside container, it only runs against WebLogic.

detailed changes:
  • modify jpa/eclipselink.jpa.test/weblogic.xml :
    • add oci datasource config
    • copy xdb.jar to domain/lib
  • modify jpa/eclipselink.jpa.test/
    • add "eclipselink.customfeatures.model", "", "oracle.xdb.lib" and "oracle.xmlparserv2.lib" properties
  • modify jpa/eclipselink.jpa.test/build.xml
    • add "isWebLogic" and "" condition properties
    • add xdb..jar, xmlparserv2.jar, customfeatures model jar to classpath when running the model outside container
    • add "DB_URL" parameter for "run-test" target, because only this model needs to run against oci driver
  • add jpa/eclipselink.jpa.test/resource/eclipselink-customfeatures-model/server/persistence.xml
  • modify foundation/,
    • "package" target, "clean" target for build and cleaning customfeatures model
  • add foundation/
  • add trunk/foundation/ for invoke the model running outside container
  • add test model to trunk/foundation/
  • add tests to trunk/foundation/

_______________________________________________ eclipselink-dev mailing list eclipselink-dev@xxxxxxxxxxx

Back to the top