cost 116 ms
Hibernate 3.5 throws "org.dom4j.DocumentException: Error on line 1 of document http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd - Hibernate 3.5 throws "org.dom4j.DocumentException: Error on line 1 of document http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd

我的 Hypersistence Optimizer 代码库中有一些 Hibernate 3.5 测试,现在我遇到了这个奇怪的错误: 所有这些测试运行了 3 年都很好,所以这可能是最近发生的变化。 ...

在哪里可以找到Hibernate的支持终止-支持生命周期-更新 - Where can I find Hibernate's End of support - Support Lifecycle - updates

我们的产品是旧产品,它具有基于3.6.10.Final的大量手工制作的休眠API。 现在,我要评估不升级到4.x或5.x版本的风险。 升级将是一场噩梦,只是要使其进行编译..:P 但是我找不到任何官方信息,合同或支持页面,在3.6.10.Final版本(任何一般版本)中都提到了支持 ...

javax.el.E​​LException:无法将协议类类型的Protocol @ 7ebc9002转换为协议$$ EnhancerByCGLIB $$ 22af7fa3类(延迟加载) - javax.el.ELException: Cannot convert Protocol@7ebc9002 of type class Protocol to class Protocol$$EnhancerByCGLIB$$22af7fa3 (lazy loadding)

我很难使休眠3.1延迟加载与JSF 1.2一起使用 我读到休眠将按需替换延迟加载代理,但似乎不适用于JSF转换器调用。 请注意,协议绑定到视图中的单选按钮 您知道如何解决此问题吗? 我找不到与我有相同问题的人。 applicationContext: 查看: ...

org.hibernate.exception.ConstraintViolationException:无法更新-DB中的自动增量列为NULL - org.hibernate.exception.ConstraintViolationException: could not update - Auto-increment column in DB is NULL

我正在将系统的hibernate3软件包从版本“ 3.1.1”升级到“ 3.6.10”。 当我已经将其迁移到3.6.10版本时,我看到一个异常: 当我更新为NULL时,似乎CUSTOMERS表(TABLEID = 9)中的列(COL = 1)。 该值由数据库(DB2)自动生成,应 ...

休眠的动态类 - Dynamic classes for hibernate

查看Hibernate 3甚至4的文档,似乎必须先创建映射类。 加载配置后,将立即加载hibernate.cfg.xml或hibernate.properties文件中定义的所有那些类,然后hibernate将忽略对这些文件的任何更改。 有什么方法可以在运行时动态添加映射类吗? ...

Hibernate Validator无需使用Spring Framework即可检索错误消息 - Hibernate Validator retrieve error messages without using Spring Framework

我目前正在使用hibernate-distribution-3.6.4.Final。 Hibernate Validator的新功能。 问题:如何检索从向databean / formbean添加注释中得到的错误消息? 我知道在春季,每个人似乎都在使用classpath中的messag ...

如何在运行时更改Hibernate的SessionFactory的默认架构设置? - How can I change Hibernate's SessionFactory's default schema setting at runtime?

我们使用XML配置Session Factory bean。 默认会话名称是从代码的资源文件夹中的属性文件中读取的。 出于新的目的,我需要能够在运行时将默认架构属性更改为其他内容。 我不知道怎么办。 会话工厂在XML连线中创建,如下所示: 我以为我可以将会话工厂从Spring ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM