db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EP...@upstate.com
Subject RE: Stored Procedures Support
Date Mon, 10 Mar 2003 16:29:56 GMT


My crummy way of using stroed procs:

// Village classes
import com.workingdogs.village.*;

List records = WorkorderPeer.executeQuery( SQL.toString() );

      Vector kinaseATPConcs = new Vector();
      for ( Iterator i = records.iterator(); i.hasNext();  ) {
        Record record = (Record) i.next();
        KinaseATPConc kinaseATPConc = new KinaseATPConc();
        kinaseATPConc.setKinaseId( record.getValue( "kinase_id" ).asString()
);
        kinaseATPConc.setAtpConc( record.getValue( "atp_conc" ).asDouble()
);

        kinaseATPConcs.add( kinaseATPConc );
      }

Eric Pugh

-----Original Message-----
From: Julian Klein [mailto:cerebro70@yahoo.com]
Sent: Tuesday, March 04, 2003 5:35 PM
To: torque-user@db.apache.org
Subject: Stored Procedures Support



Hi All,

I was wondering if Turbine supports stored procedure calls? If so, is there
any documentation regarding this?

Thanks in Advance,

Julian


Live simply so others may simply live.
 
-Ghandi
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily"
 
-William of Occam


---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message