Hi,
I just played around with ODMG and tried to execute the following OQL:
select x from myClass where attribute is not in ( select distinct y.id from
anotherClass )
During OQLQuery q.create(oql) OJB writes a message to stderr with unexpected
token (select) and throws an Exception:
Armin wrote:
Sorry for the delay. I took a few sabbatical weeks from OJB
to spend
more time with my (newborn) daughter and currently I have
some problems
with my eyes, which makes it difficult to work on OJB.
Armin,
congrats to your newborn family member, all the best to all of your
Armin Waibel writes:
Well, it depends on the community. Currently it seems that only a few
people are able to (interested in) spend time for OJB. I will
continue
my work on OJB.
I would like to say thank you for your efforts. I would also like to offer my
best to support OJB in future
Armin Waibel wrote:
Since ClassB is an extent of ClassA the merge of the repositories
isn't enough. The merge method is intended to merge/add new classes
without dependencies to already registered classes.
You could try to use the ClassDescriptor.addExtent(...) method to
register a new
Hi,
I am trying to find some information regarding metadata merging in the
following scenario:
We have a base application with some classes, db tables and a
repository_user.xml that describes the mapping.
Lets say we have a base class BasePersistentClassA and some classes that are
based which
Bernd Ingrid Laengerich wrote:
OK, I played around a little bit and overwrote the afterStore
method (empty implementation, however it never gets called!?
What am I missing? I placed a breakpoint in my code, but it
never reaches it.
OK, searching around a little bit, I found in
Hi Armin,
thanks again for your response.
Armin wrote:
Längerich wrote:
Is it sufficient/possible to overwrite the afterStore()
method of the
sequence manager?
Yep it's possible. Assume you want to lookup the
HLSequence-object for
the current used (fixed) field and invalidate the
Hi,
I have some problems with OJB (PB-API) and the sequence manager. I derived a
new sequence manager from the shipped HighLowImpl, that checks for every grab
size with SequenceManagerHelper.getMaxForExtent() for the max id of the field.
This works fine with data added externally, but I have a
Hi,
I have some problems understanding (and using) the concept of the cache when
using multiple databases and determining the object modification level at the
store method.
Assume we have two databases A and B with one being the default and one being
the backup database. Both connections are
Hi Armin,
thank you for your fast response.
Armin Waibel writes:
You are right, OJB find the object in the cache (because you operate
with the same objects on different DB's using a shared cache) and
indicate to update the object instead of insert.
Do you really need a shared cache on
Hi,
given is a master data base and a backup data base. All entries are stored to
the master data base and to the backup.
If anything fails (computer crashes) at startup I want to merge the data from
the backup with the data of the master database.
The code I tried is like this:
Ingrid Längerich writes:
The code I tried is like this:
OK, I found out that
Iterator it = masterbroker.getReportQueryIteratorByQuery(masterquery);
Collection taids = new Vector();
while (it.hasNext()) {
Object obj = ((Object[])it.next())[0];
taids.add(obj);
Hi,
a criteria with path expressions like in the OJB queries reference guide
example (http://db.apache.org/ojb/docu/guides/query.html#Query+by+Criteria)
does not work for me with broker.deleteByQuery(q).
Using Microsoft SQL Server, the resulting statement of the example
Criteria crit = new
13 matches
Mail list logo