-- 作者:iamyxn
-- 发布时间:12/10/2012 4:17:00 PM
-- 使用Jena SDB将多个本体导入Postgres数据库问题
环境:windows xp+cygwin,目前有两个本体,每个本体当中都使用了owl:imports导入了其他本体,使用sdbload导入之后,再使用sdbindex做索引,但是出现以下错误提示: WARN [main] (SDBConnection.java:326) - exec: SQLException CREATE INDEX ObjSubj ON Triples (o, s) com.hp.hpl.jena.sdb.sql.SDBExceptionSQL: SQLException indexing table 'Triples' at com.hp.hpl.jena.sdb.layout2.FmtLayout2.addIndexesTableTriples(FmtLayout2.java:72) at com.hp.hpl.jena.sdb.layout2.FmtLayout2.addIndexes(FmtLayout2.java:40) at sdb.cmd.ModConfig.enact(ModConfig.java:97) at sdb.cmd.ModConfig.enact(ModConfig.java:54) at sdb.sdbconfig.execCmd(sdbconfig.java:72) at sdb.cmd.CmdArgsDB.exec(CmdArgsDB.java:69) at arq.cmdline.CmdMain.mainMethod(CmdMain.java:85) at arq.cmdline.CmdMain.mainRun(CmdMain.java:47) at arq.cmdline.CmdMain.mainRun(CmdMain.java:34) at sdb.sdbconfig.main(sdbconfig.java:28) Caused by: org.postgresql.util.PSQLException: ▒▒▒▒: ▒▒ϵ "objsubj" ▒Ѿ▒▒▒▒▒ at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366) at com.hp.hpl.jena.sdb.sql.SDBConnection.exec(SDBConnection.java:171) at com.hp.hpl.jena.sdb.layout2.FmtLayout2.addIndexesTableTriples(FmtLayout2.java:70) ... 9 more 有没有人知道是怎么回事?
|