Re: Multiple addJoin with OR

2009-03-02 Thread Hidde Boonstra [Us Media]
= TableC.fk . However, this is not the result I need. What I need is a query with OR instead of AND, like this: . WHERE TableA.id = TableB.fk OR TableA.id = TableC.fk . I haven't found any way to do this using criteria. Is it possible? /Ludwig -- Hidde Boonstra Us

Re: Antwort: Correct way to getRelatedObjects with each relatedObject reference to this object?

2009-02-12 Thread Hidde Boonstra [Us Media]
between objects. Thomas -- Hidde Boonstra Us Media B.V. Stadhouderskade 115 1073 AX Amsterdam t: 020 428 68 68 f: 020 470 69 05 www.usmedia.nl - To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org For additional

Re: SQL TIMESTAMP and Torque java.util.Date mapping.

2008-08-07 Thread Hidde Boonstra [Us Media]
, int, int, int, int) BUT it is deprecated, and I really would like to avoid this. So, how can I build a Criteria to check if my field expires from table test is NULL timestamp (00-00- 00:00:00) ? timeCrit.add( TestPeer.EXPIRES, ?); Thanks in advance ! -- Hidde Boonstra Us Media B.V

Re: Log4J + Torque ... gonna drive me mad.

2008-07-31 Thread Hidde Boonstra [Us Media]
will not require stop on standard error output. Moreover, this is not really reassuring from a server that the firts 2 lines you have talks about WARNING ... :D -- Hidde Boonstra Us Media B.V. Stadhouderskade 115 1073 AX Amsterdam t: 020 428 68 68 f: 020 470 69 05 www.usmedia.nl

Re: Plural Tables Names

2008-01-28 Thread Hidde Boonstra [Us Media]
be an FAQ, but I can't find the answer to it anywhere. I have a database where the table names are all plural, but I'd really prefer that my object names were not. Is there any way to have Torque create an class called SiteUser to represent the table site_users. -- Hidde Boonstra Us Media B.V

Re: idbroker generates existing ID's

2007-11-16 Thread Hidde Boonstra [Us Media]
for now and see if the problems reoccur. I might be 'blaming' Torque while the problems might be related to some other package:-) Thanks for your input, and I'll keep the list informed if I find anything relevant... Kind regards, -- Hidde Boonstra Us Media B.V. Stadhouderskade 115 1073 AX

idbroker generates existing ID's

2007-11-15 Thread Hidde Boonstra [Us Media]
are much lower than the next_id entry in the id_table. When I restart the application the problem is gone, but after a while (days/weeks) it returns. Does anybody know what is going on, or has experienced similar problems? Thanks in advanced, with kind regards, -- Hidde Boonstra Us Media B.V

Re: Torque is very slow to do a .copy of an object :( Why?

2007-04-12 Thread Hidde Boonstra [Us Media]
Hi Alain, does your object have many relations (foreign key constraints)? I just looked into the copy method and I see it does a deep copy, so if you have many relations, or many related entries in your database, these will all be copied into your copy. This might explain why it gets slower

Re: Torque is very slow to do a .copy of an object :( Why?

2007-04-12 Thread Hidde Boonstra [Us Media]
be copied as well... Hope this helps to explain your slowdown, Hidde. philipina wrote: Hi, One other object has a reference to the object I want to copy but the object I want to copy has no reference (foreign key) to any other object. Alain Hidde Boonstra [Us Media]-2 wrote: Hi Alain

torque-maven-plugin 3.3-RC1: 'subpackageManager' property - TorqueException

2007-02-06 Thread Hidde Boonstra [Us Media]
. This results in a TorqueException caused by a ClassNotFoundException. I have looked for another property but couldn't find any. Can anybody tell me if I'm missing something, or if this is perhaps a feature of the current version of the generator plugin? Thanks, -- Hidde Boonstra Us Media B.V

Re: torque-maven-plugin 3.3-RC1: 'subpackageManager' property - TorqueException

2007-02-06 Thread Hidde Boonstra [Us Media]
://issues.apache.org/jira/browse/TORQUE Thanks in advance, Thomas Hidde Boonstra [Us Media] [EMAIL PROTECTED] schrieb am 06.02.2007 14:26:29: Hi all, I'm using the Maven2 torque plugin to generate my object model. When using the 'subpackageManager' configuration property the generated classes end