= 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
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
, 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
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
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
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
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
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
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
. 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
://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
11 matches
Mail list logo