Bug 291668 - Add JPA on JBoss against SQL Server and DB2 testing support
Summary: Add JPA on JBoss against SQL Server and DB2 testing support
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: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-10-07 15:21 EDT by Kevin Yuan CLA
Modified: 2022-06-09 10:33 EDT (History)
0 users

See Also:


Attachments
patch for the bug (1.91 KB, application/octet-stream)
2009-10-07 15:47 EDT, Kevin Yuan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2009-10-07 15:21:00 EDT
Currently for JPA on JBoss testing only support Oracle/MySql/Sybase, need to add SQL Server and DB2 support.
Comment 1 Kevin Yuan CLA 2009-10-07 15:47:54 EDT
Created attachment 149043 [details]
patch for the bug

Add mssql-ds.xml and db2-ds.xml under ./trunk/jpa/eclipselink.jpa.test/resource/jboss directory, and add the following detect db.name in jboss.xml:
    <condition property="db.name" value="mssql">
        <contains string="${db.driver}" substring="sqlserver"/>
    </condition>

    <condition property="db.name" value="db2">
        <contains string="${db.driver}" substring="db2"/>
    </condition>
Code reviewed by Yiping Zhao.
Comment 2 Kevin Yuan CLA 2009-10-07 15:55:43 EDT
Checked into both EclipseLink 2.0 (revision: 5481) and 1.2.0 (revision: 5482). Verified by running JPA testing on JBoss-5.1.0.GA against SQL Server 2008 and DB2 9.5.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:33:35 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink