sitat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
On Tue, 2004-04-27 at 06:00, Info wrote:
Hello,
I am using following code to update a record:
broker =
PersistenceBrokerFactory.defaultPersistenceBroker();
QueryByCriteria query
Hello,
I am using following code to update a record:
broker = PersistenceBrokerFactory.defaultPersistenceBroker();
QueryByCriteria query = new QueryByCriteria(department);
DepartmentDto result = (DepartmentDto)
broker.getObjectByQuery(query);
if (resul
Hello guys,
I have the following mapping:
Thread <===> Message
1 <===> n
I want get the whole set of Messages from Thread reference:
-
J2SE 1.4.2_04 + OJB 1.0 rc6 + Struts 1.1 + J2EE (just in classpath
instance and when RsIterator does not close all
resources it may happend that RsIterator use the same connection as a
concurrent thread and bad things can start happen ...
You can find comments in RsIterator javadoc, in RsIterator source code
and some posts at the user-list.
regards,
Armin
Info wrote
y before I return. I
guess OJB intend to minimize the database access from Iterator mode.
Thanks,
Wallace
Info wrote:
Hello Everybody! I am working through the week end.
-
J2SE 1.4.2_04 + OJB 1.0 rc6 + Struts 1.1 + J2E
Hello Everybody! I am working through the week end.
-
J2SE 1.4.2_04 + OJB 1.0 rc6 + Struts 1.1 + J2EE (just in classpath)
-
I am geting a
Hello,
I tried the following code to select a join, but get error:
Criteria crit = new Criteria();
crit.addEqualToColumn("A.xxx", "B.xxx");
ReportQueryByCriteria q =
QueryFactory.newReportQuery(A.class, crit);
q.setAttributes(new String[] {
...
q.addGroupBy("A.xxx");
...
q.addOrderBy("B.zzz");
...
return broker.getReportQueryIteratorByQuery(q); // which returns an
Object[]
Hope it helps you,
Enrique Medina.
From: Info <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: OJB - Query for t
Hi,
For example, I have two table A and B. Now I want a combination
collection of some field of A and some of B:
SELECT A.xxx, A.yyy, B.zzz
FROM A
INNER JOIN B
ON A.id = B.id
I will get a colleciton as a result after open a query by using OJB, but
how can I get the data (xxx, yyy, zzz) from a C
Hi guys,
I am a newbie to Torque and OJB. I have couple beginner question:
1) As I download Torque packages I get torque-3.1.zip and
torque-gen-3.1.zip. I know the *gen* is for generating java code and OR
mapping xml, how does torque-3.1.zip work?
2) I have started my very simple testing on
10 matches
Mail list logo