I treid the following:
1. Microsoft SQL Server 2000 Driver for JDBC
2. Add the following line to the file <jdev_install>/jdev/bin/jdev.conf
AddJavaLibPath C:/Program Files/Microsoft SQL Server 2000 Driver for JDBC/lib
3. Create a new library in jdev called "Other JDBC"
4. Create a new SQLServer connection - I also tested the connection and it works fine and connected to the DB.
Based on some other threads I saw, I changed the file:
D:\Jdev9i\jdev\system9.0.3.1035\oc4j-config\data-sources.xml
THe problem is that when I tried to right click on the EJB and debug it, I got a message:
Error initializing data-source 'jdbc/SQLServerCoreDS': DriverManagerDataSource driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver' not found
Below is the data-source.xml I am using:
<data-sources>
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"
password="tiger"
url="jdbc

racle:thin

localhost:5521

racle"
inactivity-timeout="30"
/>
<data-source
class="com.evermind.sql.DriverManagerDataSource"
connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
ejb-location="jdbc/SQLServerDS"
inactivity-timeout="30"
location="jdbc/SQLServerCoreDS"
name="jdev-connection:SQLServer"
pooled-location="jdbc/SQLServerPooledDS"
url="jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor"
username="sa"
xa-location="jdbc/xa/SQLServerXADS"/>
</data-sources>