Re: LockManagerInMemoryImpl memory leak

2007-03-12 Thread Bruno CROS
. Modification have been tested with millions of locks / thousands of keys. May you post the code with a little comments cleanup ;-) Regards. On 3/9/07, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi all, Well, our team experiment some memory leaks using the LockManager

LockManagerInMemoryImpl memory leak

2007-03-06 Thread Bruno CROS
Hi all, Well, our team experiment some memory leaks using the LockManager in remote mode, with the servlet and so, the LockManagerRemoteImpl. It seems that, after a while, in the LockManagerInMemoryImpl (use by LMRemoteImpl), some LockObject instances are stored in the static HashMap keyLockMap

Re: DB dead lock issue with deletePersistent calls

2006-12-15 Thread Bruno CROS
JIRA is post. On 12/15/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi, Ye, we get rid of those dead locks. Congratulation! Actually, OJB does not cause anything to have Oracle dead locks!! Phew! Many applications can have dead locks without any lines

Re: Which class to modify to clock sql statements ?

2006-12-15 Thread Bruno CROS
. -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: 15 December 2006 01:24 To: OJB Users List Subject: Re: Which class to modify to clock sql statements ? Bruno CROS wrote: Hi, Well, i just want to mesure the time a sql statement takes to be post (sql

Re: DB dead lock issue with deletePersistent calls

2006-12-14 Thread Bruno CROS
in documentation. Regards. Thanks for help. On 12/8/06, Armin Waibel [EMAIL PROTECTED] wrote: Bruno CROS wrote: No. I don't known how to write such a test. But i have an idea where it occurs in the persistent graph. I use locks on OJB master object (at start of transaction) when possible (even

Which class to modify to clock sql statements ?

2006-12-14 Thread Bruno CROS
Hi, Well, i just want to mesure the time a sql statement takes to be post (sql commit too). I looked a bit in broker.accesslayer package and in StatementForClassImpl.java. Is it the right place to do this ? May be someone wrote an implementation? Working with 1.0.4 Thanks for advices.

ODMG Delete : markDelete or deletePersistent

2006-12-08 Thread Bruno CROS
Hi, Just one question. Using ODMG, if deletePersistent(o) is called from the Impl.getDatabase(), how SQL DELETE query post can be done with the other INSERT/UPDATE in the same SQL transaction without refering THE transaction? Why ODMG delete object tutorial talk about deletePersitent way,

Re: ODMG Delete : markDelete or deletePersistent

2006-12-08 Thread Bruno CROS
. On 12/8/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi, Just one question. Using ODMG, if deletePersistent(o) is called from the Impl.getDatabase(), how SQL DELETE query post can be done with the other INSERT/UPDATE in the same SQL transaction without refering THE transaction? Why ODMG delete

Re: DB dead lock issue with deletePersistent calls

2006-12-08 Thread Bruno CROS
Hi, On 12/8/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi, I'm experiencing some troubles about deletePersistent usage when running ODMG transactions. The most of the issues is an Oracle dead lock. ORA-00060. I'm looking for what can be wrong, and don't find

DB dead lock issue with deletePersistent calls

2006-12-06 Thread Bruno CROS
Hi, I'm experiencing some troubles about deletePersistent usage when running ODMG transactions. The most of the issues is an Oracle dead lock. ORA-00060. I'm looking for what can be wrong, and don't find. Error occurs on production server, never on developpement servers !! To summarize, the

Re: Want do query Object width no 1-n reference

2006-12-06 Thread Bruno CROS
Well, try notExists criteria and a subquery on Group returning anything ligth of Group (key field by example) Bruno. On 12/6/06, Josef Wagner [EMAIL PROTECTED] wrote: Hello List, I want to have all Users, which are not in a Group Here my repository: class-descriptor

Re: Re: Circular references issue

2006-12-06 Thread Bruno CROS
, find out how to flush with PB API (post queries without commit). Regards On 6 Dec 2006 18:15:07 -, Virgo Smart [EMAIL PROTECTED] wrote: Hello, Is there a way to do the same using Persistence Broker APIs ? Thanks and Regards, Gautam. On Wed, 06 Dec 2006 Bruno CROS wrote : The circular

Re: Want do query Object width no 1-n reference

2006-12-06 Thread Bruno CROS
[EMAIL PROTECTED] wrote: Hello, I usually do criteria.addNotExists(subQuery) with ReportQueryByCriteria subQuery and set subQuery.setAttributes(new String[] { 1 }), it should be even faster than anything ligth of Group (key field by example). Cheers, Vasily On 12/7/06, Bruno CROS [EMAIL

Re: How to release cached objects ?

2006-11-14 Thread Bruno CROS
again, and again... Regards Now, my need would be to getAllBroker from On 11/13/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi, Just about a little question. Does PersistenceBrokerFactory.releaseAllInstances() release all cached objects? I'm using

How to release cached objects ?

2006-11-13 Thread Bruno CROS
Hi, Just about a little question. Does PersistenceBrokerFactory.releaseAllInstances() release all cached objects? I'm using PersistenceBrokerFactoryDefaultImpl and ObjetCacheDefaultImpl (and OJB 1.0.4.) The goal is to force server to reload all OJB mapped objects. Is there a proper foreseen

Reflexive reference relation

2006-10-30 Thread Bruno CROS
Hi, At start of my project, I remember i did a workaround to translate the mapping of reflexive relation, but i'm not sure why... so I did it again, and obtained a PK_VIOLATED exception ! Even i don't known why this couldn't be possible ( i mean without simulated indirection table, so

Re: Reflexive reference relation

2006-10-30 Thread Bruno CROS
Well, do not care about last mail. Reflexive relation works fine if you don't forget the flush or checkpoint absolutely necessary. OJB is really a great tool. Thanks. On 10/30/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi, At start of my project, I remember i did a workaround to translate

Re: Monitoring DB cursor leaks

2006-10-10 Thread Bruno CROS
and correct handling for BLOBs 4kB, for 9i or later Oracle versions. Good luck cheers Danilo Bruno CROS wrote: Hi all, Experiencing some MAX OPEN CURSOR oracle errors (ORA -01000) , i'm looking for the cursors leaks ( unclosed ResultSet it seems) in code. I guess that broker queries well close

Re: Monitoring DB cursor leaks

2006-10-10 Thread Bruno CROS
? Thanks On 10/10/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi, Here is my connector, Oracle9i yet... May be i have to set the jdbc-level at 3.0 ? Referring to this article, it seems that it is a hard to resolve trouble. http://www.orafaq.com/node/758 Except looking into code, how to check

Monitoring DB cursor leaks

2006-10-09 Thread Bruno CROS
Hi all, Experiencing some MAX OPEN CURSOR oracle errors (ORA -01000) , i'm looking for the cursors leaks ( unclosed ResultSet it seems) in code. I guess that broker queries well close the result set. So when report queries results iteration are closed ? on HasNext()==false ? Is it possible

Re: LockManagerRemoteImpl EOFException on URL

2006-09-29 Thread Bruno CROS
) at org.apache.ojb.broker.locking.LockManagerRemoteImpl.performRequest( LockManagerRemoteImpl.java:335) at org.apache.ojb.broker.locking.LockManagerRemoteImpl.releaseLock( LockManagerRemoteImpl.java:193) ... 41 more On 9/29/06, Armin Waibel [EMAIL PROTECTED] wrote: Bruno CROS wrote: Hi, I

Re: LockManagerRemoteImpl EOFException on URL

2006-09-29 Thread Bruno CROS
Hi Armin, I think the classpath (jar) i give for servlet is wrong (server side). Can you list the jars to be with LockManagerServlet? Thanks On 9/29/06, Bruno CROS [EMAIL PROTECTED] wrote: the EOF is the cause on the client (RemoteImpl client) the resulting exception

Re: LockManagerRemoteImpl EOFException on URL

2006-09-29 Thread Bruno CROS
with InMemory. Depends on application...yes. But what do you think about that ? Best regards. Bruno On 9/28/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi, I updated from SVN LockManagerFactory and configure is well called now, thanks. the EOFException still remains, it seems there is a problem

Re: Configurable interface for LockManagers

2006-09-28 Thread Bruno CROS
Hello, While waiting for the 1.0.5 release, which files should i get in CVS to get LockManagerRemoteImpl work? Thanks Armin On 1/28/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi, is fixed in SVN and will be included in upcoming 1.0.5 maintenance release. regards, Armin Armin Waibel

LockManagerRemoteImpl EOFException on URL

2006-09-28 Thread Bruno CROS
Hi, Once i'va modified constructor of LockManagerRemoteImpl to initialize lockserver variable, i started to test LockManagerRemoteImpl and get into an EOFException. URL sun implementation , release 1.0.4 Thanks Caused by: java.io.EOFException at

Re: LockManagerRemoteImpl EOFException on URL

2006-09-28 Thread Bruno CROS
is it really. I know what serialization is , i did it (with file), but i can't see where something is wrong in LockManagerRemoteImpl. Thanks for any help. OJB 1.0.4. Sun JVM 1.4 On 9/28/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi, Once i'va modified constructor of LockManagerRemoteImpl

Re: Xdoclet proxy values

2006-07-06 Thread Bruno CROS
Done On 7/6/06, Thomas Dudziak [EMAIL PROTECTED] wrote: On 7/5/06, Bruno CROS [EMAIL PROTECTED] wrote: I noticed that the proxy keyword can't accept dynamic value. dynamic is an accepted value in repository file and seems to be different of true. On my setup, dynamic values works fine

Xdoclet proxy values

2006-07-05 Thread Bruno CROS
Hi all, I noticed that the proxy keyword can't accept dynamic value. dynamic is an accepted value in repository file and seems to be different of true. On my setup, dynamic values works fine with CGLib proxies and, proxy=true seems to not... Does someone can confirm this? if it's a

Re: Only one PB from second database

2006-05-11 Thread Bruno CROS
hassle (if autoCommit is 'true' for connections). regards, Armin Can you ligth up me about that. Thanks. Regards. On 5/5/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi, I have a strange behaviour about the second database i use. It seems

Re: Only one PB from second database

2006-05-11 Thread Bruno CROS
assumption, it looks like that, but if code only reads, i don't known at all how to produce dead lock. I'm going to look at common-pool settings, if maxIdle is common-pool setting. regards On 5/11/06, Armin Waibel [EMAIL PROTECTED] wrote: Bruno CROS wrote: Hi Armin, autoCommit set to 1 does

Re: Only one PB from second database

2006-05-11 Thread Bruno CROS
No idea. All is ok on paper! http://jakarta.apache.org/commons/pool/apidocs/org/apache/commons/pool/impl/GenericObjectPool.html On 5/11/06, Bruno CROS [EMAIL PROTECTED] wrote: when MaxIdle is set to 0, it works well, and the 5 maxActive are sufficient. No freeze at all

Re: Only one PB from second database

2006-05-11 Thread Bruno CROS
if(shouldDestroy) { try { _factory.destroyObject(obj); } catch(Exception e) { // ignored } } } On 5/11/06, Armin Waibel [EMAIL PROTECTED] wrote: Bruno CROS wrote: when MaxIdle is set to 0, it works well, and the 5 maxActive

Re: Only one PB from second database

2006-05-11 Thread Bruno CROS
Oops, it's me. Sorry On 5/11/06, Bruno CROS [EMAIL PROTECTED] wrote: Yep, i 'm affraid that _pool.size() is always than -1 !! (the maxIdle), so shouldDestroy is true, and no pool is added. May be it's me . Someone can confirm this ? private void addObjectToPool(Object obj, boolean

Re: Avoiding Persistence Broker Leak

2006-05-06 Thread Bruno CROS
developpements are shorter !! Best regards, Best regards. Edson Richter Bruno CROS escreveu: Hi Armin, Thanks for the idea to detect broker leak. It will show some bad coded methods, even they have been checked : commit never reached, broker not closed... no commit/abort !!! (find one, arghh

Only one PB from second database

2006-05-05 Thread Bruno CROS
Hi, I have a strange behaviour about the second database i use. It seems that using broker = PersistenceBrokerFactory.createPersistenceBroker(rushDb); always return the same broker/connection. My connection pool is setup as it have to keep 2 idle connections available, and it never

Re: Only one PB from second database

2006-05-05 Thread Bruno CROS
didn't find any documentation on that value. What i known is that, when i put 0 (no limit), it seems there is no more freeze. Can you ligth up me about that. Thanks. Regards. On 5/5/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi, I have a strange behaviour about

Avoiding Persistence Broker Leak

2006-05-05 Thread Bruno CROS
Hi Armin, Thanks for the idea to detect broker leak. It will show some bad coded methods, even they have been checked : commit never reached, broker not closed... no commit/abort !!! (find one, arghh ) Meanwhile, there was still some open broker detected. When i look into code, i found some

Re: standalone getDefaultBroker auto-retrieve

2006-04-28 Thread Bruno CROS
{ logger.warn(msg); } close(); } } catch(Throwable ignore) { // ignore } } Bruno CROS wrote: Hi Armin, thanks for solution , but i'm not sure i did get it all !! Can you confirm solution? Well, i understand i

Re: standalone getDefaultBroker auto-retrieve

2006-04-28 Thread Bruno CROS
) whereas there is no open transaction? I do not have idea at all. I will have a lokk Tuesday. Thanks for your help. Again. On 4/28/06, Bruno CROS [EMAIL PROTECTED] wrote: Yep. I did something like... with an immediate catched exception!! it works... I add a method

Re: standalone getDefaultBroker auto-retrieve

2006-04-25 Thread Bruno CROS
;-) ) Thanks again. Bye. On 4/25/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi Armin, Here's is a schematic example : Consider a service method that returns an object ProductBean. ProductBean is not O/R mapped but the reading calls a second method

Re: standalone getDefaultBroker auto-retrieve

2006-04-25 Thread Bruno CROS
great. Imagine : broker xxx, time-out 120 s, borrowed by --- stacktrace --- I will try it tomorrow, thanks a lot. Armin. Regards On 4/25/06, Armin Waibel [EMAIL PROTECTED] wrote: Bruno CROS wrote: using proxies ? Oh, i see now. Proxy opens and closes broker well. that's it ? I didn't

standalone getDefaultBroker auto-retrieve

2006-04-24 Thread Bruno CROS
Hi, It seems that read objects with a broker, can read related objects by auto-retrieve set to true despite broker is closed. I suppose that a getDefaultBroker is done, and the borrowed broker is never closed (because no reference on it). Note : This occurred because, application has been

Re: standalone getDefaultBroker auto-retrieve

2006-04-24 Thread Bruno CROS
? return product; } return null; } I tried to wrap the code of first method with a tx.open() and tx.abort(), to be sure that broker is released at the end with the abort(). thanks regards. On 4/25/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi, It seems

Re: Question about two-level cache

2006-04-22 Thread Bruno CROS
Hi, I experienced Two Level Cache Impl. Have a look to mail archives about TwoLevelCacheImpl. Beware of checkpoints inside batch loops. Using checkpoints make cached objects quantity growing until commit. If you have to, replace checkpoints by commit/begin. Did you try the

Re: Brokers leak

2006-04-20 Thread Bruno CROS
); /* Check for unclosed broker and log url path here!! */ } Jon French Programmer ECOS Development Team [EMAIL PROTECTED] 970-226-9290 Fort Collins Science Center US Geological Survey 2150 Centre Ave, Building C Fort Collins, CO 80526-8116 Bruno CROS [EMAIL PROTECTED] 04/19/2006 03:06 PM

Brokers leak

2006-04-19 Thread Bruno CROS
Hi all, I experienced brokers leaks. I checked all the open / close broker methods and the leaks still remains. ODMG transaction have been checked too. Those leaks result in PersistentBroker I/O Exception, freezing application. I would be very happy to known which methods take my

Re: Im desperated

2006-04-13 Thread Bruno CROS
Take in consideration fields with null value. Test ou = cannot be correctly done with nulls. In this case you have to write : A isNull OR AB or A NotNULL AND A==B Hope this may help you. Regards. On 4/13/06, Helder Gaspar Rodrigues [EMAIL PROTECTED] wrote: Hello everyone, i know that

Re: Im desperated

2006-04-13 Thread Bruno CROS
Rodrigues [EMAIL PROTECTED] wrote: i tinhk that i have understaood your point of view, but how can i compare A with B if they are diferents object types? Thank you Bruno CROS wrote: Take in consideration fields with null value. Test ou = cannot be correctly done with nulls. In this case you

Re: reflexive collections

2006-04-08 Thread Bruno CROS
Hi, Take care about the loading behaviour with auto-retrieve=true on a reflexive collection. Without this consideration, then, querying with alias normally will help to your error. ++ On 4/7/06, Daniel Perry [EMAIL PROTECTED] wrote: Is it possible for an object to have a reflexive

rownum causes order by trouble

2006-04-04 Thread Bruno CROS
Hi, Inserting a criteria as rownum 2 causes the ORDER BY #n DESC to be ORDER BY #n . DESC has been lost !! Anyone confirm ? Have a workaround ? What's the best way to read only first resultset (or Object) without iterating the whole collection ? I suspect some broker-connections troubles on

Re: Reflexive ReportQuery

2006-03-27 Thread Bruno CROS
Auto reply : Final solution done with normal SQL query. Solution includes sub queries attribute as well. ++ On 3/22/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi again, I 'm desesperatly searching how to produce ReportQuery with a reflexive virtual relation. Is it possible to declare

Report query right outer join

2006-03-27 Thread Bruno CROS
Hi, A new challenge : build a left and a right outer join. In fact, i think it's describe as a full outer join in a single reportquery. Does someone think it's possible with OJB or do i go SQL again ? Regards

Re: Report query right outer join

2006-03-27 Thread Bruno CROS
Auto-reply : SQL again. On 3/27/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi, A new challenge : build a left and a right outer join. In fact, i think it's describe as a full outer join in a single reportquery. Does someone think it's possible with OJB or do i go SQL again

Join on the same table

2006-03-21 Thread Bruno CROS
Hi all, first, thanks Armin for the patch, i think will wait 1.0.5 if it will be released in the month, because i need CLOB changes too. I'm asking me if it's possible to build an auto join ReportQuery such as : select A0.id, A1.id FROM table1 A1, table1 A2 where A1.joinColumn1 =

Re: ODMG and markDelete behaviour

2006-03-15 Thread Bruno CROS
locking) 4. A2.setB(B1) 5. B1.setA(null) 6. delete A1 (markDelete) 7. commit regards, Armin Bruno CROS wrote: Hi Armin, Hi all. Well, with a little confusion, we believed that our bug of complex update was not one. But it remains. I'm suspecting a bug of OJB concerning

ODMG and markDelete behaviour

2006-03-11 Thread Bruno CROS
Hi Armin, Hi all. Well, with a little confusion, we believed that our bug of complex update was not one. But it remains. I'm suspecting a bug of OJB concerning the transcription of the markDelete in SQL operations. If I have time, I will try to assemble a demonstrative case of test with

Re: ODMG ordering with circular pairs

2006-03-07 Thread Bruno CROS
[EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Our first problem was, that, after commit, P1 was not referencing M in database. I deduced that after a flush(), new locked objects (before flush) can't reference new ones created before flush too (a second time). Humm, strange

Re: ODMG ordering with circular pairs

2006-03-07 Thread Bruno CROS
Oups, a type error at the end of my mail. I don't think i will test this deeper, because you warned me about doing this (get object from other broker). That explains the strange behaviour we had. Regards. Sorry for mistake. On 3/7/06, Bruno CROS [EMAIL PROTECTED] wrote: Hi Armin. Hi all

ODMG ordering with circular pairs

2006-03-04 Thread Bruno CROS
Hi all, hi Armin, I believe i noted a strange behaviour behaviour of new 1.0.4 ODMG ordering. Consider JIRA OJB-18. Before 1.0.4 , we used the given workaround. This means, that we put some flush() in strategical place to avoid all FK constraints. It worked fine. Now, with the OJB

Re: OJB CLOB Support

2006-02-28 Thread Bruno CROS
(object cloning). But why would we clone this kind of object, since this is not a primitive type. Am i on the rigth way ? Regards. On 2/28/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi, I need a little documentation on CLOB too. To start, does

Oracle 10g compliance

2006-02-21 Thread Bruno CROS
Hi all, Apparently, 1.0.4 does not support Oracle 10g platform (torque does but not the OJB runtime) So, i go on with oracle 9i settings. Does anyone report experience (good or bad) of that ? Thanks.

Re: Oracle 10g compliance

2006-02-21 Thread Bruno CROS
OK. Fine. I supposed that it was good. It was just to be sure. Thanks Thomas. On 2/21/06, Thomas Dudziak [EMAIL PROTECTED] wrote: On 2/21/06, Bruno CROS [EMAIL PROTECTED] wrote: Apparently, 1.0.4 does not support Oracle 10g platform (torque does but not the OJB runtime) So, i go

Re: ReportQuery bug 1.0.4

2006-02-20 Thread Bruno CROS
the same value :( jakob Jakob Braeuchi schrieb: hi bruno, could you please provide the generated sql ? jakob Bruno CROS schrieb: Hi all, It seems there is big problem on ReportQuery. Consider 2 classes, Class_A with property_a and Class_B with property_b. Consider

ReportQuery bug 1.0.4

2006-02-17 Thread Bruno CROS
Hi all, It seems there is big problem on ReportQuery. Consider 2 classes, Class_A with property_a and Class_B with property_b. Consider that Class_A is 1:n related to Class_B. Build a ReportQuery on Class_B, requesting property_b and classA.property_a. If database field names are the same

SequenceManagerNextValImpl buildIdentity

2006-02-15 Thread Bruno CROS
Hi all, I just experienced a strange behaviour of SequenceManagerNextValIpl (I guess) following migration from OJB 1.0.1 to 1.0.4. To build an object, i need the value of the id before writing it to the database So i use Identity oid =

Re: TwoLevelCache troubles and get the running transaction

2006-02-11 Thread Bruno CROS
and CGLib, convinced it's better, of course. I answered to you below in blue. On 2/11/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: Hi all, hi Armin, Using TwoLevelCacheObjectImpl, i experienced some big troubles with a delete sequence containing some flush

TwoLevelCache troubles and get the running transaction

2006-02-10 Thread Bruno CROS
Hi all, hi Armin, Using TwoLevelCacheObjectImpl, i experienced some big troubles with a delete sequence containing some flush() to avoid FK constraints errors. Assume 2 classes A and B, with 1:n relation. We can resume sequence as this : - open tx - read object A - read collection of

Re: Auto-retrieve or not ?

2006-02-08 Thread Bruno CROS
if Customer is never locked, just loaded and (re)referenced. Thanks very very much for the answers. I hope i will not request you anymore help. Regards. On 2/6/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: About my precedent batch troubles: In fact, a saw my

Re: Can't get default broker !!!

2006-02-07 Thread Bruno CROS
Discard my last mail !! During a while, i was into the body of a bad user. (nightmare) In fact, I did really change something, something in the setup of OJB even !! I was trying to install CGLib, without the jar (Idiot i am) Sorry. On 2/7/06, Bruno CROS [EMAIL PROTECTED] wrote: Help

Re: Auto-retrieve or not ?

2006-02-07 Thread Bruno CROS
=dynamic on referenced class. - I didn't see significant loading chain breaks using CGLib, with TwoLevelObjectCache. Tell me i'm wrong and that's the only fact of the cache manager.. Regards On 2/6/06, Armin Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: About my precedent

Re: Migrating to 1.0.4

2006-02-06 Thread Bruno CROS
Waibel [EMAIL PROTECTED] wrote: Hi Bruno, Bruno CROS wrote: i already have patch torque3.1.1.jar. thanks for advice. I've done since start with the build.xml of ojb-blank.jar (so torque). I have the right database generated now. That's a good point and i thank you all

Re: Migrating to 1.0.4

2006-02-06 Thread Bruno CROS
have to check all my auto-retrieve !! ... On 2/6/06, Bruno CROS [EMAIL PROTECTED] wrote: Well, step by step, i hope that anything will be fine soon. DB Connections are well mounted, thank you very much again. So, I tested my batch processes and i noted that log4j trace disappeared. I

Migrating to 1.0.4

2006-02-03 Thread Bruno CROS
, ...) it's listed in the release-notes and in the docs (Caching, Inheritance, ...). Strongly recommended: http://db.apache.org/ojb/docu/guides/odmg-guide.html regards, Armin Bruno CROS wrote: Hello, I now have spent a lot of time debugging 2 batch processing. First processing

Re: Migrating to 1.0.4

2006-02-03 Thread Bruno CROS
needed ? why oracle does not want to cretae iot !!? It's amazing. Thanks for you help. On 2/3/06, Thomas Dudziak [EMAIL PROTECTED] wrote: On 2/3/06, Bruno CROS [EMAIL PROTECTED] wrote: First you will find the ant trace of setup-db task, the torque error is painted in red. Second, you

Re: Migrating to 1.0.4

2006-02-03 Thread Bruno CROS
: Bruno CROS wrote: Bang in the bull 's eye!! the embedded dtd was not 3_0_1 but 3_1. I just change the value and it find the database.dtd file included en torque.jar Then i have to add to my build.properties torque.database.user= and torque.database.password=x

Re: Migrating to 1.0.4

2006-02-03 Thread Bruno CROS
PROTECTED] wrote: On 2/3/06, Bruno CROS [EMAIL PROTECTED] wrote: i 'm afraid i need to repatch distributed torque-gen-3.1.1.jar to have TIMESTAMP jdbc type created for java.sql.Date and java.sql.timestampas i wrote in an old old post. (specific to oracle 9i and older ) You might want

Re: Migrating to 1.0.4

2006-02-03 Thread Bruno CROS
Note that my OJB_DMAP_ENTRIES has not been created !! On 2/3/06, Bruno CROS [EMAIL PROTECTED] wrote: i already have patch torque3.1.1.jar. thanks for advice. I've done since start with the build.xml of ojb-blank.jar (so torque). I have the right database generated now. That's a good point

1-n Auto-retrieve troubles

2006-02-02 Thread Bruno CROS
Hello, I now have spent a lot of time debugging 2 batch processing. First processing creates a simple 1-n couple of object (consider that class UnityCar refers a class Unity with 1-n relation) . Creation is done like this : - tx.begin() - Unity u = new Unity() - tx.lock(u, Transaction.WRITE); -

Re: OJB and temporary tables

2005-06-27 Thread Bruno CROS
in OJB. However, it might be possible to dynamically change the repository metadata to point to the temporary table... -Original Message- From: Bruno CROS [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 10:17 To: OJB Users List Subject: Re: OJB and temporary tables Help

OJB and temporary tables

2005-06-23 Thread Bruno CROS
Hello, I did not find any concrete discussings about dealing with temporary tables with OJB. My aim is to check some values against records in OJB tables. The query is a complex join query, with multiple records entries. Make a query for each check will be too heavy and too long. My first

repository.xml partially read

2005-03-18 Thread Bruno CROS
Hello, I setup a repository.xml as ojb-blank project description of my file is below. This file works very well on Tomcat over windows, but not at all on AIX ! AIX log tells me that No repository is loaded, the parsing seems to stop in a subfile !! (see below) so OJB starts with empty

Re: repository.xml partially read

2005-03-18 Thread Bruno CROS
Weblogic... On Fri, 18 Mar 2005 15:10:26 +0100, Martin Kalén [EMAIL PROTECTED] wrote: Bruno CROS wrote: I setup a repository.xml as ojb-blank project description of my file is below. This file works very well on Tomcat over windows, but not at all on AIX ! This is the third subject

Re: repository.xml partially read

2005-03-18 Thread Bruno CROS
Waouh, was just an awful bad naming. I had forgotten than Windows is not case sensitive !!! Unix is... argh the xml database in my repository.xml was named repository_database_rushDB instead of repository_database_rushDb. So confuseD. So sorrY. Thanks again for your help. ++ On Fri, 18 Mar

Oracle 9i date-timestamp tip

2005-03-03 Thread Bruno CROS
Even if it has been already post, i just want to clarify the tip : - according to Oracle 9i notes http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#08_01 it's important to note that mapping date attributes such as java.sql.Time java.util.Date (with hours ...) and even