Re: Problem to retrieve SQL Server tables

[email protected]
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <OFE7AB2FEC.F0CDC84F-ONC1256DCD.004B311C-C1256DCD.004E3EA2@net2s.com>
Voilà, this is the correct xml database configuration file (just set the
correct value on
"database.catalog" property) :

<property name="database.driver.file"           value="
${lib.dir}/mssqlserver.jar"/>
<property name="database.driver.classpath" value="${database.driver.file};
${lib.dir}/msbase.jar;${lib.dir}/msutil.jar"/>
<property name="database.driver" value
="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
<property name="database.url"    value
="jdbc:microsoft:sqlserver://hostname:1433;databaseName=myDatabase"/>
<property name="database.userid"                value="myuser"/>
<property name="database.password"              value="secret"/>
<property name="database.schema"                value="dbo"/>
<property name="database.catalog"               value="myDatabase"/>






-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.