服务热线:13616026886

技术文档 欢迎使用技术文档,我们为你提供从新手到专业开发者的所有资源,你也可以通过它日益精进

位置:首页 > 技术文档 > JAVA > 新手入门 > 基础入门 > 查看文档

最新消息:hibernate 3.1发布

hibernate 3.1终于发布了。

 

1212hibernate发布了它的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网站.

扫描关注微信公众号