From: <one...@us...> - 2003-04-06 10:11:42
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id In directory sc8-pr-cvs1:/tmp/cvs-serv26833/id Modified Files: Configurable.java IdentifierGenerator.java PersistentIdentifierGenerator.java Log Message: * reworked CompositeUserType * improved some exception handling Index: Configurable.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/Configurable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Configurable.java 9 Jan 2003 12:24:50 -0000 1.1 --- Configurable.java 6 Apr 2003 10:11:09 -0000 1.2 *************** *** 10,13 **** --- 10,14 ---- /** * An <tt>IdentifierGenerator</tt> that supports "configuration". + * @see IdentifierGenerator */ public interface Configurable { Index: IdentifierGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/IdentifierGenerator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** IdentifierGenerator.java 9 Jan 2003 12:24:50 -0000 1.4 --- IdentifierGenerator.java 6 Apr 2003 10:11:09 -0000 1.5 *************** *** 11,26 **** /** * The general contract between a class that generates unique ! * IDs and the <tt>Session</tt>. It is not intended that this ! * interface ever be exposed to the application. It <b>is</b> * intended that users implement this interface to provide ! * custom ID generation strategies.<br> * <br> ! * Implementors should provide a public constructor that takes ! * exactly as many <tt>String</tt> arguments as <tt><param> ! * </tt>elements in the mapping file.<br> * <br> * Implementors MUST be threadsafe * * @see PersistentIdentifierGenerator */ public interface IdentifierGenerator { --- 11,28 ---- /** * The general contract between a class that generates unique ! * identifiers and the <tt>Session</tt>. It is not intended that ! * this interface ever be exposed to the application. It <b>is</b> * intended that users implement this interface to provide ! * custom identifier generation strategies.<br> * <br> ! * Implementors should provide a public default constructor.<br> ! * <br> ! * Implementations that accept configuration parameters should ! * also implement <tt>Configurable</tt>. * <br> * Implementors MUST be threadsafe * * @see PersistentIdentifierGenerator + * @see Configurable */ public interface IdentifierGenerator { Index: PersistentIdentifierGenerator.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/id/PersistentIdentifierGenerator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PersistentIdentifierGenerator.java 6 Apr 2003 02:28:57 -0000 1.4 --- PersistentIdentifierGenerator.java 6 Apr 2003 10:11:09 -0000 1.5 *************** *** 6,14 **** /** ! * An <tt>IdentifierGenerator</tt> that requires creation of database objects. * * @see IdentifierGenerator */ - public interface PersistentIdentifierGenerator extends IdentifierGenerator { --- 6,17 ---- /** ! * An <tt>IdentifierGenerator</tt> that requires creation of database objects.<br> ! * <br> ! * All <tt>PersistentIdentifierGenerator</tt>s that also implement ! * <tt>Configurable</tt> have access to a special mapping parameter: schema * * @see IdentifierGenerator + * @see Configurable */ public interface PersistentIdentifierGenerator extends IdentifierGenerator { |