hibernate 3.1終於發布了。
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.
seein the doc/reference directory.
required jars are distributed in the lib subdirectory.
latest documentation:
bug reports:
hibernate jira (preferred)
free technical support:
commercial support and training:
/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/
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
-------------------------------------------
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 entityw/ 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