1. Bug in Evict with versioning forum.hibernate.orgSo Im pretty sure Ive found a bug. Add the attached test to FooBarTests.cs 1 Run it as it is and it works. 2 Modify the code by adding ! before SHOULDNT_THIS_BE_ENOUGH (that is choose the Evict solution). It seems that even if Ive re-read the One instance getting it to understand that its version (V) is 1, 0 is used ... |
2. Table.qualify bug in version 3.1+ forum.hibernate.orgVersion: Hibernate 3.1.2 (but I think this applies to anything since 3.1) Table.qualify has changed and is now incorrect! It does not handle the case for "catalog..tablename" that the old version does. Instead it outputs "catalog.tablename" which is not right (at least on SQL Server 2000). Old version: Code: public static String qualify(String catalog, String schema, String table, char separator) { ... |
3. HQL delete bug in 3.1.3 version forum.hibernate.orgI finded bug in Hibernate 3.1.3 version, that was not in 3.1.2. Try HQL DML like this: delete from IdfKlient vstp where exists(from Dotaz as dotaz where dotaz.davka=:davka and vstp.dotaz=dotaz) Hibernate 3.1.2 transaltes as: Hibernate: delete from idfklient where exists (select dotaz1_.id from dotaz dotaz1_ where iddavky=? and dotaz_id=id) But in Hibernate 3.1.3: Hibernate: delete from idfklient where exists (select dotaz1_.id ... |
4. ReplicationMode.LATEST_VERSION bug? forum.hibernate.orgpublic static final ReplicationMode LATEST_VERSION = new ReplicationMode("LATEST_VERSION") { public boolean shouldOverwriteCurrentVersion(Object entity, Object currentVersion, Object newVersion, VersionType versionType) { if (versionType==null) return true; //always overwrite nonversioned data return versionType.getComparator().compare(currentVersion, newVersion) <= 0; ... |
5. @Version, Flush(), Collections - Hibernate bug? forum.hibernate.orgI'm terribly sorry for posting this question again, but my other was ignored... :-( n our system here, which has several entities and relationships, everything was running fine (unit tests, etc.). We are using the following hibernate versions: Hibernate Core 3.2.0.cr4 Hibernate Annotations 3.2.0.cr2 Hibernate EntityManager 3.2.0.cr2 But i also tested in: Hibernate Core 3.2.1.GA Hibernate Annotations 3.2.0.GA Hibernate EntityManager 3.2.1.GA ... |