Re: Configurable interface for LockManagers

2006-01-11 Thread Armin Waibel
Armin Waibel wrote: A workaround will be to configure once LockManagerRemoteImpl by hand before the first use of odmg-api: LockManager lm = LockManagerFactory.getLockManager(); if(lm instanceof Configurable) { Configurator configurator = OjbConfigurator.getInstance(); configurator.configure((Lo

Re: Configurable interface for LockManagers

2006-01-11 Thread Armin Waibel
Hi Phil, DiCorpo, Phillip wrote: I've created my own LockManager implementation for OJB 1.0.4 that implements the Configurable interface and I've added some of the properties this implementation needs to the OJB.properties file. By doing so I was hoping that my LockManager would be configured a

Re: uses OUTER JOIN by default... --> BUG or FUNCTIONALITY ?

2006-01-11 Thread Jakob Braeuchi
hi sergey, what do the criteria look like ? do you use or-criteria ? ojb provides a method to force an outer join, but currently there's no way to prevent the usage of the outer join. please post your classes, the report-query and if possible the ddl-statements so i can try to reproduce this

Configurable interface for LockManagers

2006-01-11 Thread DiCorpo, Phillip
I've created my own LockManager implementation for OJB 1.0.4 that implements the Configurable interface and I've added some of the properties this implementation needs to the OJB.properties file. By doing so I was hoping that my LockManager would be configured at some point, like in the LockManage

RE: uses OUTER JOIN by default... --> BUG or FUNCTIONALITY ?

2006-01-11 Thread Manukyan, Sergey
Hi Jacob, Well, see yourself if it is a clever behavior: Here is a simplified repository data: ... And using a ReportQuery with fields: {"pkField","allChildren.allTypes.typeDescription"}

Re: OJB 1.0.4 and ODMG Database.makePersistent

2006-01-11 Thread Armin Waibel
Hi Dirk, Kessler, Dirk wrote: Armin, thanks for your reply. We have transactions that span multiple web requests (pages) and we use the PK values to identify objects that have been persisted on the various pages (in order to re-display the contents of the objects if the user goes back to one of

Re: uses OUTER JOIN by default... --> BUG or FUNCTIONALITY ?

2006-01-11 Thread Jakob Braeuchi
hi sergey, ojb just tries to be clever ;) outer joins are created when there are extents etc. could you please post the relevant parts of your mapping file and the generated sql. jakob Manukyan, Sergey schrieb: After some tests found out that OJB generates LEFT OUTER JOIN instead of INNER

RE: OJB 1.0.4 and ODMG Database.makePersistent

2006-01-11 Thread Kessler, Dirk
Armin, thanks for your reply. We have transactions that span multiple web requests (pages) and we use the PK values to identify objects that have been persisted on the various pages (in order to re-display the contents of the objects if the user goes back to one of those pages). There are defini

Re: strange ojb behavior with collection

2006-01-11 Thread Jakob Braeuchi
hi matthieu, ojb does nothing strange here. it's a p6spy feature that allows you to log access to the result set. ... 818|-1||resultset|SELECT A0.VO_ID,A0.VO_N this is the way to exclude resultset log entries : #list of categories to exclude: error, info, batch, debug, statement, #commi

Re: bad sql on n-m relation to subclassed object

2006-01-11 Thread Jakob Braeuchi
hi nicolas, i'm pleased the latest version works for you. could you please post the error, or give me a hint where you found discussions about the bug. jakob delahaye.nicolas schrieb: Hi jakob, Ok, it is working with 1.0.4. But if i want retreive the super class alone, a wrong SLQ query i

Re: Collection problem 1:n relationship

2006-01-11 Thread Armin Waibel
Hi Renaud, Renaud Lévy wrote: Hello, I've got a simple problem of collection's retrieve : There are 2 tables : InfoData and ValueData with foreign key and datetime field as it's describe in my repository primarykey="true"/> primarykey="true"/

Collection problem 1:n relationship

2006-01-11 Thread Renaud Lévy
Hello, I've got a simple problem of collection's retrieve : There are 2 tables : InfoData and ValueData with foreign key and datetime field as it's describe in my repository primarykey="true"/> primarykey="true"/> primarykey="true"/>

strange ojb behavior with collection

2006-01-11 Thread matthieu . patou
Dear ojb user, i've got a question about the behavior of OJB (1.0.3). If i ask for a collection of vehicule OJB fetch the data from the database to build the collection the expect bellow show what P6SPY catch : [11/01/06 12:13:23:808 CET] 78faf5a0 SystemOut O 1136978003808|60|7|statement|

Re: lazy loading 1.0.4

2006-01-11 Thread Dennis Bekkering
Armin, I looked at it a little better and it is because i have my own cache for model and view objects because they are used so much. I think that I also understand why the initial organisation query only queries the organisation and country table while there are a lot more references. When the r

AW: What about JDO project ?

2006-01-11 Thread Hiller, Frank RD-AS2
Hi Tom, IMO this is not good news. It does not affect my work at the moment, but my intent was to change my PB implementation to JDO when available with OJB 2.x. I'd rather stay with OJB than restarting with JPOX. Did the OJB team stop the activities concerning JDO? Is it planned to make a decis