Shilpa Tisgaonkar wrote:
Hi,
I'm using turbine 2.3 , torque 3.1 maven 1.0.2 and
oracle 9i
[...]
# Torque Configuration
#
[...]
torque.dsfactory.NEWAPPS.factory =
org.apache.torque.dsfactory.TorqueDataSourceFactory
There is no such thing as TorqueDataSourceFactory. Try to use
org.apache.tor
I have no experience with turbine, but on the torque side, my guess would
be you should use "torque.default.XXX" as configuration key names, not
"torque.defaults.XXX"
Thomas
On Mon, 10 Apr 2006, Shilpa Tisgaonkar wrote:
Hi,
I'm using turbine 2.3 , torque 3.1 maven 1.0.2 and
oracle 9i
I
1) There is an entry in the wiki in the section "Frequently asked
Questions" which describes how to execute a "count(*) from table where..."
using criteria without explicitly creating the statement.
2) As far as I know, subselects are not supported by criteria, so I guess
you will either have
|
| cc:
And what about this method call ?
BasePeer.executeQuery("select count(*) from Table ");
Is it a bad way to do it ?
Laurent
-Message d'origine-
De : Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED]
Envoyé : mardi 13 juillet 2004 09:22
À : [EMAIL PROTECTED]
Objet
=?utf-8?B?5b6Q5YGJKFdpbGxpYW0p?= <[EMAIL PROTECTED]> writes:
>Hi ,
>
>Can anybody tell me how I can implement a "select count(*) from Table " in Torque ?
>I can not find this in Criteria class using doSelect() , is there other way to do ?
Criteria crit = new Criteria();
List foo = YourPeer.d