Re: Retrieving collections when FK is a VARCHAR

2006-02-08 Thread Armin Waibel
Hi Alessandro, Alessandro Vincelli wrote: Hi, I encountered a weird problem in simply retrieving objects mapped to the following table: class-descriptor class=w4b.com.cassagest.db.Docassiste table=DOCASSISTE field-descriptor name=dbprogre primarykey=true default-fetch=true

Re: Auto-retrieve or not ?

2006-02-08 Thread Armin Waibel
Hi Bruno, Bruno CROS wrote: (to Armin) OK. Really do appreciate all your advices . Thanks again. Here's my situation, resulting of a migration from 1.0.1 to 1.0.4 (within ojb-blank) : - I tried desperatly to use the TwoLevelCache and cannot run the first batch (note that this batch looks like

Re: Auto-retrieve or not ?

2006-02-08 Thread Bruno CROS
Hi Armin, and all Just to clarify my dilemma, i just want to resume my intentions about configuring my repository. Consider that model is done, that 90% of transactions are coded (with reportQuery, and query object and a few getCollections utilizations when update), and of course, model is

Re: Retrieving collections when FK is a VARCHAR

2006-02-08 Thread Alessandro Vincelli
I add to JIRA this problem. and: NOTE: If I remove form class-descriptor class=w4b.com.cassagest.db.Passiste table=PASSISTE: reference-descriptor name=dbcodassRef class-ref=w4b.com.cassagest.db.Passiste auto-update=false auto-delete=false proxy=false

Profiling OJB

2006-02-08 Thread Edson Carlos Ericksson Richter
Hi! I'm running OJB under NetBeans 5.0 final with JDK 1.5.0_06 and NetBeans Profiler 5.0, OJB 1.0.3. I just run the app, and I see RepositoryPersistor.readMetadataFromXML(org.xml.sar.InputSource, class) is called twice, taking incredible 5561 ms for execution (a 2780ms per call). It's

Re: Profiling OJB

2006-02-08 Thread Armin Waibel
Hi, Edson Carlos Ericksson Richter wrote: Hi! I'm running OJB under NetBeans 5.0 final with JDK 1.5.0_06 and NetBeans Profiler 5.0, OJB 1.0.3. I just run the app, and I see RepositoryPersistor.readMetadataFromXML(org.xml.sar.InputSource, class) is called twice, taking incredible 5561 ms

OJB, JBOSS and Hibernate

2006-02-08 Thread Ferrer, Eric
I currently have OJB configured to run on Tomcat using apache's connection pooling. We are going to be switching environments to use JBOSS as our application server. JBOSS appears to be really focused on integrating with Hibernate and I had some concerns of forth coming issues with OJB and

Re: Retrieving collections when FK is a VARCHAR

2006-02-08 Thread Jakob Braeuchi
hi alessandro, could you please set a breakpoint in PlatformDefaultImpl#setObjectForStatement at line 271 ... ps.setObject(index, value, sqlType); } } and tell me the value of sqlType. thanks jakob Alessandro Vincelli schrieb: Hi, I encountered a weird problem

Re: Retrieving collections when FK is a VARCHAR

2006-02-08 Thread Armin Waibel
Hi Alessandro, I have a problem to understand your metadata mapping posted in JIRA. In class Docassiste the 1:1 reference is field-descriptor name=dbcodass default-fetch=true column=DBCODASS jdbc-type=VARCHAR/ reference-descriptor name=dbcodassRef class-ref=w4b.com.cassagest.db.Passiste