tomcat和websphere部署项目区别 5
我的项目在tomcat上运行一切正常,但一到websphere,当我执行一个保存操作时,就报如下错误:Causedby:java.sql.BatchUpdateExcep...
我的项目在tomcat上运行一切正常,但一到websphere,当我执行一个保存操作时,就报如下错误:
Caused by:
java.sql.BatchUpdateException: ORA-02291: integrity constraint
(CSNP.MODEL_MODEL_INFO_ID_FK) violated - parent key not found
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)
at
oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10720)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteBatch(WSJdbcPreparedStatement.java:958)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeBatch(WSJdbcStatement.java:705)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
... 88 more
请问是怎么回事?小弟求教各位大神 展开
Caused by:
java.sql.BatchUpdateException: ORA-02291: integrity constraint
(CSNP.MODEL_MODEL_INFO_ID_FK) violated - parent key not found
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)
at
oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10720)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteBatch(WSJdbcPreparedStatement.java:958)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeBatch(WSJdbcStatement.java:705)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
... 88 more
请问是怎么回事?小弟求教各位大神 展开
1个回答
2014-05-24
展开全部
websphere一般部署在linux上面 里面好像要先配置数据的,tomacat不用 好像还有jar包冲突的。
追问
您好,能不能说得具体写呢,比如哪些jar包是冲突的?websphere如何配置数据?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询