You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(22) |
Nov
(308) |
Dec
(131) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(369) |
Feb
(171) |
Mar
(236) |
Apr
(187) |
May
(218) |
Jun
(217) |
Jul
(127) |
Aug
(448) |
Sep
(270) |
Oct
(231) |
Nov
(422) |
Dec
(255) |
2004 |
Jan
(111) |
Feb
(73) |
Mar
(338) |
Apr
(351) |
May
(349) |
Jun
(495) |
Jul
(394) |
Aug
(1048) |
Sep
(499) |
Oct
(142) |
Nov
(269) |
Dec
(638) |
2005 |
Jan
(825) |
Feb
(1272) |
Mar
(593) |
Apr
(690) |
May
(950) |
Jun
(958) |
Jul
(767) |
Aug
(839) |
Sep
(525) |
Oct
(449) |
Nov
(585) |
Dec
(455) |
2006 |
Jan
(603) |
Feb
(656) |
Mar
(195) |
Apr
(114) |
May
(136) |
Jun
(100) |
Jul
(128) |
Aug
(68) |
Sep
(7) |
Oct
(1) |
Nov
(1) |
Dec
(8) |
2007 |
Jan
(4) |
Feb
(3) |
Mar
(8) |
Apr
(16) |
May
(5) |
Jun
(4) |
Jul
(6) |
Aug
(23) |
Sep
(15) |
Oct
(5) |
Nov
(7) |
Dec
(5) |
2008 |
Jan
(5) |
Feb
(1) |
Mar
(1) |
Apr
(5) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(3) |
Dec
(2) |
2013 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <one...@us...> - 2003-04-25 03:41:09
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/loader Modified Files: AbstractEntityLoader.java CollectionInitializer.java CollectionLoader.java CriteriaLoader.java EntityLoader.java Loader.java OneToManyLoader.java OuterJoinLoader.java SimpleEntityLoader.java UniqueEntityLoader.java Log Message: JavaDoc refresh, including @author tags Index: AbstractEntityLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/AbstractEntityLoader.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AbstractEntityLoader.java 8 Apr 2003 14:07:12 -0000 1.3 --- AbstractEntityLoader.java 25 Apr 2003 03:40:34 -0000 1.4 *************** *** 11,15 **** import net.sf.hibernate.util.StringHelper; ! public abstract class AbstractEntityLoader extends OuterJoinLoader { --- 11,21 ---- import net.sf.hibernate.util.StringHelper; ! /** ! * Abstract superclass for entity loaders that use outer joins ! * ! * @see CriteriaLoader ! * @see EntityLoader ! * @author Gavin King ! */ public abstract class AbstractEntityLoader extends OuterJoinLoader { Index: CollectionInitializer.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/CollectionInitializer.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CollectionInitializer.java 5 Jan 2003 02:11:21 -0000 1.4 --- CollectionInitializer.java 25 Apr 2003 03:40:34 -0000 1.5 *************** *** 13,16 **** --- 13,17 ---- * @see CollectionLoader * @see OneToManyLoader + * @author Gavin King */ public interface CollectionInitializer { Index: CollectionLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/CollectionLoader.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** CollectionLoader.java 2 Apr 2003 01:06:53 -0000 1.11 --- CollectionLoader.java 25 Apr 2003 03:40:34 -0000 1.12 *************** *** 21,24 **** --- 21,25 ---- /** * Loads a collection of values or a many-to-many association + * @author Gavin King */ public class CollectionLoader extends OuterJoinLoader implements CollectionInitializer { Index: CriteriaLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/CriteriaLoader.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CriteriaLoader.java 8 Apr 2003 14:07:12 -0000 1.3 --- CriteriaLoader.java 25 Apr 2003 03:40:34 -0000 1.4 *************** *** 20,24 **** //TODO: this class depends directly upon CriteriaImpl, in the impl package ... add a CriteriaImplementor interface ! public class CriteriaLoader extends AbstractEntityLoader { --- 20,29 ---- //TODO: this class depends directly upon CriteriaImpl, in the impl package ... add a CriteriaImplementor interface ! /** ! * A <tt>Loader</tt> for <tt>Criteria</tt> queries. Note that criteria queries are ! * more like multi-object <tt>load()</tt>s than like HQL queries. ! * ! * @author Gavin King ! */ public class CriteriaLoader extends AbstractEntityLoader { *************** *** 79,82 **** --- 84,95 ---- return row[ row.length-1 ]; }; + + /** + * Navigate associations, returning the aliased columns. Adds extra table + * table joins to this loader + */ + public String[] toColumns(String pathExpression) { + return null; + } } Index: EntityLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/EntityLoader.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** EntityLoader.java 8 Mar 2003 06:31:23 -0000 1.13 --- EntityLoader.java 25 Apr 2003 03:40:34 -0000 1.14 *************** *** 16,19 **** --- 16,20 ---- /** * Load an entity using outerjoin fetching to fetch associated entities. + * @author Gavin King */ public class EntityLoader extends AbstractEntityLoader implements UniqueEntityLoader { Index: Loader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/Loader.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Loader.java 19 Apr 2003 03:26:08 -0000 1.18 --- Loader.java 25 Apr 2003 03:40:34 -0000 1.19 *************** *** 34,37 **** --- 34,39 ---- * functionality would be directly accessed by client code. (Hence, all methods of this class * will eventually be declared <tt>protected</tt>.) + * + * @author Gavin King */ Index: OneToManyLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/OneToManyLoader.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** OneToManyLoader.java 2 Apr 2003 01:06:53 -0000 1.12 --- OneToManyLoader.java 25 Apr 2003 03:40:35 -0000 1.13 *************** *** 22,25 **** --- 22,26 ---- /** * Loads one-to-many associations + * @author Gavin King */ public class OneToManyLoader extends OuterJoinLoader implements CollectionInitializer { Index: OuterJoinLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/OuterJoinLoader.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** OuterJoinLoader.java 5 Apr 2003 07:13:38 -0000 1.15 --- OuterJoinLoader.java 25 Apr 2003 03:40:35 -0000 1.16 *************** *** 28,31 **** --- 28,32 ---- * containing all properties of those classes. Tables are joined using an ANSI-style left outer * join. + * @author Gavin King, Jon Lipsky */ public /*abstract*/ class OuterJoinLoader extends Loader { Index: SimpleEntityLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/SimpleEntityLoader.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** SimpleEntityLoader.java 20 Jan 2003 12:48:13 -0000 1.7 --- SimpleEntityLoader.java 25 Apr 2003 03:40:35 -0000 1.8 *************** *** 16,19 **** --- 16,20 ---- /** * Loads entity instances one instance per select (ie. without outerjoin fetching) + * @author Gavin King */ public final class SimpleEntityLoader extends Loader implements UniqueEntityLoader { Index: UniqueEntityLoader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/loader/UniqueEntityLoader.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** UniqueEntityLoader.java 5 Jan 2003 02:11:21 -0000 1.3 --- UniqueEntityLoader.java 25 Apr 2003 03:40:35 -0000 1.4 *************** *** 8,11 **** --- 8,15 ---- import net.sf.hibernate.engine.SessionImplementor; + /** + * Loads entities for a <tt>ClassPersister</tt> + * @author Gavin King + */ public interface UniqueEntityLoader { /** |
From: <one...@us...> - 2003-04-25 03:41:09
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/mapping Modified Files: ForeignKey.java OneToMany.java Log Message: JavaDoc refresh, including @author tags Index: ForeignKey.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping/ForeignKey.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ForeignKey.java 14 Jan 2003 13:42:15 -0000 1.4 --- ForeignKey.java 25 Apr 2003 03:40:35 -0000 1.5 *************** *** 31,35 **** public void setReferencedTable(Table referencedTable) throws MappingException { if ( referencedTable.getPrimaryKey().getColumnSpan()!=getColumnSpan() ) ! throw new MappingException("Foreign key must have same number of columns as referenced primary key"); Iterator fkCols = getColumnIterator(); --- 31,35 ---- public void setReferencedTable(Table referencedTable) throws MappingException { if ( referencedTable.getPrimaryKey().getColumnSpan()!=getColumnSpan() ) ! throw new MappingException("Foreign key must have same number of columns as referenced primary key"); Iterator fkCols = getColumnIterator(); Index: OneToMany.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping/OneToMany.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** OneToMany.java 27 Jan 2003 07:12:03 -0000 1.5 --- OneToMany.java 25 Apr 2003 03:40:35 -0000 1.6 *************** *** 4,9 **** import net.sf.hibernate.MappingException; import net.sf.hibernate.type.EntityType; ! public class OneToMany { //TODO: actually keep a list of columns --- 4,10 ---- import net.sf.hibernate.MappingException; import net.sf.hibernate.type.EntityType; + import net.sf.hibernate.util.Stringable; ! public class OneToMany extends Stringable { //TODO: actually keep a list of columns *************** *** 24,31 **** } - /** - * Sets the type. - * @param type The type to set - */ public void setType(EntityType type) { this.type = type; --- 25,28 ---- |
From: <one...@us...> - 2003-04-25 03:41:09
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/metadata In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/metadata Modified Files: ClassMetadata.java CollectionMetadata.java Log Message: JavaDoc refresh, including @author tags Index: ClassMetadata.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/metadata/ClassMetadata.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ClassMetadata.java 29 Mar 2003 04:08:48 -0000 1.4 --- ClassMetadata.java 25 Apr 2003 03:40:35 -0000 1.5 *************** *** 11,14 **** --- 11,15 ---- * * @see net.sf.hibernate.SessionFactory#getClassMetadata(Class) + * @author Gavin King */ public interface ClassMetadata { Index: CollectionMetadata.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/metadata/CollectionMetadata.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CollectionMetadata.java 5 Jan 2003 02:11:22 -0000 1.3 --- CollectionMetadata.java 25 Apr 2003 03:40:35 -0000 1.4 *************** *** 6,9 **** --- 6,11 ---- /** * Exposes collection metadata to the application + * + * @author Gavin King */ public interface CollectionMetadata { |
From: <one...@us...> - 2003-04-25 03:41:08
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/jmx In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/jmx Modified Files: HibernateService.java HibernateServiceMBean.java SessionFactoryStub.java Log Message: JavaDoc refresh, including @author tags Index: HibernateService.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/jmx/HibernateService.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** HibernateService.java 19 Apr 2003 03:26:07 -0000 1.8 --- HibernateService.java 25 Apr 2003 03:40:34 -0000 1.9 *************** *** 24,27 **** --- 24,28 ---- * @see HibernateServiceMBean * @see net.sf.hibernate.SessionFactory + * @author John Urberg */ public class HibernateService implements HibernateServiceMBean { Index: HibernateServiceMBean.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/jmx/HibernateServiceMBean.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** HibernateServiceMBean.java 26 Jan 2003 01:33:35 -0000 1.4 --- HibernateServiceMBean.java 25 Apr 2003 03:40:34 -0000 1.5 *************** *** 7,10 **** --- 7,11 ---- * Hibernate JMX Management API * @see HibernateService + * @author John Urberg */ public interface HibernateServiceMBean { *************** *** 88,92 **** * The name of the dialect class to use in this <tt>SessionFactory</tt> * @param String fully qualified class name of <tt>Dialect</tt> subclass ! * @see net.sf.hibernate.sql.Dialect */ public void setDialect(String dialect); --- 89,93 ---- * The name of the dialect class to use in this <tt>SessionFactory</tt> * @param String fully qualified class name of <tt>Dialect</tt> subclass ! * @see net.sf.hibernate.dialect.Dialect */ public void setDialect(String dialect); Index: SessionFactoryStub.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/jmx/SessionFactoryStub.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** SessionFactoryStub.java 22 Feb 2003 06:42:08 -0000 1.7 --- SessionFactoryStub.java 25 Apr 2003 03:40:34 -0000 1.8 *************** *** 32,35 **** --- 32,36 ---- * with JNDI and the actual <tt>SessionFactoryImpl</tt> built upon first * access. + * @author Gavin King */ public class SessionFactoryStub implements SessionFactory { |
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/id Modified Files: Assigned.java Configurable.java CounterGenerator.java ForeignGenerator.java IdentifierGenerationException.java IdentifierGenerator.java IdentifierGeneratorFactory.java IdentityGenerator.java PersistentIdentifierGenerator.java SequenceGenerator.java SequenceHiLoGenerator.java TableGenerator.java TableHiLoGenerator.java UUIDGenerator.java UUIDHexGenerator.java UUIDStringGenerator.java Log Message: JavaDoc refresh, including @author tags Index: Assigned.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/Assigned.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Assigned.java 9 Jan 2003 12:24:50 -0000 1.4 --- Assigned.java 25 Apr 2003 03:40:33 -0000 1.5 *************** *** 11,15 **** * <b>assigned</b><br> * <br> ! * An <tt>IdentifierGenerator</tt> that returns the current identifier assigned to an instance. */ --- 11,18 ---- * <b>assigned</b><br> * <br> ! * An <tt>IdentifierGenerator</tt> that returns the current identifier assigned ! * to an instance. ! * ! * @author Gavin King */ Index: Configurable.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/Configurable.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Configurable.java 6 Apr 2003 10:11:09 -0000 1.2 --- Configurable.java 25 Apr 2003 03:40:33 -0000 1.3 *************** *** 10,14 **** --- 10,16 ---- /** * An <tt>IdentifierGenerator</tt> that supports "configuration". + * * @see IdentifierGenerator + * @author Gavin King */ public interface Configurable { Index: CounterGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/CounterGenerator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CounterGenerator.java 9 Jan 2003 12:24:50 -0000 1.1 --- CounterGenerator.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 12,15 **** --- 12,17 ---- * constructed from the system time and a counter value. Not safe * for use in a cluster! + * + * @author Gavin King */ public class CounterGenerator implements IdentifierGenerator { Index: ForeignGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/ForeignGenerator.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ForeignGenerator.java 3 Apr 2003 12:34:28 -0000 1.2 --- ForeignGenerator.java 25 Apr 2003 03:40:33 -0000 1.3 *************** *** 18,21 **** --- 18,23 ---- * <br> * One mapping parameter id supported: property. + * + * @author Gavin King */ public class ForeignGenerator implements IdentifierGenerator, Configurable { Index: IdentifierGenerationException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/IdentifierGenerationException.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** IdentifierGenerationException.java 21 Mar 2003 12:03:36 -0000 1.4 --- IdentifierGenerationException.java 25 Apr 2003 03:40:33 -0000 1.5 *************** *** 9,12 **** --- 9,13 ---- * * @see IdentifierGenerator + * @author Gavin King */ Index: IdentifierGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/IdentifierGenerator.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** IdentifierGenerator.java 6 Apr 2003 10:11:09 -0000 1.5 --- IdentifierGenerator.java 25 Apr 2003 03:40:33 -0000 1.6 *************** *** 25,28 **** --- 25,29 ---- * @see PersistentIdentifierGenerator * @see Configurable + * @author Gavin King */ public interface IdentifierGenerator { Index: IdentifierGeneratorFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/IdentifierGeneratorFactory.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** IdentifierGeneratorFactory.java 3 Apr 2003 12:34:29 -0000 1.4 --- IdentifierGeneratorFactory.java 25 Apr 2003 03:40:33 -0000 1.5 *************** *** 14,17 **** --- 14,19 ---- /** * Factory methods for <tt>IdentifierGenerator</tt> framework + * + * @author Gavin King */ public final class IdentifierGeneratorFactory { Index: IdentityGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/IdentityGenerator.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IdentityGenerator.java 9 Jan 2003 12:24:50 -0000 1.1 --- IdentityGenerator.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 13,17 **** * Indicates to the <tt>Session</tt> that identity (ie. identity/autoincrement * column) key generation should be used. ! * */ public class IdentityGenerator implements IdentifierGenerator { --- 13,18 ---- * Indicates to the <tt>Session</tt> that identity (ie. identity/autoincrement * column) key generation should be used. ! * ! * @author Christoph Sturm */ public class IdentityGenerator implements IdentifierGenerator { Index: PersistentIdentifierGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/PersistentIdentifierGenerator.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PersistentIdentifierGenerator.java 6 Apr 2003 10:11:09 -0000 1.5 --- PersistentIdentifierGenerator.java 25 Apr 2003 03:40:33 -0000 1.6 *************** *** 13,16 **** --- 13,17 ---- * @see IdentifierGenerator * @see Configurable + * @author Gavin King */ public interface PersistentIdentifierGenerator extends IdentifierGenerator { Index: SequenceGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/SequenceGenerator.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** SequenceGenerator.java 6 Apr 2003 02:28:57 -0000 1.6 --- SequenceGenerator.java 25 Apr 2003 03:40:33 -0000 1.7 *************** *** 30,33 **** --- 30,34 ---- * @see SequenceHiLoGenerator * @see TableHiLoGenerator + * @author Gavin King */ Index: SequenceHiLoGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/SequenceHiLoGenerator.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SequenceHiLoGenerator.java 2 Apr 2003 02:49:07 -0000 1.8 --- SequenceHiLoGenerator.java 25 Apr 2003 03:40:33 -0000 1.9 *************** *** 29,32 **** --- 29,33 ---- * * @see TableHiLoGenerator + * @author Gavin King */ public class SequenceHiLoGenerator extends SequenceGenerator { Index: TableGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/TableGenerator.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TableGenerator.java 6 Apr 2003 02:28:57 -0000 1.3 --- TableGenerator.java 25 Apr 2003 03:40:33 -0000 1.4 *************** *** 39,42 **** --- 39,43 ---- * * @see TableHiLoGenerator + * @author Gavin King */ public class TableGenerator implements PersistentIdentifierGenerator, Configurable { Index: TableHiLoGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/TableHiLoGenerator.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TableHiLoGenerator.java 2 Apr 2003 02:49:07 -0000 1.5 --- TableHiLoGenerator.java 25 Apr 2003 03:40:33 -0000 1.6 *************** *** 30,33 **** --- 30,34 ---- * * @see SequenceHiLoGenerator + * @author Gavin King */ Index: UUIDGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/UUIDGenerator.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** UUIDGenerator.java 5 Jan 2003 02:11:21 -0000 1.3 --- UUIDGenerator.java 25 Apr 2003 03:40:33 -0000 1.4 *************** *** 11,14 **** --- 11,15 ---- * @see UUIDHexGenerator * @see UUIDStringGenerator + * @author Gavin King */ Index: UUIDHexGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/UUIDHexGenerator.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** UUIDHexGenerator.java 20 Jan 2003 12:48:11 -0000 1.5 --- UUIDHexGenerator.java 25 Apr 2003 03:40:33 -0000 1.6 *************** *** 21,24 **** --- 21,25 ---- * * @see UUIDStringGenerator + * @author Gavin King */ Index: UUIDStringGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/UUIDStringGenerator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** UUIDStringGenerator.java 9 Jan 2003 12:24:50 -0000 1.4 --- UUIDStringGenerator.java 25 Apr 2003 03:40:33 -0000 1.5 *************** *** 19,22 **** --- 19,23 ---- * * @see UUIDHexGenerator + * @author Gavin King */ |
From: <one...@us...> - 2003-04-25 03:41:07
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/impl Modified Files: FilterImpl.java QueryImpl.java Log Message: JavaDoc refresh, including @author tags Index: FilterImpl.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl/FilterImpl.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** FilterImpl.java 21 Apr 2003 06:28:18 -0000 1.7 --- FilterImpl.java 25 Apr 2003 03:40:33 -0000 1.8 *************** *** 13,17 **** /** ! * */ public class FilterImpl extends QueryImpl { --- 13,17 ---- /** ! * implementation of the <tt>Query</tt> interface for collection filters */ public class FilterImpl extends QueryImpl { Index: QueryImpl.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl/QueryImpl.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** QueryImpl.java 23 Apr 2003 09:49:03 -0000 1.15 --- QueryImpl.java 25 Apr 2003 03:40:34 -0000 1.16 *************** *** 32,35 **** --- 32,40 ---- import net.sf.hibernate.util.StringHelper; + /** + * default implementation of the <tt>Query</tt> interface, + * for "ordinary" HQL queries (not collection filters) + * @see FilterImpl + */ public class QueryImpl implements Query { |
From: <one...@us...> - 2003-04-25 03:41:07
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/expression Modified Files: BetweenExpression.java Expression.java IlikeExpression.java InExpression.java Junction.java NotExpression.java NotNullExpression.java NullExpression.java Order.java SQLExpression.java SimpleExpression.java Log Message: JavaDoc refresh, including @author tags Index: BetweenExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/BetweenExpression.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BetweenExpression.java 9 Mar 2003 04:04:06 -0000 1.1 --- BetweenExpression.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 22,28 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.SessionFactory) - */ public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException { return StringHelper.join( --- 22,25 ---- Index: Expression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/Expression.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Expression.java 29 Mar 2003 04:08:46 -0000 1.4 --- Expression.java 25 Apr 2003 03:40:33 -0000 1.5 *************** *** 20,23 **** --- 20,24 ---- * * @see net.sf.hibernate.Criteria + * @author Gavin King */ public abstract class Expression { Index: IlikeExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/IlikeExpression.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IlikeExpression.java 12 Mar 2003 08:24:23 -0000 1.1 --- IlikeExpression.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 21,27 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.SessionFactory) - */ public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException { Dialect dialect = sessionFactory.getDialect(); --- 21,24 ---- Index: InExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/InExpression.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InExpression.java 9 Mar 2003 04:04:06 -0000 1.1 --- InExpression.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 20,26 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.SessionFactory) - */ public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException { String params = StringHelper.repeat( "?, ", values.length-1 ); --- 20,23 ---- Index: Junction.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/Junction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Junction.java 12 Mar 2003 08:24:23 -0000 1.1 --- Junction.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 11,16 **** /** ! * @author Administrator ! * */ public abstract class Junction extends Expression { --- 11,18 ---- /** ! * A sequence of a logical expressions combined by some ! * associative logical operator ! * ! * @author Gavin King */ public abstract class Junction extends Expression { *************** *** 43,49 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.engine.SessionFactoryImplementor, java.lang.Class, java.lang.String) - */ public String toSqlString( SessionFactoryImplementor sessionFactory, --- 45,48 ---- Index: NotExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/NotExpression.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NotExpression.java 8 Mar 2003 06:31:22 -0000 1.1 --- NotExpression.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 16,22 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.engine.SessionFactoryImplementor, java.lang.Class, java.lang.String) - */ public String toSqlString( SessionFactoryImplementor sessionFactory, --- 16,19 ---- *************** *** 27,33 **** } - /** - * @see net.sf.hibernate.expression.Expression#getTypedValues(net.sf.hibernate.engine.SessionFactoryImplementor, java.lang.Class) - */ public TypedValue[] getTypedValues( SessionFactoryImplementor sessionFactory, --- 24,27 ---- *************** *** 37,43 **** } - /** - * @see java.lang.Object#toString() - */ public String toString() { return "not " + expression.toString(); --- 31,34 ---- Index: NotNullExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/NotNullExpression.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NotNullExpression.java 9 Mar 2003 04:04:06 -0000 1.1 --- NotNullExpression.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 20,26 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.SessionFactory) - */ public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException { return StringHelper.join( --- 20,23 ---- Index: NullExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/NullExpression.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullExpression.java 9 Mar 2003 04:04:06 -0000 1.1 --- NullExpression.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 20,26 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.SessionFactory) - */ public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException { return StringHelper.join( --- 20,23 ---- Index: Order.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/Order.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Order.java 9 Mar 2003 04:04:06 -0000 1.1 --- Order.java 25 Apr 2003 03:40:33 -0000 1.2 *************** *** 7,10 **** --- 7,11 ---- /** * Represents an order imposed upon a <tt>Criteria</tt> result set + * @author Gavin King */ public class Order { Index: SQLExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/SQLExpression.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SQLExpression.java 29 Mar 2003 04:08:47 -0000 1.3 --- SQLExpression.java 25 Apr 2003 03:40:33 -0000 1.4 *************** *** 16,22 **** private final TypedValue[] typedValues; - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.engine.SessionFactoryImplementor, java.lang.Class, java.lang.String) - */ public String toSqlString( SessionFactoryImplementor sessionFactory, --- 16,19 ---- *************** *** 27,33 **** } - /** - * @see net.sf.hibernate.expression.Expression#getTypedValues(net.sf.hibernate.engine.SessionFactoryImplementor, java.lang.Class) - */ public TypedValue[] getTypedValues( SessionFactoryImplementor sessionFactory, --- 24,27 ---- *************** *** 37,43 **** } - /** - * @see java.lang.Object#toString() - */ public String toString() { return sql; --- 31,34 ---- Index: SimpleExpression.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/expression/SimpleExpression.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SimpleExpression.java 9 Mar 2003 04:04:06 -0000 1.2 --- SimpleExpression.java 25 Apr 2003 03:40:33 -0000 1.3 *************** *** 8,12 **** /** ! * */ public abstract class SimpleExpression extends Expression { --- 8,12 ---- /** ! * superclass for "simple" comparisons (with SQL binary operators) */ public abstract class SimpleExpression extends Expression { *************** *** 20,30 **** } - /** - * @see net.sf.hibernate.expression.Expression#toSqlString(net.sf.hibernate.SessionFactory) - */ public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException { return StringHelper.join( " and ", ! StringHelper.suffix( getColumns(sessionFactory, persistentClass, propertyName, alias), getOp() + "?" ) ); --- 20,30 ---- } public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException { return StringHelper.join( " and ", ! StringHelper.suffix( ! getColumns(sessionFactory, persistentClass, propertyName, alias), ! getOp() + "?" ! ) ); |
From: <one...@us...> - 2003-04-25 03:41:06
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/engine Modified Files: Batcher.java Cascades.java CollectionSnapshot.java Key.java Mapping.java RowSelection.java SessionFactoryImplementor.java SessionImplementor.java TypedValue.java Versioning.java Log Message: JavaDoc refresh, including @author tags Index: Batcher.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/Batcher.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Batcher.java 5 Jan 2003 02:11:20 -0000 1.3 --- Batcher.java 25 Apr 2003 03:40:32 -0000 1.4 *************** *** 12,17 **** --- 12,19 ---- * exists for the whole session, even when batching is disabled. * Provides transparent <tt>PreparedStatement</tt> caching. + * * @see java.sql.PreparedStatement * @see net.sf.hibernate.impl.SessionImpl + * @author Gavin King */ public interface Batcher { Index: Cascades.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/Cascades.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Cascades.java 21 Apr 2003 06:34:46 -0000 1.13 --- Cascades.java 25 Apr 2003 03:40:32 -0000 1.14 *************** *** 20,24 **** --- 20,26 ---- /** * Implements cascaded save / delete / update / evict + * * @see net.sf.hibernate.type.AssociationType + * @author Gavin King */ public final class Cascades { Index: CollectionSnapshot.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/CollectionSnapshot.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CollectionSnapshot.java 9 Feb 2003 06:28:15 -0000 1.2 --- CollectionSnapshot.java 25 Apr 2003 03:40:32 -0000 1.3 *************** *** 4,7 **** --- 4,15 ---- import java.io.Serializable; + /** + * A "snapshot" of collection state. A <tt>PersistentCollection</tt> + * carries a snapshot of its state even when serialized and transported + * to another process. This allows us to track exactly which rows changed + * if the entity is passed to <tt>update()</tt>. + * + * @author Gavin King + */ public interface CollectionSnapshot extends Serializable { public Serializable getKey(); Index: Key.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/Key.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Key.java 20 Mar 2003 13:59:05 -0000 1.5 --- Key.java 25 Apr 2003 03:40:32 -0000 1.6 *************** *** 11,14 **** --- 11,15 ---- * A globally unique identifier of an instance, consisting of the * user-visible identifier and the identifier space (eg. tablename). + * @author Gavin King */ public final class Key implements Serializable { Index: Mapping.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/Mapping.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Mapping.java 26 Jan 2003 01:33:35 -0000 1.4 --- Mapping.java 25 Apr 2003 03:40:32 -0000 1.5 *************** *** 9,15 **** --- 9,17 ---- * and "uncompiled" mappings (ie. <tt>Configuration</tt>) that are used by * implementors of <tt>Type</tt>. + * * @see net.sf.hibernate.type.Type * @see net.sf.hibernate.impl.SessionFactoryImpl * @see net.sf.hibernate.cfg.Configuration + * @author Gavin King */ public interface Mapping { Index: RowSelection.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/RowSelection.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RowSelection.java 5 Jan 2003 02:11:20 -0000 1.3 --- RowSelection.java 25 Apr 2003 03:40:32 -0000 1.4 *************** *** 2,5 **** --- 2,9 ---- package net.sf.hibernate.engine; + /** + * Represents a selection or rows in a JDBC <tt>ResultSet</tt> + * @author Gavin King + */ public final class RowSelection { private Integer firstRow; Index: SessionFactoryImplementor.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/SessionFactoryImplementor.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SessionFactoryImplementor.java 10 Apr 2003 09:49:16 -0000 1.8 --- SessionFactoryImplementor.java 25 Apr 2003 03:40:32 -0000 1.9 *************** *** 18,23 **** --- 18,25 ---- * Defines the internal contract between the <tt>SessionFactory</tt> and other parts of * Hibernate such as implementors of <tt>Type</tt>. + * * @see net.sf.hibernate.SessionFactory * @see net.sf.hibernate.impl.SessionFactoryImpl + * @author Gavin King */ public interface SessionFactoryImplementor extends Mapping, SessionFactory { Index: SessionImplementor.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/SessionImplementor.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** SessionImplementor.java 6 Apr 2003 10:11:09 -0000 1.11 --- SessionImplementor.java 25 Apr 2003 03:40:32 -0000 1.12 *************** *** 25,28 **** --- 25,29 ---- * @see net.sf.hibernate.Session the interface to the application * @see net.sf.hibernate.impl.SessionImpl the actual implementation + * @author Gavin King */ public interface SessionImplementor extends Session { Index: TypedValue.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/TypedValue.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TypedValue.java 5 Jan 2003 02:11:20 -0000 1.3 --- TypedValue.java 25 Apr 2003 03:40:32 -0000 1.4 *************** *** 5,8 **** --- 5,13 ---- import net.sf.hibernate.type.Type; + /** + * An ordered pair of a value and its Hibernate type. + * @see net.sf.hibernate.type.Type + * @author Gavin King + */ public final class TypedValue { private Type type; Index: Versioning.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/engine/Versioning.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Versioning.java 5 Jan 2003 02:11:20 -0000 1.3 --- Versioning.java 25 Apr 2003 03:40:32 -0000 1.4 *************** *** 11,14 **** --- 11,15 ---- /** * Utility methods for managing versions and timestamps + * @author Gavin King */ public final class Versioning { |
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/dialect Modified Files: DB2Dialect.java Dialect.java FrontBaseDialect.java GenericDialect.java HSQLDialect.java InformixDialect.java IngresDialect.java InterbaseDialect.java MckoiDialect.java MySQLDialect.java Oracle9Dialect.java OracleDialect.java PointbaseDialect.java PostgreSQLDialect.java ProgressDialect.java SAPDBDialect.java SybaseAnywhereDialect.java SybaseDialect.java Log Message: JavaDoc refresh, including @author tags Index: DB2Dialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/DB2Dialect.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** DB2Dialect.java 8 Apr 2003 14:26:38 -0000 1.6 --- DB2Dialect.java 25 Apr 2003 03:40:31 -0000 1.7 *************** *** 8,11 **** --- 8,12 ---- /** * An SQL dialect for DB2. + * @author Gavin King */ public class DB2Dialect extends Dialect { Index: Dialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/Dialect.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Dialect.java 12 Mar 2003 08:24:23 -0000 1.11 --- Dialect.java 25 Apr 2003 03:40:31 -0000 1.12 *************** *** 25,28 **** --- 25,29 ---- * <br> * Subclasses should be immutable. + * @author Gavin King */ public abstract class Dialect { Index: FrontBaseDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/FrontBaseDialect.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FrontBaseDialect.java 12 Apr 2003 02:09:43 -0000 1.2 --- FrontBaseDialect.java 25 Apr 2003 03:40:32 -0000 1.3 *************** *** 17,21 **** * <tt>hibernate.properties</tt> file: <tt>hibernate.jdbc.batch_size=15</tt> * ! * @author ron lussier - rlu...@le... */ public class FrontBaseDialect extends Dialect { --- 17,21 ---- * <tt>hibernate.properties</tt> file: <tt>hibernate.jdbc.batch_size=15</tt> * ! * @author Ron Lussier <tt>rlu...@le...</tt> */ public class FrontBaseDialect extends Dialect { Index: GenericDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/GenericDialect.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GenericDialect.java 1 Mar 2003 21:27:29 -0000 1.4 --- GenericDialect.java 25 Apr 2003 03:40:32 -0000 1.5 *************** *** 7,10 **** --- 7,11 ---- /** * A generic SQL dialect which may or may not work on any actual databases + * @author Gavin King */ public class GenericDialect extends Dialect { Index: HSQLDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/HSQLDialect.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** HSQLDialect.java 8 Apr 2003 14:26:38 -0000 1.6 --- HSQLDialect.java 25 Apr 2003 03:40:32 -0000 1.7 *************** *** 10,13 **** --- 10,14 ---- /** * An SQL dialect compatible with HSQLDB (Hypersonic SQL). + * @author Christoph Sturm */ public class HSQLDialect extends Dialect { Index: InformixDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/InformixDialect.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InformixDialect.java 12 Apr 2003 02:09:43 -0000 1.1 --- InformixDialect.java 25 Apr 2003 03:40:32 -0000 1.2 *************** *** 6,13 **** /** * Informix dialect. This class is required in order to use Hibernate with ! * Informix. ! * * Seems to work with Informix Dynamic Server Version 7.31.UD3, * Informix JDBC driver version 2.21JC3. */ public class InformixDialect extends Dialect { --- 6,14 ---- /** * Informix dialect. This class is required in order to use Hibernate with ! * Informix.<br> ! * <br> * Seems to work with Informix Dynamic Server Version 7.31.UD3, * Informix JDBC driver version 2.21JC3. + * @author Steve Molitor */ public class InformixDialect extends Dialect { Index: IngresDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/IngresDialect.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IngresDialect.java 12 Mar 2003 08:24:23 -0000 1.2 --- IngresDialect.java 25 Apr 2003 03:40:32 -0000 1.3 *************** *** 7,10 **** --- 7,11 ---- /** * An Ingres SQL dialect + * @author Ian Booth */ public class IngresDialect extends Dialect { Index: InterbaseDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/InterbaseDialect.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** InterbaseDialect.java 8 Apr 2003 14:26:38 -0000 1.6 --- InterbaseDialect.java 25 Apr 2003 03:40:32 -0000 1.7 *************** *** 8,11 **** --- 8,12 ---- /** * An SQL dialect for Interbase. + * @author Gavin King */ Index: MckoiDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/MckoiDialect.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MckoiDialect.java 8 Apr 2003 14:26:38 -0000 1.6 --- MckoiDialect.java 25 Apr 2003 03:40:32 -0000 1.7 *************** *** 7,11 **** import net.sf.hibernate.cfg.Environment; ! /** Represents an SQL dialect compatible with McKoi */ --- 7,13 ---- import net.sf.hibernate.cfg.Environment; ! /** ! * An SQL dialect compatible with McKoi SQL ! * @author Doug Currie */ Index: MySQLDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/MySQLDialect.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MySQLDialect.java 8 Apr 2003 14:26:39 -0000 1.6 --- MySQLDialect.java 25 Apr 2003 03:40:32 -0000 1.7 *************** *** 9,12 **** --- 9,13 ---- /** * An SQL dialect for MySQL. + * @author Gavin King */ public class MySQLDialect extends Dialect { Index: Oracle9Dialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/Oracle9Dialect.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Oracle9Dialect.java 8 Apr 2003 14:26:39 -0000 1.2 --- Oracle9Dialect.java 25 Apr 2003 03:40:32 -0000 1.3 *************** *** 8,11 **** --- 8,12 ---- /** * An SQL dialect for Oracle 9 (uses ANSI-style syntax where possible). + * @author Gavin King (?) */ public class Oracle9Dialect extends Dialect { Index: OracleDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/OracleDialect.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** OracleDialect.java 23 Feb 2003 07:22:11 -0000 1.8 --- OracleDialect.java 25 Apr 2003 03:40:32 -0000 1.9 *************** *** 9,12 **** --- 9,13 ---- /** * An SQL dialect for Oracle, compatible with Oracle 8. + * @author Gavin King */ public class OracleDialect extends Oracle9Dialect { Index: PointbaseDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/PointbaseDialect.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PointbaseDialect.java 8 Apr 2003 14:26:39 -0000 1.5 --- PointbaseDialect.java 25 Apr 2003 03:40:32 -0000 1.6 *************** *** 6,17 **** import net.sf.hibernate.cfg.Environment; /** * A <tt>Dialect</tt> for Pointbase. * @author Ed Mackenzie - * @version 1.0 */ public class PointbaseDialect extends net.sf.hibernate.dialect.Dialect { ! /** Creates new PointbaseDialect */ public PointbaseDialect() { super(); --- 6,19 ---- import net.sf.hibernate.cfg.Environment; + /** * A <tt>Dialect</tt> for Pointbase. * @author Ed Mackenzie */ public class PointbaseDialect extends net.sf.hibernate.dialect.Dialect { ! /** ! * Creates new PointbaseDialect ! */ public PointbaseDialect() { super(); *************** *** 39,66 **** } - /** - * @see net.sf.hibernate.sql.Dialect#getAddColumnString() - */ public String getAddColumnString() { return "add"; } - /** - * @see net.sf.hibernate.sql.Dialect#dropConstraints() - */ public boolean dropConstraints() { return false; } - /** - * @see net.sf.hibernate.sql.Dialect#getCascadeConstraintsString() - */ public String getCascadeConstraintsString() { return " cascade"; } - /** - * @see net.sf.hibernate.sql.Dialect#supportsForUpdate() - */ public boolean supportsForUpdate() { return false; --- 41,56 ---- Index: PostgreSQLDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/PostgreSQLDialect.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PostgreSQLDialect.java 8 Apr 2003 14:26:39 -0000 1.8 --- PostgreSQLDialect.java 25 Apr 2003 03:40:32 -0000 1.9 *************** *** 8,11 **** --- 8,12 ---- /** * An SQL dialect for Postgres + * @author Gavin King */ Index: ProgressDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/ProgressDialect.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ProgressDialect.java 5 Jan 2003 02:11:20 -0000 1.3 --- ProgressDialect.java 25 Apr 2003 03:40:32 -0000 1.4 *************** *** 18,21 **** --- 18,22 ---- * The WorkArounds parameter in the URL is required to avoid an error * in the Progress 9.1C JDBC driver related to PreparedStatements. + * @author Phillip Baird * */ Index: SAPDBDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/SAPDBDialect.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SAPDBDialect.java 8 Apr 2003 14:26:39 -0000 1.9 --- SAPDBDialect.java 25 Apr 2003 03:40:32 -0000 1.10 *************** *** 14,17 **** --- 14,18 ---- /** * An SQL dialect compatible with SAP DB. + * @author Brad Clow */ public class SAPDBDialect extends Dialect { Index: SybaseAnywhereDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/SybaseAnywhereDialect.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SybaseAnywhereDialect.java 23 Feb 2003 13:57:04 -0000 1.1 --- SybaseAnywhereDialect.java 25 Apr 2003 03:40:32 -0000 1.2 *************** *** 3,8 **** /** * SQL Dialect for Sybase Anywhere ! * Extending Sybase (Enterprise) Dialect * (Tested on ASA 8.x) */ public class SybaseAnywhereDialect extends SybaseDialect --- 3,9 ---- /** * SQL Dialect for Sybase Anywhere ! * extending Sybase (Enterprise) Dialect * (Tested on ASA 8.x) + * @author ? */ public class SybaseAnywhereDialect extends SybaseDialect Index: SybaseDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/SybaseDialect.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SybaseDialect.java 8 Apr 2003 14:26:39 -0000 1.5 --- SybaseDialect.java 25 Apr 2003 03:40:32 -0000 1.6 *************** *** 8,11 **** --- 8,12 ---- /** * An SQL dialect compatible with Sybase and MS SQL Server. + * @author Gavin King */ |
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate Modified Files: AssertionFailure.java CallbackException.java CompositeUserType.java Criteria.java Databinder.java FlushMode.java Hibernate.java HibernateException.java InstantiationException.java Interceptor.java JDBCException.java LazyInitializationException.java Lifecycle.java LockMode.java MappingException.java ObjectDeletedException.java ObjectNotFoundException.java PersistentEnum.java PersistentObjectException.java PropertyAccessException.java PropertyNotFoundException.java Query.java ScrollableResults.java Session.java SessionFactory.java StaleObjectStateException.java Transaction.java TransactionException.java TransientObjectException.java UserType.java Validatable.java ValidationFailure.java WrongClassException.java Log Message: JavaDoc refresh, including @author tags Index: AssertionFailure.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/AssertionFailure.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AssertionFailure.java 5 Jan 2003 02:11:19 -0000 1.3 --- AssertionFailure.java 25 Apr 2003 03:40:29 -0000 1.4 *************** *** 8,11 **** --- 8,12 ---- /** * Indicates failure of an assertion: a possible bug in Hibernate + * @author Gavin King */ Index: CallbackException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/CallbackException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CallbackException.java 5 Jan 2003 02:11:19 -0000 1.3 --- CallbackException.java 25 Apr 2003 03:40:29 -0000 1.4 *************** *** 5,9 **** --- 5,11 ---- * Should be thrown by persistent objects from <tt>Lifecycle</tt> * callbacks. + * * @see Lifecycle + * @author Gavin King */ Index: CompositeUserType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/CompositeUserType.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CompositeUserType.java 8 Apr 2003 09:49:25 -0000 1.2 --- CompositeUserType.java 25 Apr 2003 03:40:29 -0000 1.3 *************** *** 30,33 **** --- 30,34 ---- * @see UserType for more simple cases * @see net.sf.hibernate.type.Type + * @author Gavin King */ public interface CompositeUserType { Index: Criteria.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Criteria.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Criteria.java 9 Mar 2003 04:04:04 -0000 1.2 --- Criteria.java 25 Apr 2003 03:40:29 -0000 1.3 *************** *** 33,36 **** --- 33,37 ---- * @see Session#createCriteria(java.lang.Class) * @see net.sf.hibernate.expression.Expression + * @author Gavin King */ public interface Criteria { Index: Databinder.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Databinder.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Databinder.java 26 Jan 2003 01:33:34 -0000 1.4 --- Databinder.java 25 Apr 2003 03:40:29 -0000 1.5 *************** *** 23,27 **** --- 23,29 ---- * <br> * It is not intended that implementors be threadsafe. + * * @see SessionFactory + * @author Gavin King, Brad Clow */ public interface Databinder { *************** *** 81,86 **** * explicitly initialized or left as they are. * ! * @param initializeLazy true to explicitly initialize lazy objects, false to leave them in ! * the state they are in. */ public void setInitializeLazy(boolean initializeLazy); --- 83,88 ---- * explicitly initialized or left as they are. * ! * @param initializeLazy true to explicitly initialize lazy objects, ! * false to leave them in the state they are in. */ public void setInitializeLazy(boolean initializeLazy); Index: FlushMode.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/FlushMode.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FlushMode.java 9 Feb 2003 06:28:14 -0000 1.4 --- FlushMode.java 25 Apr 2003 03:40:29 -0000 1.5 *************** *** 12,15 **** --- 12,16 ---- * * @see Session#setFlushMode(FlushMode) + * @author Gavin King */ public final class FlushMode implements Serializable { Index: Hibernate.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Hibernate.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Hibernate.java 19 Apr 2003 03:26:06 -0000 1.12 --- Hibernate.java 25 Apr 2003 03:40:29 -0000 1.13 *************** *** 48,57 **** /** ! * Provides access to the full range of Hibernate built-in types. <tt>Type</tt> * instances may be used to bind values to query parameters. ! * Also a factory for new <tt>Blob</tt>s and <tt>Clob</tt>s. * @see java.sql.Clob * @see java.sql.Blob * @see net.sf.hibernate.type.Type */ --- 48,62 ---- /** ! * <ul> ! * <li>Provides access to the full range of Hibernate built-in types. <tt>Type</tt> * instances may be used to bind values to query parameters. ! * <li>A factory for new <tt>Blob</tt>s and <tt>Clob</tt>s. ! * <li>Defines static methods for manipulation of proxies. ! * </ul> ! * * @see java.sql.Clob * @see java.sql.Blob * @see net.sf.hibernate.type.Type + * @author Gavin King */ Index: HibernateException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/HibernateException.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** HibernateException.java 29 Mar 2003 23:44:49 -0000 1.4 --- HibernateException.java 25 Apr 2003 03:40:29 -0000 1.5 *************** *** 10,13 **** --- 10,14 ---- * * @see JDBCException + * @author Gavin King */ Index: InstantiationException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/InstantiationException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** InstantiationException.java 5 Jan 2003 02:11:19 -0000 1.3 --- InstantiationException.java 25 Apr 2003 03:40:29 -0000 1.4 *************** *** 5,8 **** --- 5,10 ---- * Thrown if Hibernate can't instantiate an entity or component * class at runtime. + * + * @author Gavin King */ Index: Interceptor.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Interceptor.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Interceptor.java 29 Mar 2003 04:08:46 -0000 1.8 --- Interceptor.java 25 Apr 2003 03:40:29 -0000 1.9 *************** *** 21,24 **** --- 21,25 ---- * @see SessionFactory#openSession(Interceptor) * @see net.sf.hibernate.cfg.Configuration#setInterceptor(Interceptor) + * @author Gavin King */ public interface Interceptor { Index: JDBCException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/JDBCException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JDBCException.java 1 Feb 2003 00:33:38 -0000 1.2 --- JDBCException.java 25 Apr 2003 03:40:29 -0000 1.3 *************** *** 13,16 **** --- 13,17 ---- * * @see java.sql.SQLException + * @author Gavin King */ public class JDBCException extends HibernateException { Index: LazyInitializationException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/LazyInitializationException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LazyInitializationException.java 5 Jan 2003 02:11:19 -0000 1.3 --- LazyInitializationException.java 25 Apr 2003 03:40:29 -0000 1.4 *************** *** 9,12 **** --- 9,16 ---- * proxy (for example the session was closed) or iterate query * results. + * + * @see Hibernate#initialize(java.lang.Object) + * @see Hibernate#isInitialized(java.lang.Object) + * @author Gavin King */ Index: Lifecycle.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Lifecycle.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Lifecycle.java 9 Mar 2003 04:04:05 -0000 1.4 --- Lifecycle.java 25 Apr 2003 03:40:29 -0000 1.5 *************** *** 35,39 **** --- 35,41 ---- * Note that <tt>onSave()</tt> is called after an identifier is assigned * to the object, except when identity column key generation is used. + * * @see CallbackException + * @author Gavin King */ public interface Lifecycle { Index: LockMode.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/LockMode.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** LockMode.java 9 Feb 2003 06:28:14 -0000 1.4 --- LockMode.java 25 Apr 2003 03:40:29 -0000 1.5 *************** *** 15,18 **** --- 15,19 ---- * * @see Session#lock(Object,LockMode) + * @author Gavin King */ public final class LockMode implements Serializable { Index: MappingException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/MappingException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MappingException.java 5 Jan 2003 02:11:19 -0000 1.3 --- MappingException.java 25 Apr 2003 03:40:29 -0000 1.4 *************** *** 5,8 **** --- 5,10 ---- * An exception that usually occurs at configuration time, rather * than runtime, as a result of something screwy in the O-R mappings. + * + * @author Gavin King */ Index: ObjectDeletedException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/ObjectDeletedException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ObjectDeletedException.java 5 Jan 2003 02:11:19 -0000 1.3 --- ObjectDeletedException.java 25 Apr 2003 03:40:29 -0000 1.4 *************** *** 6,9 **** --- 6,11 ---- /** * Thrown when the user tries to pass a deleted object to the <tt>Session</tt>. + * + * @author Gavin King */ Index: ObjectNotFoundException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/ObjectNotFoundException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ObjectNotFoundException.java 5 Jan 2003 02:11:19 -0000 1.3 --- ObjectNotFoundException.java 25 Apr 2003 03:40:29 -0000 1.4 *************** *** 7,10 **** --- 7,12 ---- * Thrown when <tt>Session.load()</tt> fails to select a row with * the given primary key (identifier value). + * + * @author Gavin King */ public class ObjectNotFoundException extends HibernateException { Index: PersistentEnum.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/PersistentEnum.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PersistentEnum.java 5 Jan 2003 02:11:19 -0000 1.3 --- PersistentEnum.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 10,13 **** --- 10,14 ---- * <tt>public static PersistentEnum fromInt(int i)</tt> * + * @author Gavin King */ Index: PersistentObjectException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/PersistentObjectException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PersistentObjectException.java 5 Jan 2003 02:11:19 -0000 1.3 --- PersistentObjectException.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 5,8 **** --- 5,10 ---- * Throw when the user passes a persistent instance to a <tt>Session</tt> * method that expects a transient instance. + * + * @author Gavin King */ Index: PropertyAccessException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/PropertyAccessException.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PropertyAccessException.java 15 Feb 2003 08:00:49 -0000 1.5 --- PropertyAccessException.java 25 Apr 2003 03:40:30 -0000 1.6 *************** *** 6,10 **** /** * A problem occurred accessing a property of an instance of a ! * persistent class by reflection. */ --- 6,18 ---- /** * A problem occurred accessing a property of an instance of a ! * persistent class by reflection, or via CGLIB. There are a ! * number of possible underlying causes, including ! * <ul> ! * <li>failure of a security check ! * <li>an exception occurring inside the getter or setter method ! * <li>a nullable database column was mapped to a primitive-type property ! * <li>the Hibernate type was not castable to the property type (or vice-versa) ! * </ul> ! * @author Gavin King */ Index: PropertyNotFoundException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/PropertyNotFoundException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PropertyNotFoundException.java 5 Jan 2003 02:11:19 -0000 1.3 --- PropertyNotFoundException.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 5,8 **** --- 5,10 ---- * Indicates that an expected getter or setter method could not be * found on a class. + * + * @author Gavin King */ public class PropertyNotFoundException extends MappingException { Index: Query.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Query.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Query.java 13 Mar 2003 03:15:59 -0000 1.11 --- Query.java 25 Apr 2003 03:40:30 -0000 1.12 *************** *** 53,56 **** --- 53,57 ---- * @see Session#createQuery(java.lang.String) * @see ScrollableResults + * @author Gavin King */ public interface Query { Index: ScrollableResults.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/ScrollableResults.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ScrollableResults.java 14 Jan 2003 13:42:06 -0000 1.5 --- ScrollableResults.java 25 Apr 2003 03:40:30 -0000 1.6 *************** *** 22,25 **** --- 22,26 ---- * * @see Query#scroll() + * @author Gavin King */ public interface ScrollableResults { Index: Session.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Session.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Session.java 21 Apr 2003 06:28:17 -0000 1.16 --- Session.java 25 Apr 2003 03:40:30 -0000 1.17 *************** *** 62,65 **** --- 62,66 ---- * * @see SessionFactory + * @author Gavin King */ public interface Session extends Serializable { Index: SessionFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/SessionFactory.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SessionFactory.java 10 Apr 2003 09:49:15 -0000 1.8 --- SessionFactory.java 25 Apr 2003 03:40:30 -0000 1.9 *************** *** 26,29 **** --- 26,30 ---- * @see net.sf.hibernate.connection.ConnectionProvider * @see net.sf.hibernate.transaction.TransactionFactory + * @author Gavin King */ public interface SessionFactory extends Referenceable, Serializable { Index: StaleObjectStateException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/StaleObjectStateException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** StaleObjectStateException.java 5 Jan 2003 02:11:19 -0000 1.3 --- StaleObjectStateException.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 7,15 **** /** ! * Thrown when a version number check failed, indicating that the * <tt>Session</tt> contained stale data (when using long transactions ! * with versioning). */ - public class StaleObjectStateException extends HibernateException { private final Class persistentClass; --- 7,17 ---- /** ! * Thrown when a version number or timestamp check failed, indicating that the * <tt>Session</tt> contained stale data (when using long transactions ! * with versioning). Also occurs if we try delete or update a row that does ! * not exist. ! * ! * @author Gavin King */ public class StaleObjectStateException extends HibernateException { private final Class persistentClass; Index: Transaction.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Transaction.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Transaction.java 14 Jan 2003 13:42:07 -0000 1.5 --- Transaction.java 25 Apr 2003 03:40:30 -0000 1.6 *************** *** 20,23 **** --- 20,24 ---- * @see Session#beginTransaction() * @see net.sf.hibernate.transaction.TransactionFactory + * @author Anton van Straaten */ Index: TransactionException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/TransactionException.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TransactionException.java 9 Jan 2003 12:24:50 -0000 1.4 --- TransactionException.java 25 Apr 2003 03:40:30 -0000 1.5 *************** *** 3,9 **** /** ! * Indicated that a transaction could not be begun, committed * or rolled back. * @see Transaction */ --- 3,11 ---- /** ! * Indicates that a transaction could not be begun, committed * or rolled back. + * * @see Transaction + * @author Anton van Straaten */ Index: TransientObjectException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/TransientObjectException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TransientObjectException.java 5 Jan 2003 02:11:20 -0000 1.3 --- TransientObjectException.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 5,8 **** --- 5,10 ---- * Throw when the user passes a transient instance to a <tt>Session</tt> * method that expects a persistent instance. + * + * @author Gavin King */ Index: UserType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/UserType.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** UserType.java 6 Apr 2003 10:11:07 -0000 1.7 --- UserType.java 25 Apr 2003 03:40:30 -0000 1.8 *************** *** 38,41 **** --- 38,42 ---- * @see CompositeUserType for more complex cases * @see net.sf.hibernate.type.Type + * @author Gavin King */ public interface UserType { Index: Validatable.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Validatable.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Validatable.java 5 Jan 2003 02:11:20 -0000 1.3 --- Validatable.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 5,8 **** --- 5,10 ---- * Implemented by persistent classes with invariants that must * be checked before inserting into or updating the database. + * + * @author Gavin King */ public interface Validatable { Index: ValidationFailure.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/ValidationFailure.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ValidationFailure.java 5 Jan 2003 02:11:20 -0000 1.3 --- ValidationFailure.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 6,9 **** --- 6,11 ---- * was violated. Some applications might subclass this exception * in order to provide more information about the violation. + * + * @author Gavin King */ public class ValidationFailure extends HibernateException { Index: WrongClassException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/WrongClassException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** WrongClassException.java 5 Jan 2003 02:11:20 -0000 1.3 --- WrongClassException.java 25 Apr 2003 03:40:30 -0000 1.4 *************** *** 9,12 **** --- 9,14 ---- * discriminator value specifies a different subclass from * the one requested. + * + * @author Gavin King */ public class WrongClassException extends HibernateException { |
From: <one...@us...> - 2003-04-25 03:41:04
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/connection Modified Files: C3P0ConnectionProvider.java ConnectionProvider.java ConnectionProviderFactory.java DBCPConnectionProvider.java DatasourceConnectionProvider.java DriverManagerConnectionProvider.java UserSuppliedConnectionProvider.java Log Message: JavaDoc refresh, including @author tags Index: C3P0ConnectionProvider.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection/C3P0ConnectionProvider.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** C3P0ConnectionProvider.java 22 Feb 2003 06:42:07 -0000 1.6 --- C3P0ConnectionProvider.java 25 Apr 2003 03:40:31 -0000 1.7 *************** *** 22,25 **** --- 22,26 ---- * default if the <tt>hibernate.c3p0.*</tt> properties are set. * @see ConnectionProvider + * @author various people */ public class C3P0ConnectionProvider implements ConnectionProvider { Index: ConnectionProvider.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection/ConnectionProvider.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ConnectionProvider.java 21 Mar 2003 12:03:35 -0000 1.5 --- ConnectionProvider.java 25 Apr 2003 03:40:31 -0000 1.6 *************** *** 18,21 **** --- 18,22 ---- * * @see ConnectionProviderFactory + * @author Gavin King */ public interface ConnectionProvider { Index: ConnectionProviderFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection/ConnectionProviderFactory.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ConnectionProviderFactory.java 26 Jan 2003 01:33:35 -0000 1.6 --- ConnectionProviderFactory.java 25 Apr 2003 03:40:31 -0000 1.7 *************** *** 23,26 **** --- 23,27 ---- * <tt>DBCPConnectionProvider</tt>. * @see ConnectionProvider + * @author Gavin King */ Index: DBCPConnectionProvider.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection/DBCPConnectionProvider.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** DBCPConnectionProvider.java 26 Mar 2003 10:47:56 -0000 1.7 --- DBCPConnectionProvider.java 25 Apr 2003 03:40:31 -0000 1.8 *************** *** 28,31 **** --- 28,32 ---- * use this by default if the <tt>hibernate.dbcp.*</tt> properties are set. * @see ConnectionProvider + * @author various people */ public class DBCPConnectionProvider implements ConnectionProvider { Index: DatasourceConnectionProvider.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection/DatasourceConnectionProvider.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** DatasourceConnectionProvider.java 16 Apr 2003 15:05:54 -0000 1.7 --- DatasourceConnectionProvider.java 25 Apr 2003 03:40:31 -0000 1.8 *************** *** 21,24 **** --- 21,25 ---- * property <tt>hibernate.connection.datasource</tt> is set. * @see ConnectionProvider + * @author Gavin King */ public class DatasourceConnectionProvider implements ConnectionProvider { Index: DriverManagerConnectionProvider.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection/DriverManagerConnectionProvider.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** DriverManagerConnectionProvider.java 22 Feb 2003 06:42:08 -0000 1.7 --- DriverManagerConnectionProvider.java 25 Apr 2003 03:40:31 -0000 1.8 *************** *** 21,24 **** --- 21,25 ---- * also implements a rudimentary connection pool. * @see ConnectionProvider + * @author Gavin King */ public class DriverManagerConnectionProvider implements ConnectionProvider { Index: UserSuppliedConnectionProvider.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/connection/UserSuppliedConnectionProvider.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** UserSuppliedConnectionProvider.java 22 Feb 2003 06:42:08 -0000 1.4 --- UserSuppliedConnectionProvider.java 25 Apr 2003 03:40:31 -0000 1.5 *************** *** 15,18 **** --- 15,19 ---- * indicates that the user is expected to supply a JDBC connection. * @see ConnectionProvider + * @author Gavin King */ public class UserSuppliedConnectionProvider implements ConnectionProvider { |
From: <one...@us...> - 2003-04-25 03:41:04
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/collection Modified Files: ArrayHolder.java Bag.java CollectionPersister.java List.java Map.java ODMGCollection.java PersistentCollection.java Set.java SortedMap.java SortedSet.java Log Message: JavaDoc refresh, including @author tags Index: ArrayHolder.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/ArrayHolder.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ArrayHolder.java 6 Apr 2003 10:11:07 -0000 1.12 --- ArrayHolder.java 25 Apr 2003 03:40:30 -0000 1.13 *************** *** 19,25 **** /** * A persistent wrapper for an array. Lazy initialization ! * is NOT supported. */ - public class ArrayHolder extends PersistentCollection { private Object array; --- 19,27 ---- /** * A persistent wrapper for an array. Lazy initialization ! * is NOT supported. Use of Hibernate arrays is not really ! * recommended. ! * ! * @author Gavin King */ public class ArrayHolder extends PersistentCollection { private Object array; Index: Bag.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/Bag.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Bag.java 19 Apr 2003 03:26:07 -0000 1.11 --- Bag.java 25 Apr 2003 03:40:30 -0000 1.12 *************** *** 20,24 **** import net.sf.hibernate.type.Type; ! public class Bag extends ODMGCollection implements DBag, java.util.List { --- 20,31 ---- import net.sf.hibernate.type.Type; ! /** ! * An unordered, unkeyed collection that can contain the same element ! * multiple times. The Java collections API, bizarrely, has no <tt>Bag</tt>. ! * Most developers seem to use <tt>List</tt>s to represent bag semantics, ! * so Hibernate follows this practice. ! * ! * @author Gavin King ! */ public class Bag extends ODMGCollection implements DBag, java.util.List { Index: CollectionPersister.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/CollectionPersister.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** CollectionPersister.java 19 Apr 2003 03:26:07 -0000 1.20 --- CollectionPersister.java 25 Apr 2003 03:40:30 -0000 1.21 *************** *** 44,52 **** /** * Plugs into an instance of <tt>PersistentCollection</tt>, in order to ! * implement persistence of that collection while in a particular role. ! * * May be considered an immutable view of the mapping object */ - public final class CollectionPersister implements CollectionMetadata { --- 44,57 ---- /** * Plugs into an instance of <tt>PersistentCollection</tt>, in order to ! * implement persistence of that collection while in a particular role.<br> ! * <br> ! * This class is highly coupled to the <tt>PersistentCollection</tt> ! * hierarchy, since double dispatch is used to load and update collection ! * elements.<br> ! * <br> * May be considered an immutable view of the mapping object + * + * @author Gavin King */ public final class CollectionPersister implements CollectionMetadata { Index: List.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/List.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** List.java 6 Apr 2003 10:11:07 -0000 1.11 --- List.java 25 Apr 2003 03:40:31 -0000 1.12 *************** *** 20,24 **** /** ! * A persistent wrapper for a java.util.List */ public class List extends ODMGCollection implements java.util.List, DList, DArray { --- 20,28 ---- /** ! * A persistent wrapper for a <tt>java.util.List</tt>. Underlying ! * collection is an <tt>ArrayList</tt>. ! * ! * @see java.util.ArrayList ! * @author Gavin King */ public class List extends ODMGCollection implements java.util.List, DList, DArray { Index: Map.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/Map.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Map.java 6 Apr 2003 10:11:07 -0000 1.11 --- Map.java 25 Apr 2003 03:40:31 -0000 1.12 *************** *** 20,24 **** /** ! * A persistent wrapper for a java.util.Map */ public class Map extends PersistentCollection implements java.util.Map, DMap { --- 20,28 ---- /** ! * A persistent wrapper for a <tt>java.util.Map</tt>. Underlying collection ! * is a <tt>HashMap</tt>. ! * ! * @see java.util.HashMap ! * @author Gavin King */ public class Map extends PersistentCollection implements java.util.Map, DMap { Index: ODMGCollection.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/ODMGCollection.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ODMGCollection.java 9 Feb 2003 06:28:14 -0000 1.7 --- ODMGCollection.java 25 Apr 2003 03:40:31 -0000 1.8 *************** *** 10,13 **** --- 10,21 ---- import net.sf.hibernate.engine.SessionImplementor; + /** + * All Hibernate collections actually implement the ODMG <tt>DCollection</tt> + * interface and are castable to that type. However, we don't recommend that + * the object model be "polluted" by using this interface, unless the + * application is using the ODMG API. + * + * @author Gavin King + */ public abstract class ODMGCollection extends PersistentCollection implements DCollection { Index: PersistentCollection.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/PersistentCollection.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** PersistentCollection.java 19 Apr 2003 03:26:07 -0000 1.13 --- PersistentCollection.java 25 Apr 2003 03:40:31 -0000 1.14 *************** *** 22,26 **** /** ! * Persistent collections are treated as value objects by hibernate. * ie. they have no independent existence beyond the object holding * a reference to them. Unlike instances of entity classes, they are --- 22,26 ---- /** ! * Persistent collections are treated as value objects by Hibernate. * ie. they have no independent existence beyond the object holding * a reference to them. Unlike instances of entity classes, they are *************** *** 35,44 **** * lazy instantiation of collection elements. The downside is that * only certain abstract collection types are supported and any ! * extra semantics (eg. sorted collections) are lost<br> * <br> ! * Changes to _structure_ of the collection are recorded by the * collection calling back to the session. Changes to mutable * elements (ie. composite elements) are discovered by cloning their ! * state when the collection is initialized. */ --- 35,50 ---- * lazy instantiation of collection elements. The downside is that * only certain abstract collection types are supported and any ! * extra semantics are lost<br> * <br> ! * Applications should <em>never</em> use classes in this package ! * directly, unless extending the "framework" here.<br> ! * <br> ! * Changes to <em>structure</em> of the collection are recorded by the * collection calling back to the session. Changes to mutable * elements (ie. composite elements) are discovered by cloning their ! * state when the collection is initialized and comparing at flush ! * time. ! * ! * @author Gavin King */ Index: Set.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/Set.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Set.java 6 Apr 2003 10:11:07 -0000 1.11 --- Set.java 25 Apr 2003 03:40:31 -0000 1.12 *************** *** 22,26 **** /** ! * A persistent wrapper for a java.util.Set */ public class Set extends ODMGCollection implements java.util.Set, DSet { --- 22,30 ---- /** ! * A persistent wrapper for a <tt>java.util.Set</tt>. The underlying ! * collection is a <tt>HashSet</tt>. ! * ! * @see java.util.HashSet ! * @author Gavin King */ public class Set extends ODMGCollection implements java.util.Set, DSet { Index: SortedMap.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/SortedMap.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SortedMap.java 6 Apr 2003 10:11:07 -0000 1.8 --- SortedMap.java 25 Apr 2003 03:40:31 -0000 1.9 *************** *** 14,21 **** /** ! * A persistent wrapper for a java.util.SortedMap ! * ! * @version 1.x ! * @author <a href="mailto:dou...@al...">e</a> */ public class SortedMap extends Map implements java.util.SortedMap { --- 14,22 ---- /** ! * A persistent wrapper for a <tt>java.util.SortedMap</tt>. Underlying ! * collection is a <tt>TreeMap</tt>. ! * ! * @see java.util.TreeMap ! * @author <a href="mailto:dou...@al...">e</a> */ public class SortedMap extends Map implements java.util.SortedMap { Index: SortedSet.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/SortedSet.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SortedSet.java 6 Apr 2003 10:11:08 -0000 1.9 --- SortedSet.java 25 Apr 2003 03:40:31 -0000 1.10 *************** *** 13,20 **** /** ! * A persistent wrapper for a java.util.SortedSet ! * ! * @version 1.x ! * @author <a href="mailto:dou...@al...">e</a> */ public class SortedSet extends Set implements java.util.SortedSet { --- 13,21 ---- /** ! * A persistent wrapper for a <tt>java.util.SortedSet</tt>. Underlying ! * collection is a <tt>TreeSet</tt>. ! * ! * @see java.util.TreeSet ! * @author <a href="mailto:dou...@al...">e</a> */ public class SortedSet extends Set implements java.util.SortedSet { |
From: <one...@us...> - 2003-04-25 03:41:04
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/cfg In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/cfg Modified Files: Configuration.java Environment.java Mappings.java Log Message: JavaDoc refresh, including @author tags Index: Configuration.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/cfg/Configuration.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Configuration.java 6 Apr 2003 15:02:01 -0000 1.20 --- Configuration.java 25 Apr 2003 03:40:30 -0000 1.21 *************** *** 71,74 **** --- 71,75 ---- * * @see net.sf.hibernate.SessionFactory + * @author Gavin King */ public class Configuration implements Mapping { Index: Environment.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/cfg/Environment.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Environment.java 10 Apr 2003 09:49:15 -0000 1.9 --- Environment.java 25 Apr 2003 03:40:30 -0000 1.10 *************** *** 45,49 **** * <tr> * <td><tt>hibernate.dialect</tt></td> ! * <td>classname of <tt>net.sf.hibernate.sql.Dialect</tt> subclass</td> * </tr> * <tr> --- 45,49 ---- * <tr> * <td><tt>hibernate.dialect</tt></td> ! * <td>classname of <tt>net.sf.hibernate.dialect.Dialect</tt> subclass</td> * </tr> * <tr> *************** *** 126,130 **** * </table> * ! * @see SessionFactory */ public final class Environment { --- 126,131 ---- * </table> * ! * @see net.sf.hibernate.SessionFactory ! * @author Gavin King */ public final class Environment { Index: Mappings.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/cfg/Mappings.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Mappings.java 29 Mar 2003 07:36:22 -0000 1.6 --- Mappings.java 25 Apr 2003 03:40:30 -0000 1.7 *************** *** 17,20 **** --- 17,21 ---- * relational database tables. (Represents a single * <tt><hibernate-mapping></tt> element.) + * @author Gavin King */ public class Mappings { |
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/type Modified Files: AbstractComponentType.java AbstractType.java AssociationType.java BigDecimalType.java ComponentType.java CompositeCustomType.java CurrencyType.java CustomType.java DiscriminatorType.java DynaBeanType.java EntityType.java IdentifierType.java ImmutableType.java LiteralType.java ManyToOneType.java MutableType.java NullableType.java ObjectType.java OneToOneType.java PersistentCollectionType.java PersistentEnumType.java Type.java TypeFactory.java VersionType.java Log Message: JavaDoc refresh, including @author tags Index: AbstractComponentType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/AbstractComponentType.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** AbstractComponentType.java 6 Apr 2003 02:28:58 -0000 1.7 --- AbstractComponentType.java 25 Apr 2003 03:40:37 -0000 1.8 *************** *** 8,11 **** --- 8,16 ---- /** * Enables other Component-like types to hold collections and have cascades, etc. + * + * @see ComponentType + * @see DynaBeanType + * @see ObjectType + * @author Gavin King */ public interface AbstractComponentType extends Type { Index: AbstractType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/AbstractType.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** AbstractType.java 6 Apr 2003 10:11:12 -0000 1.8 --- AbstractType.java 25 Apr 2003 03:40:37 -0000 1.9 *************** *** 10,14 **** /** ! * Mapping of the built in Type hierarchy. */ public abstract class AbstractType implements Type { --- 10,15 ---- /** ! * Abstract superclass of the built in Type hierarchy. ! * @author Gavin King */ public abstract class AbstractType implements Type { Index: AssociationType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/AssociationType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AssociationType.java 5 Jan 2003 02:11:24 -0000 1.3 --- AssociationType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 7,10 **** --- 7,11 ---- * A type that represents some kind of association between entities. * @see net.sf.hibernate.engine.Cascades + * @author Gavin King */ public interface AssociationType { Index: BigDecimalType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/BigDecimalType.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** BigDecimalType.java 19 Jan 2003 11:47:08 -0000 1.4 --- BigDecimalType.java 25 Apr 2003 03:40:37 -0000 1.5 *************** *** 48,52 **** /** ! * @see net.sf.hibernate.type.Type#returnedClass() */ public Class getReturnedClass() { --- 48,52 ---- /** ! * @see net.sf.hibernate.type.Type#getReturnedClass() */ public Class getReturnedClass() { Index: ComponentType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/ComponentType.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ComponentType.java 10 Apr 2003 09:49:18 -0000 1.13 --- ComponentType.java 25 Apr 2003 03:40:37 -0000 1.14 *************** *** 25,28 **** --- 25,32 ---- import net.sf.hibernate.util.ReflectHelper; + /** + * Handles "component" mappings + * @author Gavin King + */ public class ComponentType extends AbstractType implements AbstractComponentType { Index: CompositeCustomType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/CompositeCustomType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CompositeCustomType.java 8 Apr 2003 09:49:34 -0000 1.3 --- CompositeCustomType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 19,22 **** --- 19,26 ---- import net.sf.hibernate.loader.OuterJoinLoader; + /** + * Adapts <tt>CompositeUserType</tt> to <tt>Type</tt> interface + * @author Gavin King + */ public class CompositeCustomType extends AbstractType implements AbstractComponentType { Index: CurrencyType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/CurrencyType.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CurrencyType.java 19 Jan 2003 11:47:08 -0000 1.4 --- CurrencyType.java 25 Apr 2003 03:40:37 -0000 1.5 *************** *** 97,101 **** /** ! * @see net.sf.hibernate.type.Type#returnedClass() */ public Class getReturnedClass() { --- 97,101 ---- /** ! * @see net.sf.hibernate.type.Type#getReturnedClass() */ public Class getReturnedClass() { Index: CustomType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/CustomType.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** CustomType.java 6 Apr 2003 10:11:12 -0000 1.8 --- CustomType.java 25 Apr 2003 03:40:37 -0000 1.9 *************** *** 20,23 **** --- 20,24 ---- * * @see net.sf.hibernate.UserType + * @author Gavin King */ *************** *** 71,75 **** /** ! * @see net.sf.hibernate.type.Type#returnedClass() */ public Class getReturnedClass() { --- 72,76 ---- /** ! * @see net.sf.hibernate.type.Type#getReturnedClass() */ public Class getReturnedClass() { Index: DiscriminatorType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/DiscriminatorType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DiscriminatorType.java 5 Jan 2003 02:11:24 -0000 1.3 --- DiscriminatorType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- /** * A <tt>Type</tt> that may be used for a discriminator column. + * @author Gavin King */ Index: DynaBeanType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/DynaBeanType.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DynaBeanType.java 6 Apr 2003 02:28:59 -0000 1.5 --- DynaBeanType.java 25 Apr 2003 03:40:37 -0000 1.6 *************** *** 17,20 **** --- 17,24 ---- import net.sf.hibernate.util.ArrayHelper; + /** + * Handles Jakarta commons-beanutils <tt>DynaBean</tt>s + * @author Gavin King + */ public class DynaBeanType extends AbstractType implements AbstractComponentType { *************** *** 42,62 **** - /** - * @see net.sf.hibernate.type.AbstractComponentType#cascade(int) - */ public Cascades.CascadeStyle cascade(int i) { return cascade[i]; } - /** - * @see net.sf.hibernate.type.AbstractComponentType#enableJoinedFetch(int) - */ public int enableJoinedFetch(int i) { return joinedFetch[i]; } - /** - * @see net.sf.hibernate.type.AbstractComponentType#getPropertyNames() - */ public String[] getPropertyNames() { return propertyNames; --- 46,57 ---- *************** *** 73,79 **** } - /** - * @see net.sf.hibernate.type.AbstractComponentType#getPropertyValue(java.lang.Object, int) - */ public Object getPropertyValue(Object component, int i) throws HibernateException { --- 68,71 ---- *************** *** 81,87 **** } - /** - * @see net.sf.hibernate.type.AbstractComponentType#getPropertyValues(java.lang.Object) - */ public Object[] getPropertyValues(Object component) throws HibernateException { --- 73,76 ---- *************** *** 94,107 **** } - /** - * @see net.sf.hibernate.type.AbstractComponentType#getSubtypes() - */ public Type[] getSubtypes() { return propertyTypes; } - /** - * @see net.sf.hibernate.type.AbstractComponentType#instantiate(java.lang.Object) - */ public Object instantiate() throws HibernateException { try { --- 83,90 ---- *************** *** 113,119 **** } - /** - * @see net.sf.hibernate.type.AbstractComponentType#setPropertyValues(java.lang.Object, java.lang.Object) - */ public void setPropertyValues(Object component, Object[] values) throws HibernateException { --- 96,99 ---- *************** *** 124,130 **** } - /** - * @see net.sf.hibernate.type.Type#deepCopy(java.lang.Object) - */ public Object deepCopy(Object component) throws HibernateException { if (component==null) return null; --- 104,107 ---- *************** *** 139,145 **** } - /** - * @see net.sf.hibernate.type.Type#equals(java.lang.Object, java.lang.Object) - */ public boolean equals(Object x, Object y) throws HibernateException { if (x==y) return true; --- 116,119 ---- *************** *** 164,170 **** } - /** - * @see net.sf.hibernate.type.Type#getColumnSpan(net.sf.hibernate.engine.Mapping) - */ public int getColumnSpan(Mapping mapping) throws MappingException { int span = 0; --- 138,141 ---- *************** *** 175,195 **** } - /** - * @see net.sf.hibernate.type.Type#getName() - */ public String getName() { return clazz.getName(); } - /** - * @see net.sf.hibernate.type.Type#hasNiceEquals() - */ public boolean hasNiceEquals() { return false; } - /** - * @see net.sf.hibernate.type.Type#isMutable() - */ public boolean isMutable() { return true; --- 146,157 ---- *************** *** 205,211 **** } - /** - * @see net.sf.hibernate.type.Type#nullSafeGet(java.sql.ResultSet, java.lang.String, net.sf.hibernate.engine.SessionImplementor, java.lang.Object) - */ public Object nullSafeGet( ResultSet rs, --- 167,170 ---- *************** *** 217,223 **** } - /** - * @see net.sf.hibernate.type.Type#nullSafeGet(java.sql.ResultSet, java.lang.String, net.sf.hibernate.engine.SessionImplementor, java.lang.Object) - */ public Object nullSafeGet( ResultSet rs, --- 176,179 ---- *************** *** 251,257 **** } - /** - * @see net.sf.hibernate.type.Type#nullSafeSet(java.sql.PreparedStatement, java.lang.Object, int, net.sf.hibernate.engine.SessionImplementor) - */ public void nullSafeSet( PreparedStatement st, --- 207,210 ---- *************** *** 269,282 **** } - /** - * @see net.sf.hibernate.type.Type#returnedClass() - */ public Class getReturnedClass() { return DynaBean.class; } - /** - * @see net.sf.hibernate.type.Type#sqlTypes(net.sf.hibernate.engine.Mapping) - */ public int[] sqlTypes(Mapping mapping) throws MappingException { //Not called at runtime so doesn't matter if its slow :) --- 222,229 ---- *************** *** 292,298 **** } - /** - * @see net.sf.hibernate.type.Type#toXML(java.lang.Object, net.sf.hibernate.engine.SessionFactoryImplementor) - */ public String toXML(Object value, SessionFactoryImplementor factory) throws HibernateException { --- 239,242 ---- Index: EntityType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/EntityType.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** EntityType.java 6 Apr 2003 10:11:12 -0000 1.8 --- EntityType.java 25 Apr 2003 03:40:37 -0000 1.9 *************** *** 15,18 **** --- 15,19 ---- /** * A reference to an entity class + * @author Gavin King */ Index: IdentifierType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/IdentifierType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** IdentifierType.java 5 Jan 2003 02:11:24 -0000 1.3 --- IdentifierType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- /** * A <tt>Type</tt> that may be used as an identifier. + * @author Gavin King */ public interface IdentifierType extends Type { Index: ImmutableType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/ImmutableType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ImmutableType.java 5 Jan 2003 02:11:24 -0000 1.3 --- ImmutableType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 6,9 **** --- 6,10 ---- /** * Superclass of nullable immutable types. + * @author Gavin King */ Index: LiteralType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/LiteralType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LiteralType.java 5 Jan 2003 02:11:24 -0000 1.3 --- LiteralType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- /** * A type that may appear as an SQL literal + * @author Gavin King */ public interface LiteralType { Index: ManyToOneType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/ManyToOneType.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ManyToOneType.java 6 Apr 2003 10:11:13 -0000 1.6 --- ManyToOneType.java 25 Apr 2003 03:40:37 -0000 1.7 *************** *** 14,19 **** /** * A many-to-one association to an entity */ - public class ManyToOneType extends EntityType implements AssociationType { --- 14,19 ---- /** * A many-to-one association to an entity + * @author Gavin King */ public class ManyToOneType extends EntityType implements AssociationType { Index: MutableType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/MutableType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MutableType.java 5 Jan 2003 02:11:24 -0000 1.3 --- MutableType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- /** * Superclass for mutable nullable types + * @author Gavin King */ public abstract class MutableType extends NullableType { Index: NullableType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/NullableType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NullableType.java 5 Jan 2003 02:11:24 -0000 1.3 --- NullableType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 17,20 **** --- 17,21 ---- /** * Superclass of single-column nullable types. + * @author Gavin King */ public abstract class NullableType extends AbstractType { Index: ObjectType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/ObjectType.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ObjectType.java 11 Apr 2003 07:15:54 -0000 1.10 --- ObjectType.java 25 Apr 2003 03:40:37 -0000 1.11 *************** *** 19,22 **** --- 19,26 ---- import net.sf.hibernate.util.ArrayHelper; + /** + * Handles "any" mappings and the old deprecated "object" type + * @author Gavin King + */ public class ObjectType extends AbstractType implements AbstractComponentType, AssociationType { *************** *** 126,130 **** /** ! * @see net.sf.hibernate.type.Type#returnedClass() */ public Class getReturnedClass() { --- 130,134 ---- /** ! * @see net.sf.hibernate.type.Type#getReturnedClass() */ public Class getReturnedClass() { Index: OneToOneType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/OneToOneType.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** OneToOneType.java 6 Apr 2003 10:11:13 -0000 1.7 --- OneToOneType.java 25 Apr 2003 03:40:37 -0000 1.8 *************** *** 15,18 **** --- 15,19 ---- /** * A one-to-one association to an entity + * @author Gavin King */ public class OneToOneType extends EntityType implements AssociationType { Index: PersistentCollectionType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/PersistentCollectionType.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** PersistentCollectionType.java 6 Apr 2003 10:11:13 -0000 1.9 --- PersistentCollectionType.java 25 Apr 2003 03:40:37 -0000 1.10 *************** *** 17,20 **** --- 17,25 ---- import net.sf.hibernate.engine.SessionImplementor; + /** + * A type that handles Hibernate <tt>PersistentCollections</tt> and + * arrays. + * @author Gavin King + */ public abstract class PersistentCollectionType extends AbstractType implements AssociationType { Index: PersistentEnumType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/PersistentEnumType.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PersistentEnumType.java 19 Jan 2003 11:47:08 -0000 1.5 --- PersistentEnumType.java 25 Apr 2003 03:40:37 -0000 1.6 *************** *** 17,20 **** --- 17,25 ---- import net.sf.hibernate.util.ReflectHelper; + /** + * A type for Hibernate <tt>PersistentEnum</tt> + * @see net.sf.hibernate.PersistentEnum + * @author Gavin King + */ public class PersistentEnumType extends ImmutableType implements LiteralType { Index: Type.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/Type.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Type.java 6 Apr 2003 10:11:13 -0000 1.9 --- Type.java 25 Apr 2003 03:40:37 -0000 1.10 *************** *** 18,21 **** --- 18,22 ---- * <br> * Implementors should usually be immutable and <b>must</b> definately be threadsafe. + * @author Gavin King */ public interface Type extends Serializable { *************** *** 217,221 **** * Retrieve an instance of the mapped class, or the identifier of an entity or collection, from a JDBC resultset. * This is useful for 2-phase property initialization - the second phase is a call to <tt>resolveIdentifier()</tt>. ! * @see Type#resolveIdentifier(Object, SessionImplementor) * @param rs * @param names the column names --- 218,222 ---- * Retrieve an instance of the mapped class, or the identifier of an entity or collection, from a JDBC resultset. * This is useful for 2-phase property initialization - the second phase is a call to <tt>resolveIdentifier()</tt>. ! * @see Type#resolveIdentifier(Object, SessionImplementor, Object) * @param rs * @param names the column names Index: TypeFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/TypeFactory.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TypeFactory.java 6 Apr 2003 02:28:59 -0000 1.7 --- TypeFactory.java 25 Apr 2003 03:40:37 -0000 1.8 *************** *** 30,33 **** --- 30,34 ---- * use static methods and constants on <tt>net.sf.hibernate.Hibernate</tt>. * @see net.sf.hibernate.Hibernate + * @author Gavin King */ Index: VersionType.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/type/VersionType.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** VersionType.java 5 Jan 2003 02:11:24 -0000 1.3 --- VersionType.java 25 Apr 2003 03:40:37 -0000 1.4 *************** *** 3,6 **** --- 3,7 ---- /** * A <tt>Type</tt> that may be used to version data. + * @author Gavin King */ public interface VersionType extends Type { |
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/persister Modified Files: AbstractEntityPersister.java ClassPersister.java EntityPersister.java Loadable.java NormalizedEntityPersister.java Queryable.java Log Message: JavaDoc refresh, including @author tags Index: AbstractEntityPersister.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/AbstractEntityPersister.java,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** AbstractEntityPersister.java 17 Apr 2003 08:09:12 -0000 1.22 --- AbstractEntityPersister.java 25 Apr 2003 03:40:35 -0000 1.23 *************** *** 51,54 **** --- 51,56 ---- * <br> * May be considered an immutable view of the mapping object.<br> + * + * @author Gavin King */ abstract class AbstractEntityPersister implements Queryable, ClassMetadata { Index: ClassPersister.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/ClassPersister.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ClassPersister.java 4 Mar 2003 10:53:47 -0000 1.8 --- ClassPersister.java 25 Apr 2003 03:40:35 -0000 1.9 *************** *** 27,30 **** --- 27,31 ---- * * @see EntityPersister + * @author Gavin King */ public interface ClassPersister { Index: EntityPersister.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/EntityPersister.java,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** EntityPersister.java 18 Apr 2003 05:09:50 -0000 1.25 --- EntityPersister.java 25 Apr 2003 03:40:35 -0000 1.26 *************** *** 54,57 **** --- 54,59 ---- * Implements the "table-per-class-hierarchy" mapping strategy for an entity * class. + * + * @author Gavin King */ public class EntityPersister extends AbstractEntityPersister implements Queryable { Index: Loadable.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/Loadable.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Loadable.java 24 Jan 2003 13:07:17 -0000 1.6 --- Loadable.java 25 Apr 2003 03:40:35 -0000 1.7 *************** *** 11,14 **** --- 11,15 ---- * @see net.sf.hibernate.loader.Loader * @see net.sf.hibernate.loader.OuterJoinLoader + * @author Gavin King */ public interface Loadable extends ClassPersister { Index: NormalizedEntityPersister.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/NormalizedEntityPersister.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** NormalizedEntityPersister.java 18 Apr 2003 05:09:50 -0000 1.18 --- NormalizedEntityPersister.java 25 Apr 2003 03:40:35 -0000 1.19 *************** *** 55,58 **** --- 55,60 ---- * A <tt>ClassPersister</tt> implementing the normalized "table-per-subclass" * mapping strategy.<br> + * + * @author Gavin King */ public class NormalizedEntityPersister extends AbstractEntityPersister { Index: Queryable.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/persister/Queryable.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Queryable.java 6 Apr 2003 02:28:58 -0000 1.7 --- Queryable.java 25 Apr 2003 03:40:35 -0000 1.8 *************** *** 9,12 **** --- 9,14 ---- * Extends the generic <tt>ClassPersister</tt> contract to add * operations required by the query language + * + * @author Gavin King */ public interface Queryable extends Loadable { |
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/transaction Modified Files: JBossTransactionManagerLookup.java JDBCTransaction.java JDBCTransactionFactory.java JNDITransactionManagerLookup.java JRun4TransactionManagerLookup.java JTATransaction.java JTATransactionFactory.java OrionTransactionManagerLookup.java ResinTransactionManagerLookup.java TransactionFactory.java TransactionManagerLookup.java WebSphereTransactionManagerLookup.java WeblogicTransactionManagerLookup.java Log Message: JavaDoc refresh, including @author tags Index: JBossTransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/JBossTransactionManagerLookup.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JBossTransactionManagerLookup.java 5 Jan 2003 02:11:24 -0000 1.3 --- JBossTransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 2,10 **** package net.sf.hibernate.transaction; public final class JBossTransactionManagerLookup extends JNDITransactionManagerLookup { - /** - * @see net.sf.hibernate.transaction.JNDITransactionManagerLookup#getName() - */ protected String getName() { return "java:/TransactionManager"; --- 2,11 ---- package net.sf.hibernate.transaction; + /** + * A <tt>TransactionManager</tt> lookup strategy for JBoss + * @author Gavin King + */ public final class JBossTransactionManagerLookup extends JNDITransactionManagerLookup { protected String getName() { return "java:/TransactionManager"; Index: JDBCTransaction.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/JDBCTransaction.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** JDBCTransaction.java 14 Jan 2003 13:42:18 -0000 1.5 --- JDBCTransaction.java 25 Apr 2003 03:40:36 -0000 1.6 *************** *** 17,20 **** --- 17,21 ---- * default <tt>Transaction</tt> implementation used if none is explicitly * specified. + * @author Anton van Straaten, Gavin King */ public class JDBCTransaction implements Transaction { Index: JDBCTransactionFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/JDBCTransactionFactory.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** JDBCTransactionFactory.java 9 Jan 2003 12:24:52 -0000 1.4 --- JDBCTransactionFactory.java 25 Apr 2003 03:40:36 -0000 1.5 *************** *** 11,14 **** --- 11,15 ---- * Factory for <tt>JDBCTransaction</tt>. * @see JDBCTransaction + * @author Anton van Straaten */ public final class JDBCTransactionFactory implements TransactionFactory { Index: JNDITransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/JNDITransactionManagerLookup.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JNDITransactionManagerLookup.java 5 Jan 2003 02:11:24 -0000 1.3 --- JNDITransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 12,15 **** --- 12,16 ---- /** * Locates a <tt>TransactionManager</tt> in JNDI. + * @author Gavin King */ public abstract class JNDITransactionManagerLookup implements TransactionManagerLookup { Index: JRun4TransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/JRun4TransactionManagerLookup.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JRun4TransactionManagerLookup.java 31 Jan 2003 09:02:37 -0000 1.1 --- JRun4TransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.2 *************** *** 1,17 **** package net.sf.hibernate.transaction; public class JRun4TransactionManagerLookup extends JNDITransactionManagerLookup { - /** - * @see cirrus.hibernate.transaction.JNDITransactionManagerLookup#getName() - */ protected String getName() { return "java:/TransactionManager"; } ! ! /** ! * @see cirrus.hibernate.transaction. ! * JNDITransactionManagerLookup#getUserTransactionName() ! */ public String getUserTransactionName() { return "java:comp/UserTransaction"; --- 1,14 ---- package net.sf.hibernate.transaction; + /** + * TransactionManager lookup strategy for JRun4 + * @author Joseph Bissen + */ public class JRun4TransactionManagerLookup extends JNDITransactionManagerLookup { protected String getName() { return "java:/TransactionManager"; } ! public String getUserTransactionName() { return "java:comp/UserTransaction"; Index: JTATransaction.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/JTATransaction.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** JTATransaction.java 14 Jan 2003 13:42:18 -0000 1.5 --- JTATransaction.java 25 Apr 2003 03:40:36 -0000 1.6 *************** *** 31,34 **** --- 31,35 ---- * <tr><td><tt>jta.UserTransaction</tt></td><td>JNDI name</td></tr> * </table> + * @author Gavin King */ public class JTATransaction implements Transaction, Synchronization { Index: JTATransactionFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/JTATransactionFactory.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** JTATransactionFactory.java 26 Jan 2003 01:33:36 -0000 1.5 --- JTATransactionFactory.java 25 Apr 2003 03:40:36 -0000 1.6 *************** *** 21,24 **** --- 21,25 ---- * Factory for <tt>JTATransaction</tt>. * @see JTATransaction + * @author Gavin King */ public class JTATransactionFactory implements TransactionFactory { Index: OrionTransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/OrionTransactionManagerLookup.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** OrionTransactionManagerLookup.java 5 Jan 2003 02:11:24 -0000 1.3 --- OrionTransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 2,5 **** --- 2,9 ---- package net.sf.hibernate.transaction; + /** + * TransactionManager lookup strategy for Orion + * @author Gavin King + */ public class OrionTransactionManagerLookup extends JNDITransactionManagerLookup { Index: ResinTransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/ResinTransactionManagerLookup.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ResinTransactionManagerLookup.java 5 Jan 2003 02:11:24 -0000 1.3 --- ResinTransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 2,5 **** --- 2,9 ---- package net.sf.hibernate.transaction; + /** + * TransactionManager lookup strategy for Resin + * @author Aapo Laakkonen + */ public class ResinTransactionManagerLookup extends JNDITransactionManagerLookup { Index: TransactionFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/TransactionFactory.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TransactionFactory.java 5 Jan 2003 02:11:24 -0000 1.3 --- TransactionFactory.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 14,17 **** --- 14,18 ---- * Implementors must be threadsafe and should declare a public default constructor. * @see Transaction + * @author Anton van Straaten, Gavin King */ public interface TransactionFactory { Index: TransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/TransactionManagerLookup.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TransactionManagerLookup.java 5 Jan 2003 02:11:24 -0000 1.3 --- TransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 10,13 **** --- 10,14 ---- * Concrete implementations locate and return the JTA * <tt>TransactionManager</tt>. + * @author Gavin King */ public interface TransactionManagerLookup { Index: WebSphereTransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/WebSphereTransactionManagerLookup.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** WebSphereTransactionManagerLookup.java 5 Jan 2003 02:11:24 -0000 1.3 --- WebSphereTransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 11,14 **** --- 11,18 ---- import net.sf.hibernate.HibernateException; + /** + * TransactionManager lookup strategy for WebSphere (versions 4 and 5) + * @author Gavin King + */ public class WebSphereTransactionManagerLookup implements TransactionManagerLookup { Index: WeblogicTransactionManagerLookup.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/transaction/WeblogicTransactionManagerLookup.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** WeblogicTransactionManagerLookup.java 5 Jan 2003 02:11:24 -0000 1.3 --- WeblogicTransactionManagerLookup.java 25 Apr 2003 03:40:36 -0000 1.4 *************** *** 2,5 **** --- 2,9 ---- package net.sf.hibernate.transaction; + /** + * TransactionManager lookup strategy for WebLogic + * @author Gavin King + */ public final class WeblogicTransactionManagerLookup extends JNDITransactionManagerLookup { |
From: <one...@us...> - 2003-04-25 03:40:41
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/ps In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/ps Modified Files: PreparedStatementCache.java Log Message: JavaDoc refresh, including @author tags Index: PreparedStatementCache.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/ps/PreparedStatementCache.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** PreparedStatementCache.java 22 Feb 2003 06:42:07 -0000 1.7 --- PreparedStatementCache.java 25 Apr 2003 03:40:36 -0000 1.8 *************** *** 22,25 **** --- 22,26 ---- * A cache for <tt>PreparedStatement</tt> instances that is reasonably efficient for small * maximum cache sizes. + * @author Gavin King */ public final class PreparedStatementCache { |
From: <one...@us...> - 2003-04-25 03:40:41
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/test In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/test Modified Files: FooBarTest.java Log Message: JavaDoc refresh, including @author tags Index: FooBarTest.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/test/FooBarTest.java,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** FooBarTest.java 21 Apr 2003 06:28:18 -0000 1.58 --- FooBarTest.java 25 Apr 2003 03:40:36 -0000 1.59 *************** *** 1212,1215 **** --- 1212,1217 ---- s.find("from bar in class Bar, foo in elements(bar.baz.fooArray)"); + + //s.find("from Baz as baz where baz.topComponents[baz].name = 'bazzz'"); if (dialect instanceof DB2Dialect) { |
From: <one...@us...> - 2003-04-25 03:40:41
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/xml In directory sc8-pr-cvs1:/tmp/cvs-serv29107/hibernate/xml Modified Files: XMLDatabinder.java Log Message: JavaDoc refresh, including @author tags Index: XMLDatabinder.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/xml/XMLDatabinder.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** XMLDatabinder.java 6 Apr 2003 02:28:59 -0000 1.8 --- XMLDatabinder.java 25 Apr 2003 03:40:37 -0000 1.9 *************** *** 56,59 **** --- 56,60 ---- * Implementation of the API class Databinder. NOT threadsafe. * @see Databinder + * @author Gavin King, Brad Clow */ public class XMLDatabinder implements Databinder { |
From: <one...@us...> - 2003-04-24 09:23:16
|
Update of /cvsroot/hibernate/Hibernate2/doc/reference/src In directory sc8-pr-cvs1:/tmp/cvs-serv13600 Modified Files: basic_or_mapping.xml Log Message: fixed bug spotted by Colin Evans Index: basic_or_mapping.xml =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/doc/reference/src/basic_or_mapping.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** basic_or_mapping.xml 19 Apr 2003 03:34:34 -0000 1.15 --- basic_or_mapping.xml 24 Apr 2003 09:23:12 -0000 1.16 *************** *** 86,90 **** <area id="hm3" coords="4 55"/> </areaspec> ! <programlisting><![CDATA[<class schema="schemaName" default-cascade="none|save-update" --- 86,90 ---- <area id="hm3" coords="4 55"/> </areaspec> ! <programlisting><![CDATA[<hibernate-mapping schema="schemaName" default-cascade="none|save-update" |
From: <one...@us...> - 2003-04-23 09:50:53
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl In directory sc8-pr-cvs1:/tmp/cvs-serv5442 Modified Files: QueryImpl.java Log Message: applied bugfix by Nick Heudecker for parameter list binding Index: QueryImpl.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl/QueryImpl.java,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** QueryImpl.java 16 Apr 2003 06:30:50 -0000 1.27 --- QueryImpl.java 23 Apr 2003 09:50:37 -0000 1.28 *************** *** 368,372 **** while ( iter.hasNext() ) { Map.Entry me = (Map.Entry) iter.next(); ! query = bindParameterList( queryString, (String) me.getKey(), (TypedValue) me.getValue(), namedParams ); } return query; --- 368,372 ---- while ( iter.hasNext() ) { Map.Entry me = (Map.Entry) iter.next(); ! query = bindParameterList( query, (String) me.getKey(), (TypedValue) me.getValue(), namedParams ); } return query; |
From: <one...@us...> - 2003-04-23 09:49:18
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl In directory sc8-pr-cvs1:/tmp/cvs-serv4851/sf/hibernate/impl Modified Files: QueryImpl.java Log Message: applied bugfix by Nick Heudecker for parameter list binding Index: QueryImpl.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl/QueryImpl.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** QueryImpl.java 16 Apr 2003 06:20:42 -0000 1.14 --- QueryImpl.java 23 Apr 2003 09:49:03 -0000 1.15 *************** *** 359,363 **** while ( iter.hasNext() ) { Map.Entry me = (Map.Entry) iter.next(); ! query = bindParameterList( queryString, (String) me.getKey(), (TypedValue) me.getValue(), namedParams ); } return query; --- 359,363 ---- while ( iter.hasNext() ) { Map.Entry me = (Map.Entry) iter.next(); ! query = bindParameterList( query, (String) me.getKey(), (TypedValue) me.getValue(), namedParams ); } return query; |
From: <tu...@us...> - 2003-04-22 20:28:19
|
Update of /cvsroot/hibernate/Hibernate2/doc/reference/src In directory sc8-pr-cvs1:/tmp/cvs-serv24130/src Modified Files: manipulating_data.xml Log Message: Integrated first set of FAQs Index: manipulating_data.xml =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/doc/reference/src/manipulating_data.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** manipulating_data.xml 22 Apr 2003 11:11:35 -0000 1.7 --- manipulating_data.xml 22 Apr 2003 20:28:14 -0000 1.8 *************** *** 491,494 **** --- 491,565 ---- secondSession.saveOrUpdate(mate); // save the new instance (mate has a null id)]]></programlisting> + <para> + The usage and semantics of <literal>saveOrUpdate()</literal> seems to be confusing + for new users. Firstly, so long as you are not trying to use instances from one session + in another new session, you should not need to use <literal>update()</literal> or + <literal>saveOrUpdate()</literal>. Some whole applications will never use either of + these methods. + </para> + + <para> + Usually <literal>update()</literal> or <literal>saveOrUpdate()</literal> are used in + the following scenario: + </para> + + <itemizedlist spacing="compact"> + <listitem> + <para> + the application loads an object in the first session + </para> + </listitem> + <listitem> + <para> + the object is passed up to the UI tier + </para> + </listitem> + <listitem> + <para> + some modifications are made to the object + </para> + </listitem> + <listitem> + <para> + the object is passed back down to the business logic tier + </para> + </listitem> + <listitem> + <para> + the application persists these modifications by calling + <literal>update()</literal> in a second session + </para> + </listitem> + </itemizedlist> + + <para> + <literal>saveOrUpdate()</literal> does the following: + </para> + + <itemizedlist spacing="compact"> + <listitem> + <para> + if the object is already persistent in this session, do nothing + </para> + </listitem> + <listitem> + <para> + if the object has no identifier property, <literal>save()</literal> it + </para> + </listitem> + <listitem> + <para> + if the object's identifier matches the criteria specified by + <literal>unsaved-value</literal>, <literal>save()</literal> it + </para> + </listitem> + <listitem> + <para> + if another object associated with the session has the same + identifier, throw an exception + </para> + </listitem> + </itemizedlist> + </sect1> *************** *** 751,755 **** Ending a session involves four distinct phases: </para> ! <itemizedlist spacing="compact"> <listitem> --- 822,826 ---- Ending a session involves four distinct phases: </para> ! <itemizedlist spacing="compact"> <listitem> *************** *** 946,950 **** </sect1> ! <sect1 id="manipulating-data-s15"> <title>Interceptors</title> --- 1017,1021 ---- </sect1> ! <sect1 id="manipulating-data-s15"> <title>Interceptors</title> *************** *** 1047,1050 **** --- 1118,1291 ---- <programlisting><![CDATA[Session session = sf.openSession( new AuditInterceptor() );]]></programlisting> + </sect1> + + <sect1 id="manipulating-data-s16"> + <title>Frequently Asked Questions</title> + + <para> + <emphasis role="strong"> + I saved/deleted/updated an object/collection but I can't see the changes in the database. + </emphasis> + </para> + <para> + You must either call <literal>Transaction.commit()</literal> (if using the Hibernate + Transaction API) or <literal>Session.flush()</literal> at the end of a session to + flush your changes to the database. A commit of the transaction automatically flushes + the state of the current session to the database. + </para> + <para> + If you are not using the Hibernate Transaction API (with + <literal>Session.beginTransaction()</literal>, you must then explicitly commit the + transaction (by committing the JTA transaction or JDBC <literal>Connection</literal>). + </para> + + + <para> + <emphasis role="strong"> + I saved a parent object but its associated objects weren't saved to the database. + </emphasis> + </para> + <para> + Hibernate doesn't support full Persistence By Reachability (automatic cascading + of state changes to reachable objects). Associated objects must be saved explicitly + (by calling <literal>Session.save()</literal>) or the association must be + mapped with <literal>cascade="all"</literal>. + </para> + + + <para> + <emphasis role="strong"> + I'm having trouble with a bidirectional association. + </emphasis> + </para> + <para> + When you update a bidirectional association you must update both ends + (even the one marked <literal>inverse="true"</literal>). This is exactly + the same as with any bidirectional assocation in Java without persistent + objects. + </para> + <programlisting><![CDATA[parent.getChildren().add(child); + child.setParent(parent);]]></programlisting> + + + <para> + <emphasis role="strong"> + I'm seeing foreign key constraint violations when using assigned identifiers + with cascades or <literal>saveOrUpdate()</literal>. + </emphasis> + </para> + <para> + Assigned identifiers and composite identifiers can't be used to distinguish + newly instantiated instances from instances saved or loaded in a + previous session. You will need to be more explicit; tell Hibernate exactly + what you mean by calling either <literal>save()</literal> or + <literal>update()</literal>. + </para> + + + <para> + <emphasis role="strong"> + Hibernate keeps deleting and recreating my collection! + </emphasis> + </para> + <para> + Unlike other Hibernate value types, Hibernate tracks actual collection + instances using Java identity, <literal>==</literal>. Your getter method should + return the same collection instance as was assigned by Hibernate to the setter + method (unless you don't mind the collection being removed and recreated every + time the session is flushed). + </para> + <para> + This doesn't mean you shouldn't return a different collection if you really + are replacing the current collection with a new collection with completely + different elements. In certain cases, this behaviour can even be taken + advantage of to increase performance. + </para> + + + <para> + <emphasis role="strong"> + Hibernate throws a <literal>NullPointerException</literal> when I load or query an object. + </emphasis> + </para> + <para> + If your object has a primitive-type property mapped to a nullable database column then + you will need to use a Hibernate custom type to assign a sensible default + (primitive) value for the case of a null column value. A better solution is usually to + use a wrapper type for the Java property (ie. Long, Integer, ...). + </para> + + <para> + <emphasis role="strong"> + I removed an object from a collection mapped with <literal>cascade="all"</literal> + but the object was not deleted! + </emphasis> + </para> + <para> + When marked as <literal>cascade="all"</literal>, Hibernate cascades the + <literal>delete()</literal> operation from parent to child. Hibernate never deletes + an entity without this implicit or an explicit call to <literal>delete()</literal>. + If you aren't deleting the parent object, you will have to explicitly delete + the child after you've removed it from the collection. + </para> + <para> + On the other hand, if you really want to avoid explicitly deleting collection + elements, one solution is to model them as value types rather than + entities. (Value types are always persisted or removed along with their + parent entity.) So you would use a <literal><composite-element></literal> + mapping for the element class instead of modelling it as a seperate entity. + </para> + + + <para> + <emphasis role="strong"> + <literal>saveOrUpdate()</literal> just creates new rows for old instances! + </emphasis> + </para> + <para> + There are two reasons why this could occur: + </para> + <itemizedlist spacing="compact"> + <listitem> + <para> + The <literal><id></literal> element does not specify the + correct <literal>unsaved-value</literal>. + </para> + </listitem> + <listitem> + <para> + You are using an <literal>assigned</literal> identifier + (or a composite identifier). + </para> + </listitem> + </itemizedlist> + <para> + In the first case, you should simply specify <literal>unsaved-value</literal>. + In the second case, you can't use <literal>saveOrUpdate()</literal>. You should + explicitly call <literal>save()</literal> or <literal>update()</literal> on a + case-by-case basis. + </para> + + + <para> + <emphasis role="strong"> + Why does Hibernate always initialize a collection when I only want to add or + remove an element? + </emphasis> + </para> + <para> + Unfortunately the collections API defines method return values that may + only be computed by hitting the database. (There is one exception to this: + Hibernate can add to a <literal><bag></literal> declared with + <literal>readonly="true"</literal> without initializing the bag; the return + value must always be true.) + </para> + <para> + If you want to avoid this extra database traffic (ie. in performance critical + code), refactor your model to use only many-to-one associations. This is + almost always possible. Then use queries in place of collection access. + </para> + + </sect1> |
From: <one...@us...> - 2003-04-22 11:11:40
|
Update of /cvsroot/hibernate/Hibernate2/doc/reference/src In directory sc8-pr-cvs1:/tmp/cvs-serv1959/reference/src Modified Files: manipulating_data.xml session_configuration.xml Log Message: documented some newer features Index: manipulating_data.xml =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/doc/reference/src/manipulating_data.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** manipulating_data.xml 12 Apr 2003 03:14:11 -0000 1.6 --- manipulating_data.xml 22 Apr 2003 11:11:35 -0000 1.7 *************** *** 649,656 **** <para> ! From time to time the <literal>Session</literal> will execute the ! SQL statements needed to synchronize the JDBC connection's state with the state ! of held in memory. This process, <emphasis>flush</emphasis>, occurs at the ! following points: </para> --- 649,656 ---- <para> ! From time to time the <literal>Session</literal> will execute the SQL statements ! needed to synchronize the JDBC connection's state with the state of objects held in ! memory. This process, <emphasis>flush</emphasis>, occurs by default at the following ! points </para> *************** *** 726,738 **** <para> ! If you happen to know that a particular <literal>find()</literal> ! or <literal>iterate()</literal> query does <emphasis>not</emphasis> require that ! the <literal>Session</literal> be flushed beforehand, it is possible to override ! the default behavior using <literal>Session.suspendFlushes()</literal> and ! <literal>Session.resumeFlushes()</literal>. Judicious usage might improve ! performance of some transactions. However, the session is now very clever about ! when it flushes before queries. </para> ! </sect1> --- 726,745 ---- <para> ! It is possible to change the default behavior so that flush occurs less frequently. ! The <literal>FlushMode</literal> class defines three different modes. This is most ! useful in the case of "readonly" transactions, where it might be used to achieve a ! (very) slight performance increase. </para> ! ! <programlisting><![CDATA[sess = sf.openSession(); ! Transaction tx = sess.beginTransaction(); ! sess.setFlushMode(FlushMode.COMMIT); //allow queries to return stale state ! Cat izi = (Cat) sess.load(Cat.class, id); ! izi.setName(iznizi); ! // execute some queries.... ! sess.find("from Cat as cat left outer join cat.kittens kitten"); //change to izi is not flushed!! ! .... ! tx.commit(); //flush occurs]]></programlisting> ! </sect1> *************** *** 908,915 **** --- 915,951 ---- </sect2> + </sect1> <sect1 id="manipulating-data-s14"> + <title>Managing the Session Cache</title> + <para> + Whenever you pass an object to <literal>save()</literal>, <literal>update()</literal> + or <literal>saveOrUpdate()</literal> and whenever you retrieve an object using + <literal>load()</literal>, <literal>find()</literal>, <literal>iterate()</literal>, + or <literal>filter()</literal>, that object is added to the internal cache of the + <literal>Session</literal>. When <literal>flush()</literal> is subsequently called, + the state of that object will be synchronized with the database. If you do not want + this synchronization to occur or if you are processing a huge number of objects and + need to manage memory efficiently, the <literal>evict()</literal> method may be + used to remove the object and its collections from the cache. + </para> + + <programlisting><![CDATA[Iterator cats = sess.iterate("from eg.Cat as cat"); //a huge result set + while ( cats.hasNext() ) { + Cat cat = (Cat) iter.next(); + doSomethingWithACat(cat); + sess.evict(cat); + }]]></programlisting> + + <para> + The <literal>Session</literal> also provides a <literal>contains()</literal> method + to determine if an instance belongs to the session cache. + </para> + + </sect1> + + <sect1 id="manipulating-data-s15"> <title>Interceptors</title> <para> Index: session_configuration.xml =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/doc/reference/src/session_configuration.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** session_configuration.xml 12 Apr 2003 03:14:11 -0000 1.9 --- session_configuration.xml 22 Apr 2003 11:11:36 -0000 1.10 *************** *** 416,419 **** --- 416,433 ---- <row> <entry> + <literal>hibernate.cglib.use_reflection_optimizer</literal> + </entry> + <entry> + Enables use of CGLIB instead of runtime reflection (default + is to use CGLIB where possible). Reflection can sometimes + be useful when troubleshooting. + <para> + <emphasis role="strong">Value:</emphasis> + <literal>true</literal> | <literal>false</literal> + </para> + </entry> + </row> + <row> + <entry> <literal>hibernate.connection.provider_class</literal> </entry> |
From: <max...@us...> - 2003-04-21 16:18:27
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/tool/ddl2hbm In directory sc8-pr-cvs1:/tmp/cvs-serv29543/src/net/sf/hibernate/tool/ddl2hbm Modified Files: MapGenerator.java Log Message: fixed that ddl2hbm generated to 1.1 dtd. It now generates to 2.0 dtd. Index: MapGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/tool/ddl2hbm/MapGenerator.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MapGenerator.java 21 Mar 2003 12:03:42 -0000 1.6 --- MapGenerator.java 21 Apr 2003 16:18:22 -0000 1.7 *************** *** 168,173 **** transformer.setOutputProperty(OutputKeys.INDENT, "yes"); transformer.setOutputProperty(OutputKeys.METHOD, "xml"); ! transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "http://hibernate.sourceforge.net/hibernate-mapping-1.1.dtd"); ! transformer.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, "-//Hibernate/Hibernate Mapping DTD 1.1//EN"); DOMSource source = new DOMSource(node); StreamResult result = new StreamResult(os); --- 168,173 ---- transformer.setOutputProperty(OutputKeys.INDENT, "yes"); transformer.setOutputProperty(OutputKeys.METHOD, "xml"); ! transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd"); ! transformer.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, "-//Hibernate/Hibernate Mapping DTD 2.0//EN"); DOMSource source = new DOMSource(node); StreamResult result = new StreamResult(os); |