|
1 |
| -Hibernate 5.0 Changelog |
| 1 | +Hibernate 5.1 Changelog |
2 | 2 | =======================
|
3 | 3 |
|
4 | 4 | Note: Please refer to JIRA to learn more about each issue.
|
5 | 5 |
|
| 6 | +Changes in 5.1.1.Final (August 12, 2016) |
| 7 | +------------------------------------------------------------------------------------------------------------------------ |
| 8 | +https://hibernate.atlassian.net/projects/HHH/versions/22550 |
| 9 | +https://hibernate.atlassian.net/issues/?jql=project%20%3D%2010031%20AND%20fixVersion%20%3D%2022550%20ORDER%20BY%20priority%20DESC%2C%20key%20ASC |
| 10 | + |
| 11 | +** Bug |
| 12 | + * [HHH-5393] - MappingException when @MapKeyColumn refers to a column mapped in embeddable map value |
| 13 | + * [HHH-7405] - BatchBuilder service does not properly define JMX MBean |
| 14 | + * [HHH-7412] - JDBCTransactionFactory.getDefaultReleaseMode() returns incorrect ConnectionReleaseMode |
| 15 | + * [HHH-7510] - LazyInitializationException thrown when deleting an entity while global_with_modified_flag turned on |
| 16 | + * [HHH-8305] - Envers auditing OneToOne inserts null in Aud JoinTable in a not stablished relationship |
| 17 | + * [HHH-8488] - JPA joinList and treat behaviour |
| 18 | + * [HHH-8507] - SQLServer2005LimitHandler throws "string out of range -1" error |
| 19 | + * [HHH-8999] - NullPointerException when updating or deleting multiple entities of same type with non-comparable IDs |
| 20 | + * [HHH-9271] - IdentityGenerator broken with quoted identifiers |
| 21 | + * [HHH-9322] - Updating multiple entities with the same name in the same flush throws a ClassCastException when using a non-Comparable user type as the entity ID |
| 22 | + * [HHH-9485] - Duplicate Property with AccessType.PROPERTY and MappedSuperclass |
| 23 | + * [HHH-9676] - TypeSafeActivator.applyDDL doesn't process composing constraints when @NotNull is present |
| 24 | + * [HHH-9693] - H2 : Hibernate cannot validate it's own created schema |
| 25 | + * [HHH-9894] - Support Informix Boolean Type |
| 26 | + * [HHH-10027] - Dynamic filter parameter can be bound in wrong order when applied to OneToMany collections |
| 27 | + * [HHH-10230] - Using boolean or null literals results in a parser error |
| 28 | + * [HHH-10245] - SelfDirtinessTracker not found |
| 29 | + * [HHH-10269] - JDBC Statement is not closed if exception appeared during query execution |
| 30 | + * [HHH-10277] - AttributeConverter not applied to attributes of an embeddable used as collection element |
| 31 | + * [HHH-10287] - Cache keys no longer include the entity type |
| 32 | + * [HHH-10290] - org.hibernate.test.cfg.BatchVersionedDataConfigTest does not work properly when hibernate.jdbc.batch_versioned_data is set in environment |
| 33 | + * [HHH-10299] - After adding "@Audited" to an entity field the warning "Use of DOM4J entity-mode is considered deprecated" appears |
| 34 | + * [HHH-10334] - @formula annotation javadoc contains database dependent sample usage |
| 35 | + * [HHH-10341] - Specification violation in Implementation of TupleElement |
| 36 | + * [HHH-10352] - HBM2DDL does not use described name for foreign key in join inheritance |
| 37 | + * [HHH-10360] - Natural ID columns are nullable by default (hbm mappings only) |
| 38 | + * [HHH-10361] - Child module osgi does not exist in hibernate-tutorials |
| 39 | + * [HHH-10373] - Sequence generator for idbag ignores generator parameters |
| 40 | + * [HHH-10375] - adding an entity at index to list with @OrderColumn in detached Entity |
| 41 | + * [HHH-10410] - Co-linear points are causing an exception |
| 42 | + * [HHH-10413] - byte[] as the version attribute broken |
| 43 | + * [HHH-10427] - ServiceRegistry creates multiple service instances and returns uninitialized services |
| 44 | + * [HHH-10455] - MapJoin results in NPE when using key() |
| 45 | + * [HHH-10476] - Getting an entity with composite ID containing a detached entity fails if PersistenceContext contains a managed copy |
| 46 | + * [HHH-10499] - Can't set ConnectionProvider instance, regression |
| 47 | + * [HHH-10505] - jboss logging only auto detects slf4j if it is using logback |
| 48 | + * [HHH-10510] - Root cause not properly extracted when transaction commit fails |
| 49 | + * [HHH-10511] - PluralAttribute.getPersistentAttributeType() wrong value with enhanced classes |
| 50 | + * [HHH-10513] - Follow-on locking WARN message logged when query LockMode is NONE |
| 51 | + * [HHH-10514] - Ambiguous attribute converters invalidly reported for field of generic type |
| 52 | + * [HHH-10515] - Stored procedure execution fails to find column |
| 53 | + * [HHH-10517] - ClassCastException using Restrictions.in with Child classes in Criteria based on Parent class |
| 54 | + * [HHH-10522] - Invalid reference to naming chapter in user guide |
| 55 | + * [HHH-10524] - Invalid reference wrt composite identifiers |
| 56 | + * [HHH-10525] - Invalid reference to bytecode enhancement in User Guide |
| 57 | + * [HHH-10526] - SchemaCreator does not apply SchemaFilter on foreign keys |
| 58 | + * [HHH-10528] - use_nationalized_character_data global property is ignored |
| 59 | + * [HHH-10529] - SQLServer2008Dialect generate incorrect length of nvarchar |
| 60 | + * [HHH-10535] - Documentation: hibernate.order_updates configuration property |
| 61 | + * [HHH-10540] - Incorrect bytecode instrumentation when there are multiple @Embedded attributes |
| 62 | + * [HHH-10544] - MySQL failing tests |
| 63 | + * [HHH-10545] - InfinispanRegionFactory inadvertently starts the default cache during stop() |
| 64 | + * [HHH-10549] - Hibernate incorrectly applies Converters with autoApply=true to subclasses |
| 65 | + * [HHH-10553] - ORM tries to create a unique constraint on a non existing table |
| 66 | + * [HHH-10554] - NullPointerException in @Embeddable dirty tracking writer |
| 67 | + * [HHH-10556] - Failure getting a PluralAttributePath for collection declared in a superclass marked @Entity |
| 68 | + * [HHH-10562] - ManagedEntity linked list broken when mutable, non-associated enhanced entity is evicted |
| 69 | + * [HHH-10563] - Significant String use/duplication associated with subselect fetch |
| 70 | + * [HHH-10566] - linking to specific 'stable' doc urls from versioned docs |
| 71 | + * [HHH-10567] - Wrong table for formula if its property is mapped on a secondary table |
| 72 | + * [HHH-10573] - Add discussion of @ValueGenerationType to UserGuide |
| 73 | + * [HHH-10576] - Correct association in CascadeMergeToChildBeforeParentTest |
| 74 | + * [HHH-10583] - BytecodeEnhancement's AssociationManagement breaks with entity containing two ToOne relations with the same mappedBy value. |
| 75 | + * [HHH-10585] - Fix discussion in "Roots" section of criteria query chapter |
| 76 | + * [HHH-10587] - Test NationalizedIgnoreCaseTest.testIgnoreCaseCriteria fails on some databases that don't support nString type |
| 77 | + * [HHH-10588] - ConnectionsReleaseTest should use H2Dialect |
| 78 | + * [HHH-10593] - Avoid NullPointerException with auto_evict_collection_cache and many-to-many |
| 79 | + * [HHH-10596] - Some tests fail on oracle12c because of missing dialect-scope |
| 80 | + * [HHH-10598] - Oracle JDBC driver can't handle entities with a one-character name in some cases |
| 81 | + * [HHH-10601] - Persistence.generateSchema - the output file contains duplicated DDL statements |
| 82 | + * [HHH-10602] - Retrieve cached value with enable_lazy_load_no_trans throws an exception |
| 83 | + * [HHH-10605] - HSQLDialect dosn't use "if exists" when dropping sequences |
| 84 | + * [HHH-10608] - Avoid HibernateException with Hibernate.initialize and ENABLE_LAZY_LOAD_NO_TRANS |
| 85 | + * [HHH-10612] - Check for support of RefCursor in Java 8 |
| 86 | + * [HHH-10614] - Auto evict collection cache throws exception with null values |
| 87 | + * [HHH-10629] - Spatial not bundled in release bundles |
| 88 | + * [HHH-10631] - Auto evict collection cache not work when owner side update parent to null |
| 89 | + * [HHH-10632] - comment on column missing seperator between table name and column |
| 90 | + * [HHH-10633] - JPA 2.1 Named Entity Graph in ORM XML loaded without subgraph |
| 91 | + * [HHH-10635] - EntityManager.isOpen() should respect status of Session |
| 92 | + * [HHH-10640] - SchemaCreationTest fails on DB2 due to wrong expected statement |
| 93 | + * [HHH-10641] - Some tests fail on Oracle due to ORA-00972: identifier is too long |
| 94 | + * [HHH-10642] - BytecodeEnhancements PersistentAttributesEnhancer bytecode error INVOKESPECIAL |
| 95 | + * [HHH-10643] - Attribute 'foreignKeyDefinition' of @javax.persistence.ForeignKey ignored by schema exporter |
| 96 | + * [HHH-10644] - Enhancement cause Exception if property field not present |
| 97 | + * [HHH-10646] - Lazy fetch not properly handled when annotation in @MappedSuperclass |
| 98 | + * [HHH-10648] - No MultipleBagFetchException is thrown when fetching two bags eagerly |
| 99 | + * [HHH-10649] - When 2LC enabled, flush session and then refresh entity cause dirty read in another session / transaction |
| 100 | + * [HHH-10650] - Hibernate SchemaExport does not filter ForeignKey for namespaces and tables |
| 101 | + * [HHH-10662] - Fix inconsistencies between quoting-related configuration properties JavaDocs and their default values assigned at the code level |
| 102 | + * [HHH-10678] - hibernate-mapping's schema is ignored |
| 103 | + * [HHH-10679] - Subselect fetching is not used for collections if their entity owners are initialized in a batch |
| 104 | + * [HHH-10684] - No target script generated for update action when using schema-generation |
| 105 | + * [HHH-10693] - PostgreSQL should not use nvarchar when using Nationalization |
| 106 | + * [HHH-10695] - MySQL fails using the NCLOB type |
| 107 | + * [HHH-10708] - Accessing a lazy collection in an enhanced class deletes it afterwards |
| 108 | + * [HHH-10712] - Subselect fetches are not detected by load plans |
| 109 | + * [HHH-10718] - Underscore in table name can result in SchemaExtractionException: More than one table found |
| 110 | + * [HHH-10725] - Hibernate Integrations Guide: an incorrect example LatestAndGreatestConnectionProviderImpl |
| 111 | + * [HHH-10729] - Issue with CriteriaBuilder.literal(boolean) in my select expression? |
| 112 | + * [HHH-10734] - Hibernate Envers creates unnecessary audit rows for tables with LOB data |
| 113 | + * [HHH-10736] - SQLServer dialect issue with native sql |
| 114 | + * [HHH-10756] - StoredProcedureQuery with OUT param fails with Oracle when using named parameters |
| 115 | + * [HHH-10757] - "select new ..." with CAST( NULL AS ...) fails with QuerySyntaxException: unexpected AST node: NULL |
| 116 | + * [HHH-10765] - Some links in the user guide are broken |
| 117 | + * [HHH-10766] - XML Enum mapping with parameter 'type' |
| 118 | + * [HHH-10774] - SortedMap defined in .hbm.xml are not sortable |
| 119 | + * [HHH-10795] - StatefulPersistenceContext.entityEntryContext does not work properly for ManagedEntity associated with a different StatefulPersistenceContext |
| 120 | + * [HHH-10796] - org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map |
| 121 | + * [HHH-10801] - Bytecode enhancement of @MappedSuperclass |
| 122 | + * [HHH-10802] - Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign key |
| 123 | + * [HHH-10811] - Envers can't start when some audited field has accented letters |
| 124 | + * [HHH-10820] - InformationExtractorJdbcDatabaseMetaDataImpl quoted table names |
| 125 | + * [HHH-10826] - Auxiliary Database Object no longer documented |
| 126 | + * [HHH-10841] - Field marked as @Generated not being audited. |
| 127 | + * [HHH-10843] - QuerySyntaxException when use CriteriaBuilder.concat in selectCase expression |
| 128 | + * [HHH-10851] - PropertyAccessMixed not aware of Access annotation |
| 129 | + * [HHH-10863] - Improve consistency of how we call implicitNamingStrategy.determineBasicColumnName with element collections |
| 130 | + * [HHH-10865] - Join table of lazy loading many-to-many relation not saved when lazy initialization bytecode enhancement is active |
| 131 | + * [HHH-10876] - DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting |
| 132 | + * [HHH-10888] - PluralAttribute#isAssociation returns true for @ElementCollection |
| 133 | + * [HHH-10896] - Exception thrown when dropping schema with a managed connection |
| 134 | + * [HHH-10922] - flush triggers load when using enableDirtyTracking |
| 135 | + * [HHH-10937] - The generation of the drop schema does not filter sequence with schemaFilter |
| 136 | + * [HHH-10953] - HQL update statement fails if entity is inside a package of format in.mycomany.___domain.Entity |
| 137 | + * [HHH-10964] - Fix missing currentTenantIdentifierResolver |
| 138 | + * [HHH-10968] - Do not build JPA types for 'detyped' Hibernate Types (e.g. Envers model) with IGNORE_UNSUPPORTED |
| 139 | + * [HHH-10973] - hibernate-enhance-maven-plugin won't enhance entities with bidirectional relationships |
| 140 | + * [HHH-10977] - entity not enhanced when mapped superclass enhanced before |
| 141 | + * [HHH-10978] - Hibernate throws SQLGrammarException: Error accessing table metadata when @Table is used with schema value and no catalog |
| 142 | + * [HHH-10987] - Cannot save JTS geometry with SRID 3857 into SRID 3857 column |
| 143 | + * [HHH-10993] - NPE when Lazy loading collection without transaction for bytecode enhanced entitie |
| 144 | + * [HHH-10994] - Limit Handler for SQL server doesn't support queries with alias( without 'as' keyboard ) in select clause. |
| 145 | + * [HHH-11013] - The release task creates two documentation folders for UserGuide |
| 146 | + * [HHH-11036] - The drop schema filtering of sequence generation with schemaFilter is wrong |
| 147 | + |
| 148 | +** New Feature |
| 149 | + * [HHH-10691] - Fix tests failing when switching to PostgreSQL |
| 150 | + * [HHH-10812] - Provide module ZIP file for upgrading WildFly to Hibernate 5.1 |
| 151 | + * [HHH-10966] - Document @DiscriminatorValue NULL and NOT_NULL options |
| 152 | + * [HHH-10971] - Document flush operation order |
| 153 | + |
| 154 | +** Task |
| 155 | + * [HHH-10512] - Fix symlink handling for documentation tasks |
| 156 | + * [HHH-10520] - Update doc publishing |
| 157 | + * [HHH-10521] - Fix Java 6 not compliant tests |
| 158 | + * [HHH-10579] - Add missing Manifest data |
| 159 | + * [HHH-11025] - Backport: Implement left-joins for relation traversion in audit queries |
| 160 | + * [HHH-11041] - Correct references to Hibernate version in javadoc annotations in backported code |
| 161 | + |
| 162 | +** Improvement |
| 163 | + * [HHH-8687] - Better exception message for PostgreSQL81Dialect and named REF_CURSOR parameter binding |
| 164 | + * [HHH-9021] - Select expression in JPA doesn't work |
| 165 | + * [HHH-9570] - Auto-detect SQL Server 2014 when the major version is 12 |
| 166 | + * [HHH-10052] - documentation about hashcode and equals not up to date |
| 167 | + * [HHH-10429] - Incorrect detection of identity column during schema generation when using custom IdentityGenerator class |
| 168 | + * [HHH-10456] - Invalid PrimaryKeyJoinColumn annotation warning should report the class name |
| 169 | + * [HHH-10523] - 2.3.20. SQL quoted identifiers in User Guide should discuss explicit enclosure in double-quotes (JPA) |
| 170 | + * [HHH-10546] - InfinispanRegionFactory should stop any caches it starts |
| 171 | + * [HHH-10552] - Gradle plugin section of Bytecode Enhancement should specify how to apply the plugin |
| 172 | + * [HHH-10657] - Make 'none' a valid option for hibernate.hbm2ddl.auto |
| 173 | + * [HHH-10780] - Provide a PrimitiveByteArrayTypeDescriptor toString implementation |
| 174 | + * [HHH-10800] - InformixDialect: add support for coalesce(), current_timestamp(), current_date() |
| 175 | + * [HHH-10861] - JPA Constructor Expressions fails with nullLiteral passed to constructor |
| 176 | + * [HHH-11002] - Add documentation section about Filter and FilterDef |
| 177 | + |
| 178 | +** Patch |
| 179 | + * [HHH-1237] - Escaping : with :: in queries |
| 180 | + * [HHH-10538] - Fix the javadoc of TableInformation.getIndex(Identifier indexName) |
| 181 | + |
| 182 | + |
6 | 183 | Changes in 5.1.0.Final (February 10, 2016)
|
7 | 184 | ------------------------------------------------------------------------------------------------------------------------
|
8 | 185 | https://hibernate.atlassian.net/projects/HHH/versions/19355
|
|
0 commit comments