This is by design in many sequence generators and is a _good_ thing.
The block size is the number of IDs cached locally by the local
representation of the sequence generator. High-low sequence
generators work this way. IIRC the toplink sequence generator
worked the same way.
The database issue
side note: the email archives are even more broken - while I can browse
the subjects, I cannot display the bodies of the messages. This list
will
probably get more repeat questions/answers until it's fixed - sorry if
this
question is a duplicate...
---
Using 0JB 0.9.9, I try to perform a qu
e thing with the
> interfaces: InvoiceNote implements InvoiceNoteItf extends
> NoteItf. Note itself will never appear in your
> repository.xml; just map the subclasses.
>
> -steve
>
> Steve Clark
> Technology Applications Team
> Natural Resources Research Center/USGS
> [EM
I have a generic Note object which is a child to two entirely
different parent objects. I would like two note tables to store
the Note objects - one table for (e.g.) Invoice notes and one
table for Shipment notes. I think two tables is necessary because
Invoices and Shipments have separate PK se
> Thanks for your response! Thanks for drawing my attention to
> your email yesterday. Acutally I have only searched the
> mailing list "[EMAIL PROTECTED]" and therefore
> missed your mails. I should search the both user list and
Anthony - I didn't mean to imply that you should have searched
t
I encountered this just yesterday and got my answer today.
Does anyone know if the email archives are going to be fixed
soon?
> I guess the assetFkAssignment should not set the fields in
> class A to null in this case, because the missing of the
> referenced object, C, is purposeful. I wonder i
the assertFK...() function
> inside
> PersistaeceBrokerSingleVM.
>
> I suggested making this an optional trait, to be set in the repository
> on the reference object, but haven't heard anything from the developers.
>
> Caster
> - Original Message -
> From: "Tim Drury"
building from the latest CVS (as of this morning) I get the following:
main:
[javac] Compiling 541 source files to
C:\java\jakarta\jakarta-ojb\target\classes
[javac]
C:\java\jakarta\jakarta-ojb\target\src\org\apache\ojb\odmg\oql\OQLLexer.java:45:
'class' or 'interface' expected
[javac
I forgot to mention I'm running 0.9.9. Here is a little more info. From
my log:
[17:08:04,955,OJBORMManager] DEBUG save: class=common.model.Note
[17:08:04,955,OJBORMManager] DEBUG save:
o=[Note:id=59,code=NOTE79,subcode=foo,ident=ID2564,desc=this is a debug
note,ownerId=74,docId=16]
[17:08:04,9
When I update the link object (the object between to others in an M:N
relationship), the FKs to the outer objects are being set to null in
outgoing SQL according to p6spy. Am I forgetting to do something? The
code is the typical,
broker.beginTransaction();
broker.store(o);
broker.commitTransact
When I retrieve an object from the database via OJB which
has a collection of child objects, but there are no child
objects in the database, OJB fills the parent object
collection reference with an empty collection instead of
keeping the collection reference null.
Is there a way to have OJB keep
I have an object that has two foreign keys and is held in a
List of one of its parent tables. Here is the example:
(obviously this is pseudo code)
class Invoice {
Contact shipper;
Contact buyer;
List shipperNotes; // List of Note objects
List buyerNotes;
12 matches
Mail list logo