📄 changelog.txt
字号:
* query language identifiers now case sensitive (bugfix for case sensitive SQL dialects)* username/password now optional for datasource (contributed by Emmanuel Bourg)* much improved API documentation* binary types now saved using streams if hibernate.use_streams_for_binary=true (contributed by Jon Lipsky)* MySQL Strings now mapped to TEXT columns if length > 255 (contributed by Christoph Beck)Changes in version 0.9.14 (4.6.2002)-------------------------------------* lifecycle objects - properties now have a cascade attribute to cascade save, update, delete* composite id properties may now be used in queries eg. foo.id.bar (contributed by Jon Lipsky)* slightly changed semantics of update() so it now also save()s new transient instances* Session now flushes() itself less often before query execution (performance enhancement)* fixed problem where Session.save() returned null instead of the natively generated id* fixed bug with object identity for cached classes* fixed bug where delete(x) could not be called after update(x)* MUCH improved Exception hierarchy* deprecated create()* added sql-type attribute to <column> tag to allow user to override default type mapping* deeper fetching with use_outer_join* new ConnectionProvider framework* fixed a bug where blocking cache could return stale data* now working again in JDK1.2.2* fixed problem with not-null associations + native key generation* minor changes to PersistentLifecycle interface* initial, minimal version of new Transaction mechanism* MUCH improved documentationChanges in version 0.9.13 (25.5.2002)-------------------------------------* Datastore.storeResource() to load mapping files from classpath* fixed a problem executing under JDK1.3 when compiled from JDK1.4* documentation improvementsChanges in version 0.9.12 (24.5.2002)------------------------------------* Session.update() methods to update a persistent instance from transient copy (as requested by many users)* discriminator column name, type, length, etc now configurable by <discriminator> tag in mapping file* discriminator column values configurable by discriminator-value attribute of <class> and <subclass> tags* added Session.insert(object, id) for classes with no identifier property* fixed another bad bug with connection handling (fix by Anton van Straaten)* fixed a problem with deferred loading* fixed a problem with sorted collections (fix by Anton van Straaten)* nested collections of objects now require 2 SQL SELECTs to load, rather than size+1* session is NO LONGER atomic - application should discard session when exception occurs* fixed problem where character type was mapped to VARCHAR column* arrays of proxies now possible by using new element-class attribute of <array> tag* fixed various problems with proxies* added proxy generation tool* proxy unit tests* replaced two RuntimeExceptions with checked exceptions* made hibernate.username/hibernate.password optional for DriverManager* CodeGenerator now supports all hibernate basic types* much improved caching algorithm for compiled queries* may now specify properties simply by placing hibernate.properties in classpath* documentation improvements + fixes* --abstract switch to MapGenerator (contributed by Eric Everman)Changes in version 0.9.11 (12.5.2002)------------------------------------* fixed major bug with connection handling (fix by Anton van Straaten)Changes in version 0.9.10 (11.5.2002)------------------------------------* set a default schema name using SessionFactory property hibernate.default_schema* code generator tool contributed by Brad Clow (www.workingmouse.com)* lazy object initialization under JDK 1.3 and above* fixed some error messages to go to logging framework, not stdout* new system property hibernate.show_sql=true logs all executed SQL to stdout* integration of bugfixes in c3p0* wrap IllegalArgumentExceptions in HibernateExceptions* added ObjectNotFoundException and StaleObjectStateException* fixed a bug when using schemas* new caching strategy (and documented cache feature)Changes in version 0.9.9 (25.4.2002)-----------------------------------* sorted sets and maps (thanks to Doug Currie)* mapping files may now be loaded using getResourceAsStream() (thanks to Markus Meissner)* hibernate messages now logged by Apache commons-logging* default hi/lo generator table now has column named "next_id", instead of "next"* query language may now refer to identifier property name (eg. foo.fooKey as alternative to foo.id)* hibernate.jndi_class, hibernate.jndi_url now optional when using datasource* hibernate now throws an exception if you try to persist an object with a reference to a transient object* improved connection pooling algorithm (hibernate.pool_size limits pooled conections)* very experimental integration of c3p0 JDBC connection pool (http://sourceforge.net/projects/c3p0)* now compiles under JDK 1.2.2* fixed bug persisting null components* fixed bug where cached prepared statements were not cleaned up after disconnect() session* fixed a null pointer exception in MappingByReflectionChanges in version 0.9.8 (13.3.2002)-----------------------------------* supports database native key generation in Sybase, MS SQL, MySQL, DB2, Hypersonic (contributed by Christoph Sturm)* supports Mckoi (dialect contributed by Doug Currie)* supports Progress (dialect contributed by Phillip Baird)* added exceptions to catch Session reentrancy from PersistentLifecycle.load() + store()* experimental cross-transaction cache* Session.lock() and Session.loadWithLock() for pessimistic locking* HiLoGenerators may now use their own DriverManager connection properties + may now use same table across diff mapping files* Session.flush(), Session.close() and Session.connection() replace Session.commit(), Session.cancel()* Session.disconnect() and Session.reconnect() for long transactions* added single JVM id generators vm.long, vm.hex* added unique column constraints to mappings* extensions to IDGenerator framework* support sequence-style ID generation in Oracle, PostgreSQL, DB2, Interbase* fixed problem where subcollections of a collection that changed roles would be deleted* changed class loading strategy to be compatible with JBoss* stopped queries retrieving unnecessary columns* mutable types (binary + serializable) now always detected as dirtyChanges in version 0.9.7 (26.2.2002)-----------------------------------* save() now safe from foreign key violations (so create() is no longer preferred method of adding data)* delete() now completely safe from foreign key violations - it no longer matters what order objects are deleted in* removed Session.copy()* hilo generators now NOT for use with application server datasources* fixed two intermittent bugs in queries* fixed a problem where components not detected as dirty* fixed broken hilo generator which was not updating database* fixed a minor bug when hibernate.use_outer_join was setChanges in version 0.9.6 (24.2.2002)-----------------------------------* experimental XML generation* added support for bi-directional associations (one-to-set, set-to-set) with <set readonly="true"> config* reflective generation of mappings tool was contributed by Doug Currie* Session operations now atomic, so exceptions are recoverable* made ID properties optional in persistent classes* support for multiple schemas through schema attribute of <hibernate-mapping>, <class>, <set>, <map>, etc.* auto-creation of tables for hilo id generators (restriction: cannot use same table from more than one mapping file)* added some more assertions to catch user "mistakes" like deleting transient or saving persistent objects* major rework of collections and fixed some bad bugs* lazy initialization re-enabled for one-to-many associations (thanks to Georg Schneemayer)* fixed a problem in the mapping DTD to allow nested components in collections* fixed a BAD bug in RelationalDatabaseSession when loading objects with PersistentLifecycle callbacks (thanks to Paul Szego)* fixed problems with quoted strings in query language* fixed a bug where a stack overflow occurred instead of HibernateException thrown (thanks to Georg Schneemayer)* fixed a bug deleting updated versioned data* fixed some problems with name generation for indexes + foreign keys* fixed problem in Sun JDK 1.4 (only?) where IllegalArgumentException was not handled* minor improvements to handling of dates and times* HiLoGenerator now safe for all transaction isolation levels + safe when rollback occurs* noticed and fixed obscure piece of nonthreadsafe code outside of core persistence engine* removed unnecessary drop constraints for some dialects* MUCH more comprehensive test suite* changed some terminology used in documentation* added javadoc for API classes* commented the mapping DTDChanges in version 0.9.5 (8.2.2002)-----------------------------------* supports HypersonicSQL (dialect contributed by Phillip Baird)* supports Microsoft SQL server (with third party JDBC driver)* proper command-line tool for schema generation and export* deprecated the interface cirrus.hibernate.Persistent (due to popular demand)* changes to hibernate-mapping DTD (required to support optional Persistent interface):- deprecated <property type="package.PersistentClassName"/> in favor of <many-to-one class="package.PersistentClassName"/>- deprecated <element type="package.PersistentClassName"/> in favor of <many-to-many class="package.PersistentClassName"/>- deprecated <property role="..."/> in favor of <collection role="..."/>- deprecated <element role=".."/> in favor of <subcollection role="..."/>- deprecated <association> in favor of <one-to-many>* class attribute optional in <component> and <composite-id> tags (determined by reflection)* querying components of components now supported* one-shot table creation (no use of unportable "alter table")* time dataype support* reflective mappings of java.sql.Time, java.sql.Timestamp, java.sql.Date* fixed error msg thrown when class is missing a method but has a superclass* property names now conform to JavaBean spec ("foo" instead of "Foo"). Note that "Foo" still works* constructors of persistent classes may now be non-public* collection indexes now mapped to not-null columns* fixed obscure bug with querying collections inside components of components* fixed potential bug related to cacheing of compiled queries* major rewrite of code relating to O-R mappings* Session.copy() and Session.equals() as convenience for users* fixed repeated invocations of hasNext() on iterator + iterators now always work with distinct SQL resultsets* McKoi dialect was contributed by Gabe HicksChanges in version 0.9.4 (29.1.2002)------------------------------------* fixed BAD bug where XML parsing would not work for parsers other than Xerces - thanks to Christian Winkler* added some more assertions to catch user "mistakes" like changing ids or reusing existing idsChanges in version 0.9.3 (27.1.2002)------------------------------------* repackaged (corrupted DatasourceConnectionProvider.class)* better exception reporting using datasource* added Datastore.storeClass() which looks for mapping file in classpath (class foo.Bar -> foo/Bar.hbm.xml)* improved documentationChanges in version 0.9.2 (25.1.2002)------------------------------------* iterate over query results (lazy instantiation of query results)* added "select foo, bar" style queries returning multiple objects per row* delete by query* composite key support* outer joins for faster (?) loading of associated objects ( set "hibernate.use_outer_join" to "true" )* connection pooling when using DriverManager* foreign key constraint from unkeyed collection table to owner entity table* improved drop tables script execution (still not infallible)* added <composite-element> tag* added not-null properties and elements* added an optimisation for dates and components* made some XML attributes optional* fixed errors in documentation + documented some extra features* bugfix: store() not getting called on lifecycle interface* bugfix: schema generation for indexed associations* added many testsChanges in version 0.9.1 (20.1.2002)------------------------------------Too many to listversion 0.8.1-------------Initial alpha version
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -