[Seasar-user:7425] [DBFlute]NCHAR について

[E-MAIL ADDRESS DELETED] [E-MAIL ADDRESS DELETED]
2007年 4月 24日 (火) 17:18:17 JST


いつもお世話になっております。
米原です。

DBFlute0.45snapshot
Oracle
を使用しています。

DBFluteにて「jdbc.bat」実行時に、NCHARのカラムがあると
以下のExceptionが発生します。

現状NCHAR、NVARCHAR2があると、DBFluteの生成はできないという認識でよろしいでしょうか?


[torque-jdbc-transform] 2007-04-24 16:03:33,678 [main] WARN  (TypeMap#getTorqueType():369) - _jdbcIntToTorqueTypeMap doesn't contain the type as key: key=1111 map={93=T
ESTAMP, 92=TIME, 91=DATE, 2005=CLOB, 2004=BLOB, -1=LONGVARCHAR, -2=BINARY, -3=VARBINARY, -4=LONGVARBINARY, -5=BIGINT, -6=TINYINT, -7=BIT, 12=VARCHAR, 8=DOUBLE, 7=REAL,
FLOAT, 5=SMALLINT, 4=INTEGER, 3=DECIMAL, 2=NUMERIC, 1=CHAR}
[torque-jdbc-transform] 2007-04-24 16:03:33,698 [main] ERROR (TorqueJDBCTransformTask#doExecute():198) - JDBCToXMLSchema failed:
[torque-jdbc-transform] java.lang.IllegalStateException: _jdbcIntToTorqueTypeMap doesn't contain the type as key: key=1111 map={93=TIMESTAMP, 92=TIME, 91=DATE, 2005=CLO
 2004=BLOB, -1=LONGVARCHAR, -2=BINARY, -3=VARBINARY, -4=LONGVARBINARY, -5=BIGINT, -6=TINYINT, -7=BIT, 12=VARCHAR, 8=DOUBLE, 7=REAL, 6=FLOAT, 5=SMALLINT, 4=INTEGER, 3=DE
MAL, 2=NUMERIC, 1=CHAR}
[torque-jdbc-transform]         at org.apache.torque.engine.database.model.TypeMap.getTorqueType(TypeMap.java:370)
[torque-jdbc-transform]         at org.apache.torque.task.TorqueJDBCTransformTask.generateXML(TorqueJDBCTransformTask.java:281)
[torque-jdbc-transform]         at org.apache.torque.task.TorqueJDBCTransformTask.doExecute(TorqueJDBCTransformTask.java:179)
[torque-jdbc-transform]         at org.seasar.dbflute.task.bs.DfAbstractTask.execute(DfAbstractTask.java:69)
[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)
[torque-jdbc-transform] 2007-04-24 16:03:33,778 [main] ERROR (DfAbstractTask#execute():74) - execute() threw the exception!



Seasar-user メーリングリストの案内