There may have been many syntax changes in Torque 3.3 from Torque 1.0, you
may want to look into this.
I think you need to specify database server and user/password information in
the build.properties file (at least in our set up).
Try to download the torque-3.3-gen package, and run a ant -f
Hi there,
I need to strip off all the selected columns (getSelectedColumns(), and
getAsColumns()) from a criteria object, is there a way for me to do that?
For examples:
Criteria criteria = new Criteria();
criteria.addJoin(PermissionPeer.PERMISSION_ID,RolePermissionPeer.PERMISSION_ID);
a list of OM objects;
Thanks again!
David
On Thu, May 6, 2010 at 8:39 AM, Thomas Vandahl t...@apache.org wrote:
On 05.05.10 23:28, wzhao6...@gmail.com wrote:
Hi there,
I need to strip off all the selected columns (getSelectedColumns(), and
getAsColumns()) from a criteria object
();
criteria.getSelectColumns().clean();
both criteria and criteriaClone have empty selectcolumn list.
Thanks,
David
On Mon, May 10, 2010 at 1:02 PM, Thomas Vandahl t...@apache.org wrote:
Hi Dave,
wzhao6...@gmail.com schrieb:
Thanks for your reply. But what I need to deal with is that:
I have
Hi there,
I need to create a class, say BetterRecord, that extends
com.workingdogs.village.Record. I couldn't figure out how to construct a
BetterRecord object from an existing com.workingdogs.village.Record.
public class BetterRecordextends Record {
public RetterRecord (Record r) {
Hi there,
I'm trying to retrieve all the tables in the default database specified in
schema.xml file. I tried:
DatabaseMap dm = Torque.getDatabaseMap();
dm.initialize();
System.out.println(dm.getTables().length);
but only a subset of tables are returned, am I doing something wrong here.
Torque