📄 changelog.txt
字号:
* support for Dialect-specific SQL functions in HQL select clause (David Channon)* added Session.clear()Changes in version 2.0.2 (2.8.2003)-----------------------------------* subqueries may now use HAVING and GROUP BY clauses* fixed a bug with setMaxResults(), setFirstResult() in HSQL (introduced in 2.0.1)* fixed a bug in Set.removeAll()* fixed a bug in SchemaUpdate (Mathias Bogaert)* added weak typing functionality to ScrollableResults* fixed a bug with "calendar" versioning in IBM JDK1.3.1 (workaround for JDK bug)* fixed a bug in mapping DTD that caused a problem for hbm2java (Max Andersen)* fixed a bug querying nested components* SQL generation now prefers ANSI-style inner joins to theta inner joins* fixed a bug caching collection references loaded using FETCH* fixed a bug with composite foreign keys in normalized table mappings (Tom Sedge)* limit support for Interbase (Ludovic Orban)* added where attribute to <class> mappings* added cascade="all-delete-orphan" for collection mappings* fixed a bug binding named parameters with setMaxResults()/setFirstResults()* fixed some minor bugs in HQL translator* fixed a long-standing bug where a <key-many-to-one> could not be dereferenced in HQL* SQL UPDATEs now occur in a predictable order (same order as objects were loaded)* support for SELECT ... FOR UPDATE in SAPDB* fixed bug where Criteria queries against a subclass also returned superclass instances* fixed a very rare bug where an update could get lost with normalized mappings* fixed a problem with proxied class heirarchies rooted at an interface or abstract class* where and order-by attributes now allow SQL function calls and subselects* added formula attribute to <property> tag, to allow "computed" properties* fixed a bug where PreparedStatements were sometimes not closed when an exception occured* workaround for a problem with <joined-subclass> and Interceptor.onFlushDirty()Changes in version 2.0.1 (17.6.2003)------------------------------------* fixed some problems with new dialect-specific LIMIT clauses* improved parsing of collection where attribute* made one-to-many bags more efficient (they are really sets!)* allowed type="calendar" for <version> properties* fixed a bug with locking a versioned composite-id class* refresh() may now take a transient instance* added ProxoolConnectionProvider (Martin Crawford)* fixed some minor JCA issues (Mike Mosiewicz)* fixed a bug with FETCH and sorted associations* improved performance of SchemaUpdate tool (Teodor Danciu)* fixed a bug in Configuration.addFile(String) (Ken Geis)* tidied up and documented hbm2ddl package (esp. Ant tasks)* deprecated CounterGenerator in favor of IncrementGenerator* improved logging during initialization* deprecated "vm" in favor of "increment" id generatorChanges in version 2.0 final (8.6.2003)---------------------------------------* added "fetch" keyword to HQL* added evict() methods to SessionFactory for JVM-level cache* destroy caches from SessionFactory.close()* fixed an NPE in Session.evict() (Simon Spero)* added Query.setLockMode()* tidied up implementation of Loader* release ResultSets more aggressively* miscellaneous improvements to some Dialects* hbm2java now honors the sort attribute (Max Andersen)* added exceptions to Interceptor interface* fixed problem with setMaxResults(), setFirstResult() in Oracle (introduced in beta 6)* fixed some SQL generation that was a problem for Sybase (Dietmar Posselt)* fixed some problems with ODMG API (Oliver Gries)* added JOTMTransactionManagerLookup (Low Heng Sin)* added JOnASTransactionManagerLookup (?)* fixed a bug in WeblogicTransactionManagerLookup (Mathias Bogaert)* added Criteria.setFetchMode()* added new Expressions* much more elegant/robust handling of quoted identifiers* renamed Hibernate.association() to Hibernate.entity()* added dynamic-update and dynamic-insert mapping attributes* fixed a bug with refresh() of objects with collections* HQL aliases now optional - "from Cat" now legal* platform-independant quoting of identifiers using backticksChanges in version 2.0 beta 6 (10.5.2003)-----------------------------------------* fixed a bug querying one-to-many associations to a <joined-subclass>* added support for dialect-specific LIMIT-style clauses (David White)* added <idbag>* fixed bug in hashCode() of persistent collections* <joined-subclass> now supported in HSQL (Wolfgang Jung)* fixed problem for XML parsers which ignore default values declared in DTD* <meta> tags can now be set to not be inheritable* fixed bug in Expression.in()* fixed an NPE that could occur from update() in very strange cases (Chris Nockleberg)* disabled outer-join back to owner when initializing one-to-many (performance improvement)* fixed a bug in Query.setParameterList() (Nick Heudecker)* improved JCA support (Igor Fedorenko)Changes in version 2.0 beta 5 (21.4.2003)-----------------------------------------* Informix support (Steve Molitor)* fixed a bug parsing "select new ... " queries* deprecated "object" type in favor of <any> mappings* added Session.contains()* added extra DBCP config options (Alex Burgel)* SessionFactory.close() now unbinds from JNDI* added Session.evict()* got rid of an unnecessary SQL DELETE issued when an empty collection was dereferenced* where attribute of collection mappings no longer ignored for deletion* improved logging* support polymorphic associations to "embedded" composite id classes* various bugfixes to collection filter parameter binding* fixed some problems with proxies introduced in earlier beta versions* fixed bug with self-reference in the case of identity column id generation* added hibernate.cglib.use_reflection_optimizer property* added nonstrict-read-write cache* fixed an SQL-generation bug in new Criteria API* added CompositeUserType* sequence and table id generators now aware of default-schema* added update and insert attributes to <component> element* fixed a bug with expressions like elements(foo.bar.baz) in where clause* more efficient Set initialization (two-phase load)* removed support for hibernate.query.imports and added <import> mapping element* fixed problem in DBCP connection validation and added new config properties* hbm2java can now generate finder methods for persistent objects (experimental) (Matt Hall)* hbm2java small fixes/refactorings to support generating more than one file per persistent object (Max Andersen)Changes in version 2.0 beta 4 (22.3.2003)-----------------------------------------* Major HQL improvements- from "Foo as foo join foo.bars as bar" instead of "from foo in class Foo, bar in elements(foo.bars)"- "select new Foo(bar.name, bar.amount) from ...."- outer and full join support* Query methods now return this, to allow chaining* FrontBase support (Run Lussier)* experimental JCA support (Daniel Bradby)* hbm2java now can generate Beans style property events (Klaus Zimmermann)* support SQL identifiers quoted with []* fixed bug with PostgreSQL* name attribute now optional in .cfg.xml* support for postgres ilike operator (M Lang)* squash warnings with GNU JAXP (Chris Nockleberg)* fixed a bug in Query.setParameterList()* Ingres support (Ian Booth)* collections now detect changes not made via wrapper for newly saved objects* new (experimental) Criteria + Expression APIs* Query.setEntity(), etc, now aware of proxies (also improved hueristics for guessing Type)* added Hibernate.isInitialized()* detect changes made directly to newly-wrapped collection (ie. not via the wrapper)* added Hibernate.refresh(Object, LockMode)* update(), saveOrUpdate() no longer initialize a proxy* fixed problems with Sybase* added force attribute to <discriminator>* improved handling of null discriminator-value* support SQL-style '' escape for HQL stringsChanges in version 2.0 beta 3 (24.2.2003)----------------------------------------* collections now represent null elements as a missing row* collections now deserialize correctly (fix for bug in beta 2)* standardised on dom4j for XML parsing* fixed bugs in collection caching (an exception occurred for some sorted collections and some kinds of maps)* allowed null discriminators* set autocommit to true in SchemaUpdate* fixed a stack overflow that could occur in toString() of classes created with hbm2java (Max Andersen)* fixed a bug where composite-element <parent> property was not being set after retrieval from cache* added where attribute to collection mappings to allow filtering* fixed a exception that occurred when wrapping collections with sort="MyComparator" (Jason Horne)* objects with mutable="false" are now never updated* fixed an exception that occurs with <key-many-to-one> association to a class with a composite id (Stefano Travelli)* added SchemaExport Ant task (Rong C Ou)* integrated latest CGLIB release (Juozas Baliuka)- added support for new CGLIB reflection optimizer (Juozas Baliuka)* improved query cache algorithm (Who?)* fixed a bug in "object" type* Lists and arrays now represent null elements as a missing row* fixed a bug in Hibernate PreparedStatement cache where maxRows and fetchSize were not cleared before re-caching* fixed a bug in HibernateService that caused a restart to fail* added SybaseAnywhereDialect (?)* added SessionFactory.close()Changes in version 2.0 beta 2 (2.2.2003)----------------------------------------* property column names may now be of any length (Mark Woon)* fixed problem where CodeGenerator created private get/set pairs (Max Andersen)* fixed all silly bugs in Configuration.configure()* efficient collection updates from Session.update()* added <jcs-class-cache> and <jcs-collection-cache> elements to hibernate-configuration.dtd* support for normalized mappings for databases with DECODE instead of CASE (Simon Harris)* added Oracle9Dialect* added JRun4TransactionManagerLookup (Joseph Bissen)* fixed JDBCException to keep reference to underlying SQLException* fixed a bug loading many-to-many associations with a repeated column name* fixed a bug in ShortType* added IngresDialect (Ian Booth)* added --config option to SchemaExportChanged in version 2.0 beta 1 (28.1.2003)-----------------------------------------* renamed packages to net.sf.hibernate.** all API methods now wrap SQLExceptions* removed support for toplevel collections / subcollections* created hibernate-mapping-2.0.dtd- renamed 'readonly' attribute to 'inverse'- renamed 'role' attribute to 'name'- changed default value for 'unsaved-value' to "null"- added mandatory 'name' attribute to <param>- added <meta> tag* created hibernate-configuration-2.0.dtd* brand new Configuration API, including exposed mapping package* completely reworked IdentifierGenerator framework- built-in generators now auto-detect the type (so integer identity columns are supported, for example)- parameters are now named- built-in strategies are renamed* expanded Interceptor interface* removed exceptions that occur if an object is saved or deleted multiple times in a session* added <parent> subelement to <composite-element> and <nested-composite-element>* collections except for <bag>s now implement by-value equals() and hashCode()* removed all deprecated methods* added Session.refresh()* added dynamic-update functionality* added update and insert attributes to <property> and <many-to-one> mappings* added elements(), indices(), size(), maxelement(), minelement(), maxindex(), minindex() collection functions to query language* huge improvements to CodeGenerator (Max Andersen)* enhanced outerjoin fetching support in queries* experimental support for DynaBeans as componentsChanges in version 1.2.3 (28.1.2003)------------------------------------* fixed a recently-introduced problem with Timestamp dirty checking* added createClob(), createBlob() for streams (Benoit Menendez)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -