RE: Pbm With OJB Platform : Apolgy

2004-09-07 Thread Thierry Hanot
All what I ask for is in the source code ( also in javadoc ) of each platform. Sorry . Thierry -Original Message- From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 8:55 AM To: 'OJB Users List' Subject: Pbm With OJB Platform Hello Just For Info : In our

Pbm With OJB Platform

2004-09-06 Thread Thierry Hanot
management( because we want to use streaming for avoiding to have the full blob in memory ... ). Anyway thanks for OJB. Except this few point everything our project is working fine... B.R Thierry Hanot - To unsubscribe, e-mail

RE: Oracle Driver jdbc10.1.0.2

2004-04-08 Thread Thierry Hanot
by WebLogic wrapping the Oracle connection object. Dougall -Original Message- From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Monday, 5 April 2004 7:19 PM To: [EMAIL PROTECTED] Subject: Oracle Driver jdbc10.1.0.2 Hello All just for info. It does not look like bug but more like a small

May Be a Problem with Lob reader ????

2004-04-05 Thread Thierry Hanot
Hello , i have a problem when loading some data from blob. I use the standard support of lob in plateform Oracle 9i. The problem is when i try to load object with a blob in different Thread. I request a broker from thread 1 for loading objects with lob. I request an other broker from thread 2

RE: Help M-To-N relation update = deletion of referenced objects .

2004-04-02 Thread Thierry Hanot
/ /collection-descriptor regards, Armin Thierry Hanot wrote: I've just tried with the last cvs version . I still have the problem . It seem's that the removalAware Collections should not delete objects if the related collection is not in auto-delete=true or auto-update=true . Is somebody could

Help M-To-N relation update = deletion of referenced objects .

2004-04-01 Thread Thierry Hanot
Hello all I have a big pbm ... I'm using a M-TO-N relation something like: collection-descriptor name=persons collection-class=org.apache.ojb.broker.util.collections.ManageableArrayList element-class-ref=org.apache.ojb.broker.Person auto-retrieve=true

Pbm M-TO-N relation delete

2004-03-05 Thread Thierry Hanot
Hello All I have a strange behaviour of a MtoN relation mapping when i try to delete something . The relation is something like this A - B - C And his mapped like this : class-descriptor class=A_Class table=A collection-descriptor name=c element-class-ref=C_Class

RE: Forcing materialization of a dynamic proxy object

2004-02-02 Thread Thierry Hanot
Try this It should work :) import org.apache.ojb.broker.util.ProxyHelper; ... ProxyHelper.getRealObject(iter.next()); B.R T.H -Original Message- From: Coup, Robert Muir [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 4:27 AM To: [EMAIL PROTECTED] Subject: Forcing

RE: Pbm on MtoNCollectionPrefetcher

2004-01-30 Thread Thierry Hanot
http://article.gmane.org/gmane.comp.jakarta.ojb.devel/5259 hth jakob Thierry Hanot wrote: Hello Thanks for the link , But in the discussion , there is no solution , it just say that we need to convert Jdbc types ... Any guess about when we will have a correction ?. B.R Thierry

RE: Pbm on MtoNCollectionPrefetcher

2004-01-30 Thread Thierry Hanot
It seems to work fine ... Is the lastest version more like a 1.0 release Or a 1.0 RC06 ??? -Original Message- From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Friday, January 30, 2004 9:03 AM To: 'OJB Users List' Subject: RE: Pbm on MtoNCollectionPrefetcher Thks Jacob I 'll test

RE: About transactions using pb

2004-01-30 Thread Thierry Hanot
For avoiding this kind of problems We did a wrapper on the PersistenceBroker . When you make a begin transaction We store the thread ( Thread.currentThread() ) . Until commit or abort , it you try to access on the broker from a different thread it throw an exception. B.R Thierry

RE: Missing releaseAllResource in ConnectionFactoryDBCPImpl

2004-01-26 Thread Thierry Hanot
Thanks I 'll have a more detailled look on the Thread . Thierry -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Sunday, January 25, 2004 2:50 AM To: OJB Users List Subject: Re: Missing releaseAllResource in ConnectionFactoryDBCPImpl Hi Thierry, Thierry Hanot

RE: Pbm on MtoNCollectionPrefetcher

2004-01-26 Thread Thierry Hanot
, 2004 10:51 PM To: OJB Users List Subject: Re: Pbm on MtoNCollectionPrefetcher Hello Thierry, Here is comment of Jakob Braeuchi in OJB-DEV on the same issue : http://article.gmane.org/gmane.comp.jakarta.ojb.devel/5084 - Original Message - From: Thierry Hanot [EMAIL PROTECTED] To: 'OJB

Missing releaseAllResource in ConnectionFactoryDBCPImpl

2004-01-23 Thread Thierry Hanot
When i request a ConnectionManager.releaseAllResource in DBCPConnectionManager , The connection are not release ,and if i change the JdbcConnectionDescriptor to a new database the old connection are used again . The method releaseAllResource is not defined on the DBCPConnectionManager .The

Pbm on MtoNCollectionPrefetcher

2004-01-22 Thread Thierry Hanot
Hello There is a problem on the MtoNCollectionPrefetcher . Description : Input a MtoN relation in an Oracle database All the ids are SQL NUMBER and are declared as BIGINT in the repository.xml. The problem is that the Prefetecher use a ReportQuery in the method prefetchRelationship but use

RE: Connection: Socket Close Exception

2004-01-13 Thread Thierry Hanot
Application it there possibility of forgetting to it closed problem of configuration of Oracle forget the brocker close for your application problem of configuration of Oracle number off statement open default is very limited but you can change this ! Thierry Hanot wrote: Hello All There is very

Connection: Socket Close Exception

2004-01-12 Thread Thierry Hanot
Hello All There is very Weird problem on the PersistenceBroker : - Allocate a new Broker - Get something on it ( iterator by query or identity ... ) - Let the GC free the broker - Request a new broker with the same PBKey - Make the same request ** an Exception is

Remark on the ObjectCacheDefaultImpl

2003-12-26 Thread Thierry Hanot
Hello I had some problems with the ObjectCacheDefaultImpl , First : The constructor of this cache in the have some problem when we use the parameter properties timeout = prop == null ? timeout : (new Long(prop.getProperty(timeout, + timeout)).longValue()*1000); In the comment of the class the

RE: Remark on the ObjectCacheDefaultImpl

2003-12-26 Thread Thierry Hanot
); } By the way Merry Xmas and Happy new year . Thierry -Original Message- From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 11:19 AM To: '[EMAIL PROTECTED]' Subject: Remark on the ObjectCacheDefaultImpl Hello I had some problems

RE: Newbie OQL select question - can I selectively retrieve field s?

2003-12-26 Thread Thierry Hanot
May be you could try to split the mapping of the table on 2 objects One containing the names and the id , and the other one the id and the data . And you 'll load the second class only when you need the data. B.R Thierry -Original Message- From: Ara Juljulian [mailto:[EMAIL

RE: Newbie OQL select question - can I selectively retrieve field s?

2003-12-26 Thread Thierry Hanot
You can also use the ReportQuery for doing what you want but it doesn't return objects , only the request rows . -Original Message- From: Ara Juljulian [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 4:14 PM To: [EMAIL PROTECTED] Subject: Newbie OQL select question - can I

Proxy and hashCode method in RC5

2003-12-15 Thread Thierry Hanot
Hello All I use proxies for loading and accessing object by references . On all the implementation and interface of my objects I have a method equals and hashCode which allow me to store some of those object in Maps for retrieve them in an easy way ( which is really fast ) . The problem with the

MetaData ??

2003-11-13 Thread Thierry Hanot
Hello all A simple question, is it possible to load the metadata for having a classdescriptor from a repository Without having the corresponding class not already loaded by the class loader ??? B.R Thierry - To unsubscribe,

Split table into many classes ???

2003-11-10 Thread Thierry Hanot
Hello I 'm trying to split a table into many classes which are containing only a part of the datas . TABLE TT: NUMBER ID VARCHAR NAME VARCHAR DESCR BLOBDATA I want to have 2 classes one containing a small description ( ID , NAME and DESCR) and the other one Containing the data ( ID and

Use stored procedure for insert questions

2003-11-07 Thread Thierry Hanot
-field-ref CDATA #IMPLIED include-all-fields (true | false) false 3: Is it possible to use different sequence manager in the same repository ??? If yes how ? B.R Thierry Hanot - To unsubscribe, e-mail: [EMAIL

RE: Use stored procedure for insert questions

2003-11-07 Thread Thierry Hanot
case, the value that's returned by the sp will be placed in the 'id' attribute on the 'Twtinstances' class. HTH Ron Gallagher Atlanta, GA [EMAIL PROTECTED] -Original Message- From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 10:20 AM To: 'OJB Users List' Subject

Stored Procedure Question ? ( from newbies )

2003-11-05 Thread Thierry Hanot
a CallableStatementForClass is the class has stored procedure or an other ( StatementsForClassImpl ) if the class descriptor hasn't. Instead of registring OutParameters in the StatementManger can we do it in the StatementForClass implementation. Tks Thierry Hanot

RE: Stored Procedure Question ? ( from newbies )

2003-11-05 Thread Thierry Hanot
days. In the meantime, if you have any questions, just post them to the mailing lists and I'll answer them as best I can. Ron Gallagher Atlanta, GA [EMAIL PROTECTED] -Original Message- From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 6:02 AM To: [EMAIL