RC5 is great !

2003-12-16 Thread Emmanuel Dupont
All, I would like to thank all of you for the great job you have done with OJB. RC5 is really faster than RC4, we improve our treatment by 35% !! That's really wonderful. We have been using Ojb since one year and it is really a revolution project. Thank in particular to Armin and

Re: Unusual object relation mapping possible with OJB ?

2003-12-16 Thread Stefan Schlösser
Hi Thomas, Sure, I need the link table. I read throught the examples in the link you gave before posting, my problem is that I do not have and don't want to make the relationship explicit on the object level. I.e. Persons or Address do NOT have a collection pointing to the other type. The

Re: inheritance problem

2003-12-16 Thread Peter Wieland
Hi, I had a similar problem. You may want to have a look at the Problem mapping inheritance hierarchy using joined tables for subclasses thread on this list (last post 2003-12-05) or at the Extents and the various inheritance hierarchy mappings thread at the dev-list. I do not think, this is

Making all implementors of IF persistent

2003-12-16 Thread SEfftinge
Hi, I want to map a table to an interface. I have some persistent classes and their according interfaces. I also have some decorators wich add some aspects to the persistent classes (e.g. change listening) and also implementing their respective interface. Now I want to save the decorators

FW: Unusual object relation mapping possible with OJB ?

2003-12-16 Thread Mahler Thomas
-Original Message- From: Mahler Thomas Sent: Tuesday, December 16, 2003 2:10 PM To: 'Stefan Schlösser' Subject: RE: Unusual object relation mapping possible with OJB ? Hi Stephan, Hi Thomas, Sure, I need the link table. I read throught the examples in the link

RE: Simple (I Hope) Howto Question

2003-12-16 Thread oliver . matz
-Original Message- From: Gary [mailto:[EMAIL PROTECTED] I have a Person object that contains a list of 0-n Email objects and a name. I would like to do a PB query (not OQL) to the effect of: Give me all Persons with name like X and email like Y. I suppose Person has a field name

RE: Simple (I Hope) Howto Question

2003-12-16 Thread Gary
Thanks. Will this check all the addresses inside emails? Or just the first? Or... And what if emails is null? Thanks again, Gary --- [EMAIL PROTECTED] wrote: -Original Message- From: Gary [mailto:[EMAIL PROTECTED] I have a Person object that contains a list of 0-n Email

RE: Simple (I Hope) Howto Question

2003-12-16 Thread Gelhar, Wallace Joseph
Hi Gary, This will execute a joined query similar to: SELECT A0.* FROM Person A0 INNER JOIN Email A1 ON A0.EmailID = A1.EmailID WHERE A0.name = X AND A1.address = Y So, yes, it will check all addresses inside emails. And if emails is null, it will return an empty collection. Hope this

select question

2003-12-16 Thread Glauber Andrade
How do I implement a select like this with OJB Criteria ? select * from TABLE where date = TO_DATE('2004','') THANKS, Glauber

RE: Multiple reads within the same transaction

2003-12-16 Thread Lance Eason
Use ObjectCachePerBrokerImpl as your cache. It'll act as effectively a cache within the single transaction but won't share objects across transactions. -Original Message- From: Luis Cruz [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 4:22 PM To: OJB Users List Subject:

Re: 1:1 relationship

2003-12-16 Thread LAURENT Stephane
HI, I think you have to declare the foreign keys in the java objects because attribute name in the reference descriptor have to reference real members (with getter and setter). Regards. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December

Re: Making all implementors of IF persistent

2003-12-16 Thread Justis Peters
Hi Sven, We have implemented this in our project here, and it works great. Check out the following tutorial: http://db.apache.org/ojb/tutorial3.html In particular, check out the sections titled Extents and Polymorphism and Mapping Inheritance Hierarchies:

Re: Simple (I Hope) Howto Question

2003-12-16 Thread Daniel Perry
How would you do this same query through the ODMG API? Thanks, Daniel. - Original Message - From: Gelhar, Wallace Joseph [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 4:09 PM Subject: RE: Simple (I Hope) Howto Question Hi Gary, This will

How to force collection to Vector

2003-12-16 Thread olivier.nouguier
Hi all, I have simple model with Groups of Persons. ( 1-N ). Groups has a Collection. My question is simple is there a way to force ojb to use a standart collection ( Vector or ArrayList ). My problem is that I want to use OJB as a jboss service ( sar ), and I don-t want the client

Re: Making all implementors of IF persistent

2003-12-16 Thread Thomas Mahler
Mhh, I guess you should add a class-descriptor for each Decorator class into the reository. then you have to define a class-descriptor for the IF and add extent class definitions for all decorator classes. Thomas [EMAIL PROTECTED] wrote: Hi, I want to map a table to an interface. I have some

Re: OrderBy of ref class having same property name = problem

2003-12-16 Thread Jakob Braeuchi
hi terry, please post the repository and the generated sql. jakob Terry Brick wrote: I have a class descriptor (CLASS_A) with a reference to another (CLASS_B). Both CLASS_A and CLASS_B have a property called NAME. -If I retrieve CLASS_A objects (using PB) with no orderby, everything is fine.

Re: BATCH-MODE problem (repost)

2003-12-16 Thread Oleg Nitz
Hi Stéphane, sorry for the delay. Unfortunately, the stack trace doesn't show line numbers for OJB classes. Probably this is because the jar for the release is build without debug info. Also I would like to know which version do you use. That would be great if you get RC5 sources, build target

Re: Problem with internal table location

2003-12-16 Thread Armin Waibel
Hi Nicolas, current implementation of DMapImpl needs unique ids obtained from the sequence manager (because DMap is persistence capable, I started write a new implementation of DMap which does not obtain OID at creation time, but it's not checked in). Per default OJB use

R: JDO - Unable to build object instance

2003-12-16 Thread Sebastian Muench
Oh, the file I mentioned in my last mail hasn't been attached. Here is the screenshot: [JDO] DEBUG: OjbStoreConnector.begin: connectionReadyForRelease=false [org.apache.ojb.broker.accesslayer.RsIterator] ERROR: Error while iterate ResultSet for query