您的位置:程序门 -> java -> j2ee / ejb / jms



jbpm3.1+spring2.0.6+hibernate+oracle9i


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


jbpm3.1+spring2.0.6+hibernate+oracle9i
发表于:2007-08-09 22:30:23 楼主
提示错误为:  
21:13:00,593   info     [schemaupdate]   running   hbm2ddl   schema   update
21:13:00,593   info     [schemaupdate]   fetching   database   metadata
21:13:00,640   info     [schemaupdate]   updating   schema
21:13:00,937   warn     [jdbcexceptionreporter]   sql   error:   903,   sqlstate:   42000
21:13:00,937   error   [jdbcexceptionreporter]   ora-00903:   表名无效

21:13:00,937   error   [schemaupdate]   could   not   complete   schema   update
org.hibernate.exception.sqlgrammarexception:   could   not   get   table   metadata:   jbpm_action
at   org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67)
at   org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43)
at   org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:29)
at   org.hibernate.tool.hbm2ddl.databasemetadata.gettablemetadata(databasemetadata.java:105)
at   org.hibernate.cfg.configuration.generateschemaupdatescript(configuration.java:948)
at   org.hibernate.tool.hbm2ddl.schemaupdate.EXECute(schemaupdate.java:140)
at   org.hibernate.impl.sessionfactoryimpl. <init> (sessionfactoryimpl.java:314)
at   org.hibernate.cfg.configuration.buildsessionfactory(configuration.java:1294)


其中jbpm所需的表通过dbpersistenceservicefactory.createschema()生成
发表于:2007-08-12 20:32:531楼 得分:0
把hibernate和jbpm的源码全都放到工程里去了,发现在执行到下面的话时出现问题:  
rs   =   meta.getindexinfo(catalog,   schema,   name,   false,   true);
  请问什么原因?


快速检索

最新资讯
热门点击