How to delete single objects in a referenced collection?

2005-03-16 Thread Hiller, Frank RD-AS2
I'm using two classes/tables in a 1:n reference with PerstistenceBroker API. In the first table I have the machines and in the second one the currently logged on persons. In the EMPLOYEES table I'm using a PK of two columns (PERSONALID / MACHINEID). I'm not using ID. When a person logs off, it is

Re: Oracle Driver jdbc10.1.0.2

2005-03-16 Thread Martin Kalén
Don Lyon wrote: I ran into a similar problem using JBoss as the managed environment. Could we add that to the list for 1.0.2? Hello Don, thank you for your report. protected static final String UNWRAP_CONN_METHOD_NAMES[] = getUnderlyingConnection /* JBoss */ [...]

Re: composite foreign key references

2005-03-16 Thread Jakob Braeuchi
hi bobby, http://marc.theaimsgroup.com/?l=ojb-userm=110504711807796w=4 an example can be found in NoPkReferenceTest jakob Bobby Lawrence schrieb: Jakob - Where can I find info about this new feature? Jakob Braeuchi wrote: hi bobby, your problem could be solved by the new relationship-definitions

Re: feature request?

2005-03-16 Thread Jakob Braeuchi
hi bobby, tom, isn't this already solved by http://marc.theaimsgroup.com/?l=ojb-userm=110504711807796w=4 jakob Thomas Dudziak schrieb: I've added a feature request for something similar: http://issues.apache.org/scarab/issues/id/OJB312 Please add comments to the issue to describe your wish.

Re: feature request?

2005-03-16 Thread Thomas Dudziak
Have you tried it with the simple usecase of changing the order of FKs vs. PKs, e.g. with a unit test ? If that works, then the CR is already finished. I just wanted to make it an official CR so that the people that wanted this feature can register themselves at it for notification. regards, Tom

Excalibur Integration

2005-03-16 Thread Markus Wolf
Hi, is there a way to reuse existing connections for the whole OJB setup? I've implemented a ConnectionFactory for OJB as Excalibur component, but when I create a new database and open it (as stated in the tutorials) the repository_database.xml part is always expected. Are there any

Re: feature request?

2005-03-16 Thread Jakob Braeuchi
hi tom, no, this scenario is not part of the testcase. but i expect it to work, because you can declare any field to be the referenced field. but that only what i do expect ;) jakob Thomas Dudziak schrieb: Have you tried it with the simple usecase of changing the order of FKs vs. PKs, e.g. with

Re: feature request?

2005-03-16 Thread Bobby Lawrence
Jakob - Is the target-field-ref attribute available in OJB 1.0.1? --Bobby Jakob Braeuchi wrote: hi bobby, tom, isn't this already solved by http://marc.theaimsgroup.com/?l=ojb-userm=110504711807796w=4 jakob Thomas Dudziak schrieb: I've added a feature request for something similar:

Re: Excalibur Integration

2005-03-16 Thread Martin Kalén
Markus Wolf wrote: is there a way to reuse existing connections for the whole OJB setup? I've implemented a ConnectionFactory for OJB as Excalibur component, but when I create a new database and open it (as stated in the tutorials) the repository_database.xml part is always expected. Are there

Re: feature request?

2005-03-16 Thread Jakob Braeuchi
the answer is: no jakob Bobby Lawrence schrieb: Jakob - Is the target-field-ref attribute available in OJB 1.0.1? --Bobby Jakob Braeuchi wrote: hi bobby, tom, isn't this already solved by http://marc.theaimsgroup.com/?l=ojb-userm=110504711807796w=4 jakob Thomas Dudziak schrieb: I've added a

Re: feature request?

2005-03-16 Thread Bobby Lawrence
OK - then I guess OJB 1.1 - do you have a targeted release date? --Bobby Jakob Braeuchi wrote: the answer is: no jakob Bobby Lawrence schrieb: Jakob - Is the target-field-ref attribute available in OJB 1.0.1? --Bobby Jakob Braeuchi wrote: hi bobby, tom, isn't this already solved by

Re: feature request?

2005-03-16 Thread Jakob Braeuchi
hi bobby, in case you really expect an answer to this question, here it is: ojb 1.1 will be releasd when it's finished ;) jakob Bobby Lawrence schrieb: OK - then I guess OJB 1.1 - do you have a targeted release date? --Bobby Jakob Braeuchi wrote: the answer is: no jakob Bobby Lawrence schrieb:

Re: feature request?

2005-03-16 Thread Bobby Lawrence
Well - then I guess this feature doesn't help me unless I want to be working w/ a beta version of OJB --B Jakob Braeuchi wrote: hi bobby, tom, isn't this already solved by http://marc.theaimsgroup.com/?l=ojb-userm=110504711807796w=4 jakob Thomas Dudziak schrieb: I've added a feature request

Re: getReportQueryIteratorByQuery - Converting result object to Value Object with reflection

2005-03-16 Thread Jakob Braeuchi
hi mike, you could also convert the row into a map using [attribute, value] and pass this map to the constructor of the VO. the getters/setter of the VO could the access the map. the map could also be created by the VO itself based on attributes and the row. hth jakob Mike Young schrieb: I

Re: How to delete single objects in a referenced collection?

2005-03-16 Thread Martin Kalén
Hiller, Frank RD-AS2 wrote: In the first table I have the machines and in the second one the currently logged on persons. In the EMPLOYEES table I'm using a PK of two columns (PERSONALID / MACHINEID). I'm not using ID. When a person logs off, it is not deleted from EMPLOYEES table when using

Re: feature request?

2005-03-16 Thread Thomas Dudziak
How difficult would it be to backport this feature to the 1.0 branch ? Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: feature request?

2005-03-16 Thread Jakob Braeuchi
hi tom, this feature has an impact on many parts of ojb (metadata, sql-generation, accesslayer). see http://marc.theaimsgroup.com/?l=ojb-devm=110504521613856w=2 another issue is that a refactored SqlQueryStatement some time ago, so we would have to integrate this feature into the old version

Re: feature request?

2005-03-16 Thread Thomas Dudziak
A pity. I could really make good use of it with the XDoclet module. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Oracle Driver jdbc10.1.0.2

2005-03-16 Thread Don Lyon
Martin, It looks like unwrapping the connection in initializeJdbcConnection() is causing another problem for managed connections in JBoss. Trying to setStatementCacheSize throws the exception: Caused by: java.sql.SQLException: Statement Caching cannot be enabled for this logical connection.

Re: DBCP, Oracle9i Blob/Clob broken

2005-03-16 Thread Danilo Tommasina
Nice work, many thanks. cheers danilo Danilo Tommasina wrote: I ended up implementing a custom DBCP connection factory that is using a BasicDataSource instead of a PooledDataSource. Since the documentation of the DBCP stuff is really ugly I didn't find out what the difference really is between