Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate In directory sc8-pr-cvs1:/tmp/cvs-serv16192/net/sf/hibernate Modified Files: Session.java Transaction.java TransactionException.java hibernate-mapping-1.1.dtd hibernate-mapping-2.0.dtd hibernate-mapping.dtd Log Message: redesigned id generator package applied Mark Woon's patch for generated alias lengths minor refactoring of Transaction package Index: Session.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Session.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Session.java 5 Jan 2003 02:11:19 -0000 1.3 --- Session.java 9 Jan 2003 12:24:49 -0000 1.4 *************** *** 487,491 **** /** * Begin a unit of work and return the associated <tt>Transaction</tt> object. ! * If a new underlying transaction is required, begin the transaction. * The class of the returned <tt>Transaction</tt> object is determined by the * property <tt>hibernate.transaction_factory</tt>. --- 487,492 ---- /** * Begin a unit of work and return the associated <tt>Transaction</tt> object. ! * If a new underlying transaction is required, begin the transaction. Otherwise ! * continue the new work in the context of the existing underlying transaction. * The class of the returned <tt>Transaction</tt> object is determined by the * property <tt>hibernate.transaction_factory</tt>. Index: Transaction.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Transaction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Transaction.java 5 Jan 2003 02:11:19 -0000 1.3 --- Transaction.java 9 Jan 2003 12:24:50 -0000 1.4 *************** *** 28,33 **** /** * Flush the associated <tt>Session</tt> and end the unit of work. ! * (This method might commit the underlying transaction, if and only ! * if the transaction was initiated by this client.) * * @throws HibernateException --- 28,33 ---- /** * Flush the associated <tt>Session</tt> and end the unit of work. ! * This method will commit the underlying transaction if and only ! * if the transaction was initiated by this object. * * @throws HibernateException Index: TransactionException.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/TransactionException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TransactionException.java 5 Jan 2003 02:11:19 -0000 1.3 --- TransactionException.java 9 Jan 2003 12:24:50 -0000 1.4 *************** *** 14,17 **** --- 14,21 ---- } + public TransactionException(String message) { + super(message); + } + } Index: hibernate-mapping-1.1.dtd =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/hibernate-mapping-1.1.dtd,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** hibernate-mapping-1.1.dtd 1 Jan 2003 13:53:43 -0000 1.1.1.1 --- hibernate-mapping-1.1.dtd 9 Jan 2003 12:24:50 -0000 1.2 *************** *** 361,364 **** --- 361,365 ---- <!ATTLIST generator class CDATA #REQUIRED> <!ELEMENT param (#PCDATA)> + <!ATTLIST param name CDATA #REQUIRED> <!-- The column element is an alternative to column attributes and required for Index: hibernate-mapping-2.0.dtd =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/hibernate-mapping-2.0.dtd,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** hibernate-mapping-2.0.dtd 3 Jan 2003 13:36:00 -0000 1.4 --- hibernate-mapping-2.0.dtd 9 Jan 2003 12:24:50 -0000 1.5 *************** *** 327,330 **** --- 327,331 ---- <!ATTLIST generator class CDATA #REQUIRED> <!ELEMENT param (#PCDATA)> + <!ATTLIST param name CDATA #REQUIRED> <!-- The column element is an alternative to column attributes and required for Index: hibernate-mapping.dtd =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/hibernate-mapping.dtd,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** hibernate-mapping.dtd 1 Jan 2003 13:53:46 -0000 1.1.1.1 --- hibernate-mapping.dtd 9 Jan 2003 12:24:50 -0000 1.2 *************** *** 321,324 **** --- 321,325 ---- <!ATTLIST generator class CDATA #REQUIRED> <!ELEMENT param (#PCDATA)> + <!ATTLIST param name CDATA #REQUIRED> <!-- The column element is an alternative to column attributes and required for |