Hi all, Maybe I am missing something, but I used my peer object's method executeQuery method that is inherited from the BasePeer to run some SQL. I get back what I thought was of int's, but is actually a vector of com.workingdogs.village.Record objects. I tried to look it up in the Turbine API documentation, but no references.. Fortuantly I had already downloaded Village earlier, and dug it up..
Shouldn't though the village API doc's be in the TDK? Maybe for 3.0? Eric -----Original Message----- From: Dan Bachelder [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 10:25 AM To: [EMAIL PROTECTED] Subject: RE: Standalone Torque... duh.. I should have mentioned that myself.. I found that email very useful and it is what got me up and running, thanks! On Mon, 15 October 2001, "Steve Davis" wrote: > > This is true. There are also other jars you will need. > Take a look at my posting from 9/25/2001 titled > "torque outside of turbine - detailed example". > I recorded all the steps I needed to do to get the > latest version of Torque working in standalone mode. > > It has been working great for me. > > -- Steve > > -----Original Message----- > From: Dan Bachelder [mailto:[EMAIL PROTECTED]] > Sent: Sunday, October 14, 2001 9:28 AM > To: [EMAIL PROTECTED] > Subject: Re: Standalone Torque... > > > Even in standalone mode torque needs velocity, you'll need to get > velocity-1.2-dev.jar (i think) and put it in your class path... > > ----- Original Message ----- > From: "dcr" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, October 14, 2001 12:05 PM > Subject: Standalone Torque... > > > > Hello, > > > > I'm trying to use Torque in a standalone application, but when > trying > > to make my first application, it requires some velocity stuff. Any > idea > > how I can say to Torque, use that configuration or please run in > standalone > > mode ? I got the following error : > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org/apache/velocity/runtime/configuration/Configuration > > at > > > org.apache.turbine.services.db.TurbineDB.getMapBroker(TurbineDB.java:299 > ) > > at > > > org.apache.turbine.services.db.TurbineDB.getDatabaseMap(TurbineDB.java:1 > 42) > > at autosql.map.SimpleMapBuilder.doBuild(Unknown Source) > > at > > org.apache.turbine.om.peer.BasePeer.getMapBuilder(BasePeer.java:1845) > > at autosql.BaseSimplePeer.<clinit>(Unknown Source) > > at autosql.BaseSimple.save(Unknown Source) > > at appli.Main.main(Unknown Source) > > > > appli.Main is a "silly" example application : > > > > package appli; > > import autosql.*; > > public class Main { > > public static void main(String args[]) throws Exception { > > Simple s = new Simple(); > > s.save(); > > System.out.println("Exiting..."); > > System.exit(0); > > } > > } > > > > autosql.* are torque generated classes. > > > > > > Thanks for any help, > > David. > > > > -- > > // David CROSSON > > // mailto:[EMAIL PROTECTED] > > // http://gamma.dyndns.org > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] </dan> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
