Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Web services 从Oracle XE迁移到Oracle 11g(使用Hibrate 3.6、Spring 3和JPA 2)_Web Services_Oracle_Hibernate_Spring_Jpa 2.0 - Fatal编程技术网

Web services 从Oracle XE迁移到Oracle 11g(使用Hibrate 3.6、Spring 3和JPA 2)

Web services 从Oracle XE迁移到Oracle 11g(使用Hibrate 3.6、Spring 3和JPA 2),web-services,oracle,hibernate,spring,jpa-2.0,Web Services,Oracle,Hibernate,Spring,Jpa 2.0,我使用Spring3、SpringWebservices2.0、JDK1.6和JPA2(以Hibernate3.6作为提供程序)构建了一个应用程序 该应用程序在Oracle XE中运行良好。这个应用程序公开了一些web服务,我使用SoapUI测试这些服务。此web服务请求包含请求中的日期和时间。应用程序查找与此请求相同的日期和时间,并返回匹配的数据 所有这些在XE中运行得非常好,但在11g中停止。没有错误或异常,只是在响应消息中没有返回任何数据 其他一切都没有改变 我尝试在persistence

我使用Spring3、SpringWebservices2.0、JDK1.6和JPA2(以Hibernate3.6作为提供程序)构建了一个应用程序

该应用程序在Oracle XE中运行良好。这个应用程序公开了一些web服务,我使用SoapUI测试这些服务。此web服务请求包含请求中的日期和时间。应用程序查找与此请求相同的日期和时间,并返回匹配的数据

所有这些在XE中运行得非常好,但在11g中停止。没有错误或异常,只是在响应消息中没有返回任何数据

其他一切都没有改变

我尝试在persistence.xml中使用不同的Oracle方言,但问题仍然存在


还有什么需要做的吗?

修复了它。这是oracle的安装问题。重新安装并使其正常工作。

修复了它。这是oracle的安装问题。重新安装并使其正常工作。

您需要隔离问题。您能确定哪个数据库调用失败吗?你能在SQL*Plus中模拟它吗?当你不接受答案时,最终你会停止得到答案。就像现在。你需要隔离问题。您能确定哪个数据库调用失败吗?你能在SQL*Plus中模拟它吗?当你不接受答案时,最终你会停止得到答案。就像现在一样。