Re: Still not understanding why getCollectionByQuery() is not getting sub-object.

2003-11-06 Thread LAURENT Stephane
Hi, I'm now in RC4 but never have this kind of pb with RC2. Just a difference for me, my repository contain this : class-descriptor class=com.jobbank.jobbank.model.offer.OfferVO table=offer refresh=true Not this : class-descriptor class=com.jobbank.jobbank.model.offer.OfferVO table=offer

RE: Paging performance issues

2003-11-06 Thread Charles Anthony
Hi 1) Using getStartAtIndex() and getEndAtIndex(): this sounds like an efficient way but if I look into the DB log there's no LIMIT option in the SQL query! This is really surprising isn't it? Currently, OJB does not attempt to use the LIMIT option. This is not particularly surprising, since

RE: Opitimistic Lock with the PB API

2003-11-06 Thread oliver . matz
Hello Arbona, -Original Message- From: Arbona Vincent [mailto:[EMAIL PROTECTED] I want to know how to use optimistic lock with the PB API. I know that I have to put a Lock Field as integer or timestamp, but how OJB manage it? When a record is considered as locked and when

ojb and distributed applications

2003-11-06 Thread Martin Dengler
hi @all, i am an ojb newbie; any help is appreciated concerning the following questions: 1. ojb supports the definition of more than one jdbc-connection descriptor element at repository.xml; - does that mean, that persistent data could be stored across more than one physical database server?

Cascading Updates and Dirty Objects

2003-11-06 Thread Gary
I would like to use cascading update, but am concerned about the overhead involved in updating objects in the graph that have not changed. Would this modification make sense, or is it naive? 1. Create a new interface called IDirtyAware or something similar that contains an isDirty() method. Any

RE: Is it possible to have the any type mapping as Hibernate?

2003-11-06 Thread Rice Yeh
Hi Archie, I will try to come out all the files needed to be modified in order to support interface traversing in nested field mapping and send it to your email address. The basic idea is that I introduce a new attribute called class-path to configure the concrete classes for abstract class and

RE: Paging performance issues

2003-11-06 Thread Vincent Frison
Le jeu 06/11/2003 à 08:57, Charles Anthony a écrit : Hi 1) Using getStartAtIndex() and getEndAtIndex(): this sounds like an efficient way but if I look into the DB log there's no LIMIT option in the SQL query! This is really surprising isn't it? Currently, OJB does not attempt to use

SQL Server and Oracle problems.

2003-11-06 Thread Cobble, Tim
All, I am trying to compare different RDBMs. I can get all three (MySQL, MS SQL, and Oracle) working with one client. When I try to test the scaling abilities, MS SQL and Oracle choke. I can only get a few simultaneous connections. Seems unlimited with MySQL. I know this is not a DB

PhillyJug OJB (and Spring) Presentation

2003-11-06 Thread Brian McCallister
Thomas Risberg (Spring developer) and I have been asked to do a combined presentation on OJB and Spring at an upcoming PhillyJUG meeting and we need to figure out what exactly we are going to present. Anyone have any suggestions? -Brian

RE: SQL Server and Oracle problems.

2003-11-06 Thread Cobble, Tim
Just an update. I took the problem off line and tried it command line. I am able to get multiple clients with both SQL Server and Oracle. Perhaps it is something with JBoss? Any suggestions welcome. Tim -Original Message- From: Cobble, Tim Sent: Thursday, November 06, 2003 1:30 PM To:

Is it any taglib for OJB?

2003-11-06 Thread A Leg
Hi I would like to work with OJB. Is it any JSTL taglib for OJB Best regards Andre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Inheritance delete

2003-11-06 Thread balza
Ciao Danilo, your solution and OJB works well! Was another silly newbie question ;-) Thank you Danilo Tommasina wrote: hi, this means that a ShopTransaction is composed by a ShopTransaction and a Transaction database entries. Because of the flag auto-delete=true what you are experiencing

Re: ReportQueryRsIterator

2003-11-06 Thread Jakob Braeuchi
hi dougall, i'll have a look at startIndex for Iterators. endIndex is imo not possible. jakob Dougall Squair wrote: Hi, Should the class org.apache.ojb.broker.accesslayer.ReportQueryRsIterator also set the cursor position e.g. Like the code in

Re: Simple performance improvement Re: m:n relations mapping...

2003-11-06 Thread Jakob Braeuchi
hi andy, oliver, the patch is checked in. olli please have a look at the method _storeCollections_ when time permits, i think it needs refactoring. jakob Andy Malakov wrote: Thanks. In my case eliminating extra SELECT and DELETE for MtoNImplementor (as described below) made batch inserts 5

Smart Count

2003-11-06 Thread Daniel R. Ambrosio
Hello everyone, What would be the smarter way to do a count on an entity based on a criteria? I believe that getting the Collection (using getCollectionByQuery()) and then size() is not the best way to that using OJB is it? Cheers, Dani

General Questions about ODMG API

2003-11-06 Thread Sören Kress
Hi, I am new to OJB and I would like to read some more documentation about ODMG. Are there any (general) documents about ODMG available (free on the internet)? The ODMG seems to have stopped its activities. Or is there any opensource application that uses OJB and the ODMG api where I could learn

Load Object References for GetObject() but not GetAllObjects()

2003-11-06 Thread Shane Mingins
Hi If I use auto-retrieve to automatically load collection objects for my object graph e.g. getChannel() loads the full object graph as shown 0..* 0..* Channel -Product---Fund But if I wish to provide just a list of Channel names for a select