Bug 269538 - script changes for configuring oci datasource and running JPA/CustomFeatures model on JBOSS
Summary: script changes for configuring oci datasource and running JPA/CustomFeatures ...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-03-20 11:23 EDT by Yiping Zhao CLA
Modified: 2022-06-09 10:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiping Zhao CLA 2009-03-20 11:23:00 EDT
changes are:

1. jpa\eclipselink.jpa.test\build.xml
   (1). add "OCI_DS_NAME" property 
   (2). remove "is.weblogic.and.oracle" property and add "run.jpa.customfeatures.model" 
   (3). add replace "oci-data-source-name" token for persistence.xml

2. persistence.xml under jpa\eclipselink.jpa.test\resource\eclipselink-customfeatures-model\server
   remove hardcoded "jdbc/EclipseLinkDS_OCI" to be token %%oci-data-source-name%%, the token will be replace by real OCI DataSource Name in jpa\eclipselink.jpa.test\build.xml for dofferent application servers

3. jpa\eclipselink.jpa.test\jboss.xml
   add xdb.jar and xmlparserv2.jar under classpath for start jboss server, because teh jars under jboss-5.0.0.GA\server\default\lib can't be loaded in runtime.

4. CustomFeaturesJUnitTestSuite.java under trunk\foundation\eclipselink.extension.oracle.test\src\org\eclipse\persistence\testing\tests\jpa\customfeatures
   Add finally block to testBatchUpdates(), testNamedStoredProcedureInOutQuery() and testNamedStoredProcedureCursorQuery() to close EntityManager.
Comment 1 Yiping Zhao CLA 2009-03-20 14:41:15 EDT
the changes have been checked in SVN as revision 3733
Comment 2 Yiping Zhao CLA 2009-04-22 14:10:12 EDT
fix for this bug has been checked in 1.1.0 SVN as revision 4019
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:03:22 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink