SQLServer
From Resin 3.0
(Difference between revisions)
(New page: <b>WEB-INF/resin-web.xml</b> <code><pre> <web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/sqlserver</name> <driver type="com.micro...) |
|||
Line 1: | Line 1: | ||
− | |||
<b>WEB-INF/resin-web.xml</b> | <b>WEB-INF/resin-web.xml</b> | ||
Line 8: | Line 7: | ||
<name>jdbc/sqlserver</name> | <name>jdbc/sqlserver</name> | ||
<driver type="com.microsoft.jdbcx.sqlserver.SQLServerDataSource"> | <driver type="com.microsoft.jdbcx.sqlserver.SQLServerDataSource"> | ||
− | < | + | <url>jdbc:sqlserver://localhost:1433;databaseName=Reports> |
− | + | ||
− | + | ||
<user>XXX</user> | <user>XXX</user> | ||
<password>YYY</password> | <password>YYY</password> | ||
− | |||
</driver> | </driver> | ||
− | |||
</database> | </database> | ||
</web-app> | </web-app> | ||
</pre></code> | </pre></code> | ||
+ | |||
+ | [http://msdn.microsoft.com/en-us/library/ms378428.aspx Microsoft Connection URL documentation] |
Latest revision as of 22:11, 15 July 2009
WEB-INF/resin-web.xml
<web-app xmlns="http://caucho.com/ns/resin">
<database>
<name>jdbc/sqlserver</name>
<driver type="com.microsoft.jdbcx.sqlserver.SQLServerDataSource">
<url>jdbc:sqlserver://localhost:1433;databaseName=Reports>
<user>XXX</user>
<password>YYY</password>
</driver>
</database>
</web-app>