RE: dbalias for Oracle

2003-03-26 Thread Teck-Hooi Lim
You can take a lot at repository_database.xml. Thought it didn't specific configured for Orcale but I believe it is not hard to figure it out. As for dbalias, take is as the db connection URL.For example, Oracle DB URL = jdbc:oracle:thin:@localhost:1521:ORCL and the configuration will be like

1 to n mapping issue - can OBJ handle this complex case ?

2003-03-26 Thread Patrick_Reyes
Hi to all, It looks like I am trying to do something that OJB can not handle, some advise would be greatly appreciated. I am trying to resolve the following problem, related to complex 1 to n mapping and I was wandering if OJB was able to handle this case. I am trying to setup a multiLanguage

dbalias for Oracle question

2003-03-26 Thread Chang Sau Sheong
Hi, I searched through the archives for this question on dbalias for Oracle and I found the thread that mentioned it but unfortunately the archives seems to be down. Can someone please help me here? I'm trying to connect to an Oracle database but there is no documentation that I can find that

Antwort: dbalias for Oracle question

2003-03-26 Thread Carsten . Poertge
Hello Chang, you can have a look at /profile/oracle.properties in your ojb directory. I hope this helps. Carsten Chang Sau Sheong [EMAIL PROTECTED] on 26.03.2003 03:00:37 Bitte antworten an OJB Users List [EMAIL PROTECTED] An: Geigl.Maximilian ojb-user Kopie:

Fields are merged if two DB connections are used

2003-03-26 Thread Thomas Fahrmeyer
I have a problem. I try to connect to two different databases (oracle and mysql) and want to retrieve data from a table that is given in both of them. Although the table has the same name in both databases, there are different fields. Contrary to sanity the generated query for one table does use

Re: [MAPPING] Problem committing inertst on LONG fields

2003-03-26 Thread Armin Waibel
Hi Max, thanks it works; one more question: the solution is declred as workaround (or hack in the sources): what is the intended behaviour of batch-mode if not exactly the behaviour now implemented? indeed I think you are right, but I'm not the author of the 'batch-mode' feature, thus I

AW: [DBMS] MS SQL Server

2003-03-26 Thread Geigl Maximilian, R235
Ok. i'll see what i can do. Thanks a lot for your help and you patience. Regards Max -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26. März 2003 13:34 An: [EMAIL PROTECTED] Betreff: RE: [DBMS] MS SQL Server Don't know about CLOB.

Re: SequenceGenerator might generate incorrect sequence (duplicates)

2003-03-26 Thread Armin Waibel
Hi Roger, you are right, it's a known problem. I'm currently on that stuff. A solution might be to use locking (set locking='true' in repository.xml) on the maxKey attribute of the sequence (i.e. only if my copy of the sequence is the most recent, i may update it). This way, only one of the

RE: SequenceGenerator might generate incorrect sequence (duplicates)

2003-03-26 Thread Janssen, Roger
Hi. Currently locking is a ODMG-api feature, thus it does not help. Further on to make 'safe locks with different JVM' you have to use the persistent locking mode, this will slow down performance. I meant using locking as demonstrated in 'OptimisticLockingTest' junit testclass... (maybe you

Re: Fields are merged if two DB connections are used

2003-03-26 Thread Ron Gallagher
Thomas -- You need to set the schema attribute on the class-descriptors. Ron Gallagher Atlanta, GA [EMAIL PROTECTED] From: Thomas Fahrmeyer [EMAIL PROTECTED] Date: 2003/03/26 Wed AM 04:02:46 EST To: [EMAIL PROTECTED] Subject: Fields are merged if two DB connections are used I have a

RE: dbalias for Oracle

2003-03-26 Thread Gerardo Arroyo
This is an example for Oracle 9 jdbc-connection-descriptor jcd-alias=default default-connection=true platform=Oracle jdbc-level=2.0 driver=oracle.jdbc.driver.OracleDriver protocol=jdbc

Newbie questions (oracle and ojb setup) (posted because archive unbrowsable)

2003-03-26 Thread Vincenz Braun
Hi, my first steps with ojb. Some questions have arised. I post these because it is currently not possible to browse the archive under http://archives.apache.org/eyebrowse/[EMAIL PROTECTED] org. All message bodies are empty :-( I want to use ojb with a sample oracle schema. I wonder where to

Non-Decomposed collections, without implicit locking

2003-03-26 Thread David . Corbin
We've been using ND collections, and without realizing it, we had implicity locking turned out. It worked great in 0.9.9. However, when we switched turned off implicit locking, and switched to rc1, objects in the ND collection are not persisted. Experimentation reveals this doesn't work in

Newbie : ODMG / PersistenceBroker

2003-03-26 Thread Emmanuel Dupont
All, After a while, I am not sure that I have really understood the difference between ODMG transactions and PersistenceBroker Transactions. I know there is a FAQ (What is the difference between the PB API and ODMG .) but I don't understand completely (The PB keeps no transactional

RE: Newbie : ODMG / PersistenceBroker

2003-03-26 Thread Charles Anthony
They are fundamentally different transactions. The broker.beginTransaction() starts a Database transaction. Broker.commitTransaction commits the databse transaction. The ODMG transaction is a *logical* transaction; it represents a group of changes to objects. tx.begin() essentially initialises

query-customizer sample ?

2003-03-26 Thread Malinescu, Cristian
Hi Is somewhere there a sample of using the query-customizer element for collection-descriptor tag ? Like for the next sample situation, where the Collection getMyXs() for class Y can be filtered by field visible ? regards, Cristian Malinescu class-descriptor class=org.my.X ...

Vertical Inheritance

2003-03-26 Thread Les Hazlewood
Hello, I've been looking around FOREVER for a free jdo implementaiton I can use to begin testing jdo and how it might fit in to our application. The closest thing I've found that meets my needs is the ojb project from apache. I was wondering if anyone could clarify some things for me. I

Re: Implicit locking with greater control

2003-03-26 Thread Phil Warrick
Hi all, I agree that more control is needed on this ODMG setting. I have another perspective on this. I need to have implicit locking off during read transactions otherwise there is unwanted materialization of proxies. I turn implicit locking on for write transactions, however. This

[FAQ] Re: How to obtain a Broker instance

2003-03-26 Thread Thomas Mahler
Hi Sylvain, In the tutorial1 I followed a very simply scheme. The application is considered to be single threaded. Thus there is only one broker instance created for the whole application. This single instance is passed to the use case objects that are reponsible for implementing the business

[OT] Torque Pre-Populate DB with project-data.xml/.dtd

2003-03-26 Thread Jacob Hookom
Currently, I'm getting a NPE. By examining the OJB src distribution with the ojbtest-data.xml, ojbtest-schema.xml, and ojbtest-data.dtd, I'm having a hard time tying the naming conventions together. The database table for Articles is: artikel The table definition in ojbtest-schema.xml is:

Re: Vertical Inheritance

2003-03-26 Thread Les Hazlewood
Thomas, Thank you so much for a clear answer! You mentioned the release candidate addressing vertical inheritance... Is there any documentation on how this will work? If not, is there internal code documentation that you can direct me to? (I'd be happy to download the source code and poke

Re: Vertical Inheritance

2003-03-26 Thread Les Hazlewood
Les Hazlewood writes: Thomas, Thank you so much for a clear answer! You mentioned the release candidate addressing vertical inheritance... Excuse me, I meant the 1.0 final release. Les - To unsubscribe, e-mail:

Re: Non-Decomposed collections, without implicit locking

2003-03-26 Thread David . Corbin
Please consider this snippet from the ObjectEnvelope#getMap (Revision 1.17). if (items != null) { // items might be a Collection or an array. if (items instanceof Collection)// [A] { /*

RE: setup and list archive problems

2003-03-26 Thread Bonnie MacKellar
OK, after some amount of experimentation, I seem to have honed in on the problem : I can build with the JSDK1.4, but not with the JSDK1.3 In 1.3, the rt.jar does not include javax.sql.DataSource, but it does in 1.4 Now of course, the regression tests are failing. The strange thing is, I get a

Re: Query on composite pattern

2003-03-26 Thread Jakob Braeuchi
hi dariusz, could you please give these classes a try. the path hints is now passed to class descriptor. these classes are based on the latest from repository. jakob Jakob Braeuchi wrote: hi dariusz, you got me wrong. i'd like to combine both a.) and b.) the cast operator looks promising but

Can QueryCustomizer be used to suppress foreign key queries

2003-03-26 Thread Lance Eason
I have a table that may have child records in two other tables. This easy enough to map, I just create the collection-descriptors mapping to the two child tables and OJB issues queries to populate these collections. The wrinkle is that these relationships are only applicable to a small subset

regression test errors

2003-03-26 Thread Bonnie MacKellar
OK, now that I have a build, how do I go about understanding and fixing errors in the regressions tests? My environment : built with JSDK1.4.0_03 DBMS is MSSqlServer2000 JDBC driver is JTurbo 3.0.2 JDBC 2.1 Driver I get several errors in the broker tests : Testsuite:

Re: regression test errors

2003-03-26 Thread Armin Waibel
Hi Bonnie, - Original Message - From: Bonnie MacKellar [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 11:27 PM Subject: regression test errors OK, now that I have a build, how do I go about understanding and fixing errors in the regressions

Re: log4j with jBoss

2003-03-26 Thread Dave Derry
Check in the conf directory of the server that you are using (we use 'default'). You'll find a log4j.xml file there. Just add the entries that you want, and bounce JBoss. - Original Message - From: Phil Warrick [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Wednesday, March