Hi Armin
two instance different ??
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: mardi 23 décembre 2003 01:42
To: OJB Users List
Subject: Re: reload Object ? ? (Problem Cache)
Hi,
in your example only 2 System.out.println(..) lines performed, but 3
lines are
Hello
I had some problems with the ObjectCacheDefaultImpl ,
First : The constructor of this cache in the have some problem when we use
the parameter properties
timeout = prop == null ? timeout : (new Long(prop.getProperty(timeout,
+ timeout)).longValue()*1000);
In the comment of the class the
A Simple Test Case for the remark :
Just load an object i1 keep a reference on it.
Reload it by the same request, the object are not the same.
PersistenceBroker br =
DbAccessManager.getInstance().getBroker();
Long instanceID = new Long(1);
Is it possible to retrieve only certain fields of a table through OJB
OQL? Something similar to the SQL: select id, video_id from VIDEO_DATA
where id=5.
Doing things like select id, videoId from + VideoData.class.getName()
+ where id = + videoDataId doesn't seem to work. It continues
May be you could try to split the mapping of the table on 2 objects
One containing the names and the id , and the other one the id and the data
.
And you 'll load the second class only when you need the data.
B.R
Thierry
-Original Message-
From: Ara Juljulian [mailto:[EMAIL
You can also use the ReportQuery for doing what you want but it doesn't
return objects , only the request rows .
-Original Message-
From: Ara Juljulian [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: Newbie OQL select question - can I
That sounds like an interesting solution. I'll try that. Thanks.
-Ara-
-Original Message-
From: Thierry Hanot [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 7:20 AM
To: 'OJB Users List'
Subject: RE: Newbie OQL select question - can I selectively retrieve
fields?
May be you
I've made some changes to the module, more specifically to indexes,
collections and anonymous references, so please test the new version and
give feedback if some problems occurred. The changes in detail are:
If there are fields with indexed=true, then an index without name is
generated in the