Re: Sill need help with references.. anyone???

2003-08-28 Thread Terry Brick
Thanks for the response... You gave me a few things to look into, I'll post the results and figure out my email format... i agree it's annoying trying to read that. --- Brian McCallister <[EMAIL PROTECTED]> wrote: > Most of the core developers on OJB are on vacation > at the moment (it is > Augus

Re: Pbl with OQLQuery and persistent store...

2003-08-28 Thread Frédéric Trifiro
Hi Roland (and others) ! Oh, thank you, it has to be the good way to solve my problem !! I think about 3 solutions : 1/ specify that i don't use a cache in the ojb.properties 2/ create a new class for describing my list. Doing so, there won't be interaction between objects from the database a

OJB event listening

2003-08-28 Thread David . Corbin
I know OJB has some "event handling" support, and I know there are 42 thousand places to plug different things into OJB. I'd like to see if OJB supports what I need, and the best place to plug in to it. I have a very complex object heirarchy. I would like to be able to take an action whenever on

Re: Sill need help with references.. anyone???

2003-08-28 Thread Brian McCallister
Most of the core developers on OJB are on vacation at the moment (it is August, and OJB has a largely European set of developers). I will take a stab though (disclaimer, I am just a user and part time OJB doc writer). On Thursday, August 28, 2003, at 02:37 PM, Terry Brick wrote: I'm using OJB 1

Re: Pbl with OQLQuery and persistent store...

2003-08-28 Thread Roland Carlsson
Hi! You need to look at: http://db.apache.org/ojb/objectcache.html and read a little. Perhaps the text about isolation in http://db.apache.org/ojb/repository.html can get you a little bit further. Regards Roland Carlsson - Original Message - From: "Frédéric Trifiro" <[EMAIL PROTECTED]>

Re: Sill need help with references.. anyone???

2003-08-28 Thread Terry Brick
am I doomed with OJB or is there some help out there? --- Terry Brick <[EMAIL PROTECTED]> wrote: > Okay, I'll try asking again, only this time there > are > more questions probably because I never figured out > answers for the first ones I posted. It's kind of > long because I'm trying to be deta

Pbl with OQLQuery and persistent store...

2003-08-28 Thread Frédéric Trifiro
Hi everyone, It seems that i have a problem, a very strange behaviour of my application using OJB. I have a list that comes from the database. The first time i load it and print into the JSP, all works fine. But, when i have to reload the list, it seems that the list now comes from memory and n

Re: QueryBySQL for ojb rc4

2003-08-28 Thread Roland Carlsson
Hi! I just did a QueryBySQL and after a little work I got to the following conclusion. All non-primary-key fields MUST be returned by the query. Primay-key fields may be returned but it not a requirerment. I guess that it is a design-choice to force the developer to use as complete objects as pos

Re: QueryBySQL for ojb rc4

2003-08-28 Thread Roland Carlsson
Hi! You sql-query must return ALL non-primary-key fields as defined in the repository. If it is a bug or design-choice i don't know although I can guess that it is a design-choice to keep objects complete as far as posible Anyone knows?? Example: Your sql must return anIn

Re: Customizing SQL generation

2003-08-28 Thread Jakob Braeuchi
hi alexey, why don't you use crit.addLike("upper(name)","ALEX%"); jakob Alexey Kamenchuk wrote: Hi, Is there the good way to customize generated SQL statements? The solution I found requires adding my custom classes into the org.apache.ojb.broker.accesslayer.sql package what I particul

RES: Connection pool scalability problem

2003-08-28 Thread Vinicius Bomfim
Hi, I use PB and close the broker too. With a single user i have many inactives connections and get the same exception. Any idea ? Thanks, Vinicius Bomfim -Mensagem original- De: A

QueryBySQL for ojb rc4

2003-08-28 Thread Sng Wee Jim
Hi, Anyone encountered problem with using the query type: QueryBySQL? I am doing something like QueryBySQL query1 = QueryFactory.newQuery(java.lang.Class, sql) ; Iterator itr = broker.getIteratorByQuery(query1); however the while iterating through the resultset, the object returned by the it

Customizing SQL generation

2003-08-28 Thread Alexey Kamenchuk
Hi, Is there the good way to customize generated SQL statements? The solution I found requires adding my custom classes into the org.apache.ojb.broker.accesslayer.sql package what I particularly dislike. I need to make query with case-insensitive LIKE-clause, that's something like this: SELECT ..

Re: Recovering from a timeout

2003-08-28 Thread Armin Waibel
Hi Chris, many database driver support connection reconnect of timed out connetions. If this does not solve your problem it's possible to use the 'validationQuery' attribute see http://db.apache.org/ojb/repository.html#connection-pool regards, Armin - Original Message - From: "Chris Wid

[Solution] Re: Blob and OutOfMenory

2003-08-28 Thread Roland Carlsson
Hi! I have got a solution of Tomas Mahler and thought that I would share it. It is very simple once you realise that there arn't a 1-1 relation between class-description and database-table but a n-1. You can have as many classes mapping to one database-table as you like and find use of. So the sol

Recovering from a timeout

2003-08-28 Thread Chris Widhelm
I am assuming that the reason I am getting an IOException after my application sits over night is due to a timeout on the connection to the server. How are other people recovering from this? The application eventually creates a new connection but it must grab a couple of connections from the po

Re: Archives

2003-08-28 Thread nntp://news.gmane.org/gmane.group.name
Hi All, http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] and http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] Works for me... It'll be nice to fix the front page -akhil "Thomas Mahler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi David, > > http://news.gmane.org/th