<!-- Tested with MS-SQL 7.0 -->
<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor JDO Configuration DTD Version 1.0//EN"
                           "http://castor.exolab.org/jdo-conf.dtd">
<database name="garant" engine="generic" >
  <driver class-name="com.inet.tds.TdsDriver"
      url="jdbc:inetdae7://127.0.0.1:1433?database=test">
    <param name="user" value="sa" />
    <param name="password" value="xxxxx" />
  </driver>
  <mapping href="mapping.xml" />
</database>
 
-OR-
 
<!--
<database name="garant" engine="generic" >
  <data-source class-name="com.inet.tds.TdsDataSource">
    <params user="sa" password="xxxxx"
            port-number="1433" server-name="localhost" database="test" />
  </data-source>
  <mapping href="mapping.xml" />
</database>
-->
----- Original Message -----
Sent: Wednesday, October 17, 2001 1:11 AM
Subject: [castor-dev] MS SQL Server 2000

I'm trying to configure my JDO database configuration file for use with MS SQL Server. I'm using the DTD shown at the end of this page (http://castor.exolab.org/database-conf.html), but I still can't get it to work. Does anyone have a sample database.xml file for SQL Server?

 

Thanks!

 

Reply via email to