[Seasar-user:4853] Re: DBFlute-0.1.06 リリース
Masanobu Shimura
[E-MAIL ADDRESS DELETED]
2006年 10月 22日 (日) 17:29:49 JST
久保さん
早速のAction ありがとう御座いました。
1.com.microsoft.sqlserver.jdbc.SQLServerDriverは、最新の下記をDownload
したものです。
http://www.microsoft.com/downloads/details.aspx?familyid=E22BC83B-32FF-4474-A44A-22B6AE2C4E17&displaylang=ja
ファイル名 : SQL_Server_2005_JDBC_Driver_EULA_Jpn.htm
バージョン : 920701
公開された日付 : 2006/05/23
これに、同梱されている Documentによると、下記の様に書かれています。
Microsoft SQL Server 2005 JDBC Driver を表します。このクラスには、SQL Server
データベースに接続し、JDBC ドライバに関する情報を取得するためのメソッドが含まれます。
Package: com.microsoft.sqlserver.jdbc
継承: java.lang.Object
実装: java.sql.Driver
2.com.microsoft.jdbc.sqlserver.SQLServerDriverに変更したところ、下記ERRORとなりました。
[torque-jdbc-transform] 2006-10-22 17:23:31,720 [main] INFO
(TorqueJDBCTransformTask#execute():221) -
------------------------------------------------------- [Torque -
JDBCToXMLSchema] Start!
[torque-jdbc-transform] 2006-10-22 17:23:31,720 [main] INFO
(TorqueJDBCTransformTask#execute():222) - Your DB settings are:
[torque-jdbc-transform] 2006-10-22 17:23:31,720 [main] INFO
(TorqueJDBCTransformTask#execute():223) - driver :
com.microsoft.jdbc.sqlserver.SQLServerDriver
[torque-jdbc-transform] 2006-10-22 17:23:31,720 [main] INFO
(TorqueJDBCTransformTask#execute():224) - URL :
jdbc:sqlserver://localhost\SQLEXPRESS;database=MARIE
[torque-jdbc-transform] 2006-10-22 17:23:31,720 [main] INFO
(TorqueJDBCTransformTask#execute():225) - user : sa
[torque-jdbc-transform] 2006-10-22 17:23:31,720 [main] INFO
(TorqueJDBCTransformTask#execute():226) - schema : dbo
[torque-jdbc-transform] 2006-10-22 17:23:31,767 [main] INFO
(TorqueJDBCTransformTask#generateXML():264) - ...Instantiate DB-driver
[torque-jdbc-transform] 2006-10-22 17:23:31,782 [main] INFO
(TorqueJDBCTransformTask#generateXML():267) - ...Getting DB-connection
[torque-jdbc-transform] 2006-10-22 17:23:31,907 [main] ERROR
(TorqueJDBCTransformTask#execute():252) - JDBCToXMLSchema failed:
[torque-jdbc-transform] java.sql.SQLException: [Microsoft][SQLServer 2000
Driver for JDBC]????????????????????
[torque-jdbc-transform] at
com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
[torque-jdbc-transform] at
com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
[torque-jdbc-transform] at
com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
[torque-jdbc-transform] at
com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown
Source)
[torque-jdbc-transform] at
com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
[torque-jdbc-transform] at
com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
[torque-jdbc-transform] at com.microsoft.jdbc.base.BaseConnection.open(Unknown
Source)
[torque-jdbc-transform] at com.microsoft.jdbc.base.BaseDriver.connect(Unknown
Source)
[torque-jdbc-transform] at java.sql.DriverManager.getConnection(
DriverManager.java:525)
[torque-jdbc-transform] at java.sql.DriverManager.getConnection(
DriverManager.java:171)
[torque-jdbc-transform] at
org.apache.torque.task.TorqueJDBCTransformTask.generateXML(
TorqueJDBCTransformTask.java:268)
[torque-jdbc-transform] at
org.apache.torque.task.TorqueJDBCTransformTask.execute(
TorqueJDBCTransformTask.java:233)
[torque-jdbc-transform] at org.apache.tools.ant.UnknownElement.execute(
UnknownElement.java:275)
[torque-jdbc-transform] at org.apache.tools.ant.Task.perform(Task.java:364)
[torque-jdbc-transform] at org.apache.tools.ant.Target.execute(Target.java
:341)
[torque-jdbc-transform] at org.apache.tools.ant.Target.performTasks(
Target.java:369)
[torque-jdbc-transform] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[torque-jdbc-transform] at org.apache.tools.ant.Project.executeTarget(
Project.java:1185)
[torque-jdbc-transform] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:40)
[torque-jdbc-transform] at org.apache.tools.ant.Project.executeTargets(
Project.java:1068)
[torque-jdbc-transform] at org.apache.tools.ant.Main.runBuild(Main.java
:668)
[torque-jdbc-transform] at org.apache.tools.ant.Main.startAnt(Main.java
:187)
[torque-jdbc-transform] at org.apache.tools.ant.launch.Launcher.run(
Launcher.java:246)
[torque-jdbc-transform] at org.apache.tools.ant.launch.Launcher.main(
Launcher.java:67)
お手数をお掛けします。
志村
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20061022/7a9a9e05/attachment.html
Seasar-user メーリングリストの案内