Hibernate配置问题!!!

07-03-26 bravgy
[middlegen] Database URL:jdbc:oracle:thin:@localhost:1521:demo

[middlegen] No <table> elements specified. Reading all tables. This might take a while...

[middlegen] (middlegen.MiddlegenPopulator 249 ) ORA-01424: 转义符之后字符缺失或非法

[middlegen] java.sql.SQLException: ORA-01424: 转义符之后字符缺失或非法

[middlegen] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)

[middlegen] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)

[middlegen] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)

[middlegen] at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)

[middlegen] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:212)

[middlegen] at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:795)

[middlegen] at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1030)

[middlegen] at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:835)

[middlegen] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1123)

[middlegen] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3284)

[middlegen] at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3328)

[middlegen] at oracle.jdbc.OracleDatabaseMetaData.getTables(OracleDatabaseMetaData.java:2471)

[middlegen] at middlegen.MiddlegenPopulator.addTables(MiddlegenPopulator.java:1182)

[middlegen] at middlegen.MiddlegenPopulator.populate(MiddlegenPopulator.java:213)

[middlegen] at middlegen.MiddlegenTask.execute(MiddlegenTask.java:432)

[middlegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)

[middlegen] at org.apache.tools.ant.Task.perform(Task.java:364)

[middlegen] at org.apache.tools.ant.Target.execute(Target.java:301)

[middlegen] at org.apache.tools.ant.Target.performTasks(Target.java:328)

[middlegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)

[middlegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1063)

[middlegen] at org.apache.tools.ant.Main.runBuild(Main.java:632)

[middlegen] at org.apache.tools.ant.Main.startAnt(Main.java:183)

[middlegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)

[middlegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

banq
2007-03-26 16:57
使用google自己解决这些调试问题,键入ORA-01424搜索:

http://blog.csdn.net/inber/archive/2006/07/22/958705.aspx

如果没有答案,可再提问,谢谢。

Java之途漫漫,如果没有一点独立专业精神,很难搞下去,只是过来人的建议,继续努力。

猜你喜欢