Thanks Marc,

will try to read up on that.

cheers
michael

> Hi Michael,
> if you want to use Torque to access your business-objects/tables then
> you use the Peer-pairs that you either create yourself or let them
> created by Torque.
> You should definately read the Peers-Howto and the Torque-section of the
> Turbine web-site. You will learn how to build an SQL-statement by using
> the Criteria-class.
> And you are still free to query your DB using explicit SQL-statements.
>
> Good luck!
> Marc
>
>
>> -----Urspr�ngliche Nachricht-----
>> Von: michael shek sia lim [mailto:[EMAIL PROTECTED]]
>> Gesendet: Sonntag, 24. November 2002 13:11
>> An: [EMAIL PROTECTED]
>> Betreff: database
>>
>>
>> I would appreciate if anyone could tell me how TDK connects to a
>> database. I could not see the following lines anywhere in the .java
>> files:
>>
>>  Class.forName(driverName).newInstance();
>>  con = DriverManager.getConnection(URL, props);
>>  stmt = con.createStatement();
>>  rs = stmt.executeQuery(query);
>>
>> perhaps I did not look at the right place.
>>
>> cheers
>> michael
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]> For additional
> commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to