No problem, I was planning to but I need to rebuild my Torque 4 project in Eclipse.
Anyone have any guidelines for using MyEclipse's Maven support with this? > -----Original Message----- > From: Thomas Fischer [mailto:[email protected]] > Sent: Thursday, March 05, 2009 2:58 AM > To: Apache Torque Developers List > Subject: RE: svn commit: r750198 - in /db/torque: > runtime/trunk/src/java/org/apache/torque/util/BasePeer.java > site/trunk/xdocs/changes.xml > > Would you mind to commit that also to the Torque 4 trunk ? > > http://svn.apache.org/viewvc/db/torque/torque4/trunk/ > > Thanks a lot, > > Thomas > > > URL: http://svn.apache.org/viewvc?rev=750198&view=rev > > Log: > > Changed the exception type thrown by doSelect calls when > > Criteria.isSingleRecord() true and more than one record is found. A > > TooManyRecordsException (ToqueException subclass) is now returned > > instead of a TorqueException. > > > > Modified: > > db/torque/runtime/trunk/src/java/org/apache/torque/util/BasePeer.java > > db/torque/site/trunk/xdocs/changes.xml > > > > Modified: db/torque/runtime/trunk/src/java/org/apache/torque/util/ > > BasePeer.java > > URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/ > > > org/apache/torque/util/BasePeer.java?rev=750198&r1=750197&r2=750198&view= > diff > > > ========================================================================= > ===== > > --- db/torque/runtime/trunk/src/java/org/apache/torque/util/ > > BasePeer.java (original) > > +++ db/torque/runtime/trunk/src/java/org/apache/torque/util/ > > BasePeer.java Wed Mar 4 22:34:43 2009 > > @@ -36,6 +36,7 @@ > > import org.apache.commons.logging.Log; > > import org.apache.commons.logging.LogFactory; > > import org.apache.torque.Database; > > +import org.apache.torque.TooManyRowsException; > > import org.apache.torque.Torque; > > import org.apache.torque.TorqueException; > > import org.apache.torque.adapter.DB; > > @@ -1365,12 +1366,12 @@ > > * needed. > > * > > * @param ds The DataSet which contains multiple records. > > - * @exception TorqueException Couldn't handle multiple records. > > + * @exception TooManyRowsException Couldn't handle multiple > records. > > */ > > protected static void handleMultipleRecords(DataSet ds) > > - throws TorqueException > > + throws TooManyRowsException > > { > > - throw new TorqueException("Criteria expected single Record and > " > > + throw new TooManyRowsException("Criteria expected single > Record > and " > > + "Multiple Records were selected"); > > } > > > > > > Modified: db/torque/site/trunk/xdocs/changes.xml > > URL: http://svn.apache.org/viewvc/db/torque/site/trunk/xdocs/ > > changes.xml?rev=750198&r1=750197&r2=750198&view=diff > > > ========================================================================= > ===== > > --- db/torque/site/trunk/xdocs/changes.xml (original) > > +++ db/torque/site/trunk/xdocs/changes.xml Wed Mar 4 22:34:43 2009 > > @@ -31,6 +31,19 @@ > > > > <body> > > <release version="3.4-dev" date="in SVN"> > > + <action type="update" dev="gmonroe"> > > + Changed the exception type thrown by doSelect calls when > > + Criteria.isSingleRecord() true and more than one record is > found. > > + A TooManyRecordsException (ToqueException subclass) is now > returned > > + instead of a TorqueException. > > + </action> > > + <action type="add" dev="gmonroe"> > > + Added support for DB Adaptor specific SQL functions. > > + </action> > > + <action type="add" dev="gmonroe"> > > + Add a SummaryHelper class which supports aggregate queries. > E.g. > > > + Select Sum(x) from table. > > + </action> > > </release> > > <release version="3.3" date="2008-02-29"> > > </release> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > DukeCE Privacy Statement: Please be advised that this e-mail and any files transmitted with it are confidential communication or may otherwise be privileged or confidential and are intended solely for the individual or entity to whom they are addressed. If you are not the intended recipient you may not rely on the contents of this email or any attachments, and we ask that you please not read, copy or retransmit this communication, but reply to the sender and destroy the email, its contents, and all copies thereof immediately. Any unauthorized dissemination, distribution or copying of this communication is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
