📄 changelog.txt
字号:
* SchemaUpdate now configures Dialect correctly (Michael Locher)* update() now working for classes with embedded composite ids* unsaved-value attribute now recognized for <composite-id>* fixed a minor problem where a very specific kind of SQL select did not qualify a column name* added Query.getQueryString()* fixed an NPE that sometimes occurred when hibernate.connection.username was not specified* fixed a bug in SchemaExport where foreign key constraints did not use qualified tablenames* added isFirst(), isLast() to ScrollableResults* fixed bug finding properties inherited by mapped interfacesChanges in version 1.2.1b (4.1.2003)------------------------------------* fixed an NPE that occurred while loading Hibernate classes in IBM JVM* arbitrary JNDI InitialContext properties may now be passed as hibernate.jndi.** fixed a problem where index column was not being nullified when an entity was removed from a one-to-manyChanges in version 1.2.1 (31.12.2002)-------------------------------------* Changed the MySQL mapping of Hibernate "timestamp" to MySQL "DATETIME" (Matthias Schwinn)* TransactionManagerLookup classes now define defaut UserTransaction JNDI names* support for WebSphere 5 (Venkat Srinivasan)* fixed a bug with query expressions of the form "foo.bar.id" for normalized mappings* experimental Blob/Clob support (thanks to Benoit Menendez and Mark Woon)* improvements to SchemaUpdater (Benoit Menendez)* deprecated suspendFlushes() / resumeFlushes() in favor of FlushMode* deprecated IDGenerationException in favor of IdentifierGenerationException* fixed a bug introduced in 1.2 final where cascade save-update was sometimes ignored for readonly="true" bags* fixed a bug caching null-valued one-to-one associations* CodeGenerator now supports <bag> and <joined-subclass>* fixed problem with TimestampType on DB2 (Jonas)* fixed a bug in generated SQL for collections with <joined-subclass> mappings (Robson Miranda)* fixed a bug caching Maps (Benoit Menendez)* SchemaExport now accepts a .jar file as a source of mappings* hibernate.dbcp.validationQuery setting (Juozas Baliuka)* hibernate.c3p0.validate setting* added Query.setTimeout()* setMaxResults() now behaves sensibly on SAPDB (Russel Smyth)* added Query.setProperties() and Query.getNamedParameters(), fixed a bug in Query.getReturnTypes()* CodeGenerator now generates equals() and hashCode() for composite-id classes (and toString() for all classes)* CodeGenerator now includes superclass properties in subclass constructors (Max Andersen)* added Hibernate.custom()Changes in version 1.2 final (7.12.2002)----------------------------------------* fixed a bug where uppercase IS NOT NULL, NOT IN, etc were not parsed correctly* addition to readonly="true" bags now no longer requires collection initialization* added ResinTransactionManagerLookup (Aapo Laakkonen)* improved exception message when setting null to primitive type (Max Andersen)* improved exception message for an unserializable identifier* support for overloaded setter methods (patch by Alex Staubo)* CodeGenerator support for <composite-element> (patch by Wolfgang Jung)Changes in version 1.2 beta 4 (29.11.2002)------------------------------------------* fixed bugs in one-to-many associations to a <joined-subclass>* LockMode class now properly serializable* exceptions thrown by proxied objects are now propagated correctly (rather than being wrapped)* made Calendar types compilable in JDK1.2* added --format and --delimiter options to SchemaExport (thanks to Richard Mixon)* fix for problem with class with no properties + native id generation + MS SQL Server contributed by Max Andersen* fixed a BAD bug in Hibernate.configure() (thanks to Rob Stokes)* CodeGenerator now recognizes <key-many-to-one> (patch by Wolfgang Jung)* CodeGenerator now recognizes <version> and <timestamp> (patch by Max Andersen)Changes in version 1.2 beta 3 (26.11.2002)------------------------------------------* fixed bug in UPDATE SQL generation for <joined-subclass> mapping strategy (fix by Robson Miranda)* support <composite-id> correctly in CodeGenerator (patch by Tom Cellucci)* fixed an exception that occurred with short qualified tablenames* added the polymorphism attribute to the <class> element* allow "not between", "not in" in query language* allow subqueries beginning with a from clause in query language* query expressions like "not (foo.bar.baz=1)" now translated to "(bar.baz!=1 and foo.bar=bar.id)"* support for PostgreSQL ~ operator (regular expression match)* load(id, lockMode) now working for normalized table mappings* now compiling properly under JDK1.2, 1.3 (fix by Tom Cellucci)* support for subcollections in query language: foo.bars[2]['index'], foo.bars[4].elements, foo.bars[0].size, etc.* added calendar and calendar_date types* find() queries may now return scalar values* component-type properties may appear in a select clause* ConnectionProviders now set isolation level before toggle autocommit* Iterator.next() now throws NoSuchElementException as per Iterator contract (fix by Alex Staubo)* database reverse engineering GUI tool contributed by Tom Cellucci* SchemaExport now generates column in mapping file order (rather than alphabetical order)* <joined-subclass> mappings working on Oracle (?)Changes in version 1.2 beta 2 (15.11.2002)------------------------------------------* support multi-argument SQL functions in queries* reintroduced deprecated form of update() with slightly altered semantics* fixed BAD problem in the generated SQL for certain queries* added OrionTransactionManagerLookupChanges in version 1.2 beta 1 (11.11.2002)------------------------------------------* Fixed a bad bug binding to JNDI with servers that use serialization in preference to getReference()* support for quoted SQL identifiers (patch by Jean-Francois Nadeau)* Hibernate.initialize() allows the user to force initialization of a proxy or persistent collection* fix to minor bug in CodeGenerator by Max Andersen* fixed a problem with outerjoin fetching of one-to-one associations defined on subclasses* fixed a minor problem with proxies of classes that override finalize()* finished work on normalized table mappings using <joined-subclass> declaration (only for databases with ANSI OUTER JOIN and CASE)* deprecated hibernate-mapping.dtd in favor of hibernate-mapping-1.1.dtd* reworked unmapped class / interface / table-per-concrete-class query functionality, fixing several problems* removed deprecated methods* deprecated findIdentifiers()* fixed some problems with embedded composite identifiers* fixed a bug cascading deletes to one-to-one associations* CodeGenerator now generates isFoo() style getters for boolean properties (patch by Aapo Laakkonen)* components may now have a nonpublic constructor (patch by Jon Lipsky)* changes / bugfixes to MapGenerator tool* experimental SchemaUpdate tool contributed by Christoph SturmChanges in version 1.1.8 (30.10.2002)-------------------------------------* full support for composite keys in query language* fixed bug where character type could not be null* fixed bug parsing collection filters like: "group by this.date"* fixed a bad bug where C3P0 properties were not always being used* replaced hibernate.use_jdbc_batch with hibernate.jdbc.batch_size* renamed some other properties to hibernate.jdbc.** made hibernate.show_sql settable from JMX (patch by Matas Veitas)* added SessionFactory.getAllClassMetadata(), getAllCollectionMetadata (patch by Max Andersen)* allowed use of concrete-class proxies with inherited classes ie. <subclass name="ConcreteClass" proxy="ConcreteClass">* HibernateException extends Apache commons lang NestableException (patch by Max Andersen)* <parent> subelement of <component> allows a component to get a reference back to owning entity* Query.setParameterList() to bind lists of values to "in (:list)"* Java constants may now be used in Queries* serialization of an object graph now removes all initialized proxies* several other improvements to proxy handling* proxies may now be used in JDK 1.2Changes in version 1.1.7 (25.10.2002)-------------------------------------* added Session.createFilter() * fixed a bug parsing queries with properties of form idXXX (introduced in 1.1.6)* fixed a bug parsing queries with the id property named in the select clause (introduced in 1.1.6)* fixed a bug dirty checking big_decimal (fix by Andrea Aime)Changes in version 1.1.6 (24.10.2002)-------------------------------------* classes without subclasses may now declare themselves as their own proxy* outer-join attribute now working for component properties and <many-to-many>* outer-join="true" will now force outerjoin loading for an association even if associated class has a proxy* enabled oracle-style outerjoins for SAP DB* version properties may now be long or short (previously always integer)* discriminators may now be boolean type* fixed the foo.bar.id.baz syntax for queries doing composite-key joins* fixed an NPE that occurred when no Dialect was specified* CodeGenerator now fully proxy-aware (patch by Max Andersen)* removed dependency upon trove4jChanges in version 1.1.5b (20.10.2002)--------------------------------------* fixed an NPE that occurred on JMX startup* smarter fetching for one-to-one associationsChanges in version 1.1.5 (19.10.2002)-------------------------------------* added built-in currency and timezone types* hibernate-mapping-1.1.dtd- added <index-many-to-many> and <composite-index> subelements of <map>- added <key-property> and <key-many-to-one>- renamed "save/update" to "save-update"- tightened up the dtd (now using enumerated attribute types)* enabled multi-column map indexes (ie. key of a Map)* composited-id may now include a many-to-one association* improvements to Databinder contributed by Brad Clow* fixed bugs in minIndex, maxIndex, minElement, maxElement* fixed a problem with JTATransaction in a JBoss BMT bean* added addMapResource() to the MBean* minor improvements to Configuration* more accurate cache entry timestamping to increase the likelihood of cache hits* JCS cache may now be used with JTATransaction in WebSphere, Weblogic, JBoss (thanks to Matt Baird)* improvements to CodeGenerator contributed by Andrea Aime* stopped a TransientObjectException that was being thrown when it shouldn't be* re-enabled primary key export for tables of sets with not-null elements* hibernate.statement.fetch_size configuration contributed by Matas Veitas* added Interceptor application callback interface* added metadata package to expose persistence metadata to the application* changed filter() argument type from Collection to Object to allow filtering of arrays and Maps* added <column> index attribute to allow table indexes to be specified in mapping document* implemented support for queries against interfaces and abstract superclassesChanges in version 1.1.4b (4.10.2002)-------------------------------------* fixed problems for JDK1.2 (thanks to Chris Webb)Changes in version 1.1.4 (4.10.2002)------------------------------------* New locking API* disabled 2-phase load for objects contained in Sets (because they should be initialized before equals() or hashCode() is called)* fixed a bug where non-serializable cache entries could not be cached by JCS auxiliary cache* fixed a bug in dirty checking PersistentEnums* deprecated getID() in favor of getIdentifier() (for mainly cosmetic reasons)* HibernateService may now be subclassed to obtain mapping files by some other mechanism (patch by Chris Winters)Changes in version 1.1.3 (1.10.2002)------------------------------------* new 2-phase loading process (replaces complicated "deferred" loading process)* new ScrollableResults interface for efficiently navigating Query results* removed deprecated interfaces* created engine package to hold "internal" APIs (ie. the external contract of the impl package)* fixed bug where a component defined before all collections in the mapping file caused collections to not be persisted (thanks to Michael Link)* fixed a bug where cascaded saveOrUpdate was ignoring the unsaved-value setting* faster Timestamp dirty checkingChanges in version 1.1.2 (29.9.2002)------------------------------------* added persister attibute of class mapping to support custom persistence strategies* Support for Oracle outerjoins contributed by Jon Lipsky* Reworked versioning, fixing bugs (and tightening tests)* Fixed a bug where an ObjectNotFoundException was thrown for null one-to-one associations* fixed problems with timestamps introduced in 1.1.1* added batch file for running demoChanges in version 1.1.1 (27.9.2002)------------------------------------* Major refactoring / abstraction of persistence logic* added maxIndex, minIndex, maxElement, minElement properties for collections* added support for class names in where clause of queries* fixed a bug where an association could become null after caching* fixed a bug where an NPE could occur for a null component* fixed minor bugs in SortedMap, SortedSet* object type is now cacheable
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -