12月12日,Hibernate发布了它的3.1版本。
这个版本包括对前版本的大量的bugs fix和改进,以及更新了一些更高版本的第三方支持库。
其中比较显著的几个提升是:
·从native-sql中自动发现检测scalar types
·支持Mysql5 存储过程
·config properties里, system properties将允许 placeholders.
·支持Configuration.mergeProperties()
Release Name: 3.1
Notes:
Hibernate - Relational Persistence for Idiomatic Java
=====================================================
version 3.1, Dec 12, 2005
Instructions
------------
Unzip to installation directory.
See index.html in the doc/reference directory.
Required jars are distributed in the lib subdirectory.
Latest Documentation:
http://hibernate.org
Bug Reports:
Hibernate JIRA (preferred)
hibernate-devel@lists.sourceforge.net
Free Technical Support:
http://forum.hibernate.org
Commercial Support and Training:
http://hibernate.org/SupportTraining
Get Up And Running Quick
------------------------
Demo:
(1) copy your JDBC driver to the lib directory
(2) edit etc/hibernate.properties
(3) run "ant eg" or "build eg"
(4) browse the sourcecode in eg/org/hibernate/auction
Tests:
(1) copy your JDBC driver to the lib directory
(2) edit etc/hibernate.properties
(3) run "ant junitreport" or "build junitreport"
(4) see test_output/index.html
Other Stuff
-----------
This software is distributed under the terms of the FSF Lesser Gnu
Public License (see lgpl.txt).
This product includes software developed by the Apache Software
Foundation (http://www.apache.org/).
--------------------------------------------------------------------------------
Changes:
Changes in version 3.1 (12.12.2005)
-------------------------------------------
** Bug
* [HHH-849] - Cartesian product + implicit joins
* [HHH-1065] - user provided connection not usable by default due to agressive release changes
* [HHH-1101] - associations join fetched in HQL without owner being selected
* [HHH-1133] - Comparators, defined for collections in mapping files, are not set
* [HHH-1149] - NPE flushing reattached entity w/ non-mutable natural-id
* [HHH-1170] - HQL 'cast' function doesn't work with MySQL 4 when casting to string
* [HHH-1187] - Cannot delete a object having a delete-orphan collection when user_rollback_id is set
* [HHH-1191] - HQL fails backward compatibility using classic translator
* [HHH-1194] - hql delete statements with joined-subclass hierarchies with a mapped where attribute at the root
* [HHH-1206] - Mappings.TableDescription is not serializable
* [HHH-1212] - mismatch in entity-modes defined in DTD and EntityMode class
* [HHH-1227] - ClassCastException on DOM4J replicate of Calendar property
* [HHH-1239] - BinaryArithmeticOperatorNode.getDataType() does not properly handle date/time arithmetic
* [HHH-1240] - Track connection leakage in JDBCContext.afterTransactionCompletion()
* [HHH-1245] - Calling the Session should register it with the current JTA txn.
* [HHH-1254] - Serialization of Sessions using JDBCTransactions with auto-flush/auto-close
** New Feature
* [HHH-1222] - Autodiscover scalar types in native-sql
* [HHH-1243] - allow placeholders to system properties in config properties
* [HHH-1244] - Support for MySQL5 stored procedures
* [HHH-1260] - Configuration.mergeProperties()
** Task
* [HHH-1066] - Upgrade CGLIB to fix proxy memory leak
* [HHH-1242] - upgrade ANTLR to 2.7.6rc1
** Improvement
* [HHH-860] - insert ... select ... and version numbers
* [HHH-926] - TypeDef should be global
* [HHH-1138] - No ConstraintName when using PostgreSQL
* [HHH-1144] - Implement naming convention for temporary test failures
* [HHH-1153] - PropertiesHelper fails reading primitive values from hibernate-mapping when doc has whitespace
* [HHH-1182] - Access to filter metadata
* [HHH-1183] - Getting sql "plan" for DML operations
* [HHH-1197] - Support for HQL delete on MaxDB
* [HHH-1198] - post-insert event pass the entity wo the id field filled when the generator is identity
* [HHH-1213] - make JACC event listeners auto configurable (through initialize(Configuration))
* [HHH-1215] - Added support for LVARCHAR in InformixDialect
* [HHH-1218] - Add concat() function support to SAPDBDialect
* [HHH-1255] - ThreadLocalSessionContext and Session serialization
** Patch
* [HHH-967] - executeUpdate on StatelessSession
* [HHH-1172] - Missing configuration templates for the new MimerSQLDialect
** Deprecation
* [HHH-1229] - deprecate ability for entities to not define identifier properties
更多详细发布以及migration guide的细节,参看Hibernate网站.
Hibernate论坛讨论:
http://www.matrix.org.cn/topic.shtml?forumId=23
标签: