How to use OJB in WebSphere?

2003-10-13 Thread
Hi! I used OJB in Jboss successfully.Now I want deploy OJB and my application to WebSphere,but I can't find any document about using it in WebSphere. Who can help me? Or tell me where can I get some documents about this. Thanks.

[update] addIn() differences between Oracle and Sybase

2003-10-13 Thread Danilo Tommasina
Hi everybody, uh, uh, little updtate to my previous post. I tried to patch OJB to support Sybase IN limitations, the problem is that sybase considers an IN statement as a sequence of ORs and there is a maximum of 250 ORs/ANDs for a single statement. This means that the sum of the elements in

Re: Problem with anonymous keys in 1:n back-mapping (again)

2003-10-13 Thread Brian McCallister
I am looking into it. I presume you are using the PB api based on the auto-* being set. I have an almost identical mapping that works fine, but am using the OTM... I'll play with it against the PB tonight with the auto-* set they way you do and see what I can find. If there is no bug open on

Re: OJB RC4 does not select all objects?

2003-10-13 Thread Guido Beutler
Hi Armin, just another hint, maybe you already know this.. During testing for possible workarounds I ran into a test case for a class without any relationship to other classes (no references, no foreign keys no inheritance, as flat as it could be). This test case works with eager-release=true

Web Service Access

2003-10-13 Thread Cobble, Tim
All, I have successfully deployed and tested my OJB application on JBoss3.2.1. Now, I would like to also expose a web service. I have used axis to aid in this. Everything seems to be fine except. When I attempt to run my Web Service client I get: Unhandled Exception:

postgreSql xslt

2003-10-13 Thread Ryan
Hi, I am using the xsl transformation (pasted below) to convert the repository.xml to SQL for postgre. Maybe someone else using postgre may find it useful... Its not complete and full featured and generalized, but it is better than nothing at all.. :) ?xml version=1.0 encoding=ISO-8859-1?

Re: OJB RC4 does not select all objects?

2003-10-13 Thread Armin Waibel
Hi Guido, On Mon, 13 Oct 2003 15:40:55 +0200, Guido Beutler [EMAIL PROTECTED] wrote: Hi Armin, just another hint, maybe you already know this.. During testing for possible workarounds I ran into a test case for a class without any relationship to other classes (no references, no foreign keys

Re: Proxies and toString

2003-10-13 Thread Edson Carlos Ericksson Richter
Forget: was my mistake (I have created an conversion class and apllyed to the PK: result is unpredictable, very unstable!!!). Best regards, Edson Richter - Original Message - From: Edson Carlos Ericksson Richter To: 'OJB Users List' Sent: Monday, October 13, 2003 11:17 AM Subject:

Re: Problem with anonymous keys in 1:n back-mapping (again)

2003-10-13 Thread Jakob Braeuchi
hi vincent, just to make it clear the attribute 'userId' is null because access is anonymous and no attribute is required in your class. the attribute 'user' should contain an instance of object User. i do have a testcase for this feature and it works. class-descriptor

Re: Incorrect SQL generated

2003-10-13 Thread Jakob Braeuchi
hi wallace, is this a sql-server issue only, or can you reproduce it on hsqldb as well ? jakob Gelhar, Wallace Joseph wrote: I have a model that is as follows: Person Driver (Interface) | | | PersonImpl DriverManaged

Connection Manager Question

2003-10-13 Thread Oscar Quinteros
Hi, I am a new user from the Republic Argentina I have tried to obtain an object Connection the following way: PersistenceBroker broker = null; broker = PersistenceBrokerFactory.defaultPersistenceBroker(); Connection con = broker.serviceConnectionManager().getConnection(); But the compiler

RE: Connection Manager Question

2003-10-13 Thread ron . gallagher
Oscar -- The serviceConnectionManager method has been a part of the PersistenceBroker interface since rev 1.14, 2002/12/24. Is there any chance you have an old copy of the OJB classes in your classpath? Ron Gallagher Atlanta, GA [EMAIL PROTECTED] -Original Message- From: Oscar

How to get SQL statements executed by OJB without using P6Spy

2003-10-13 Thread Zhe Liu
Hi, I want to know the SQL statements executed by OJB, but I don't use ant and cannot run P6Spy. Can anybody tell me whether there is any way to get the real SQL statements? Thanks, Zhe - To unsubscribe, e-mail: [EMAIL

How to bind variables when using QueryBySQL

2003-10-13 Thread Zhe Liu
Hi, I understand that if I want to perform my own SQL queries in OJB, I can use QueryBySQL. But in order to use that, I have to pass the whole constructed SQL statement. I am wondering whether there is a way to pass prepare statement so that I can bind variables for different criteria? Thanks,

outer join

2003-10-13 Thread Zhe Liu
Hi, I cannot make outer join work for the following query by setPathOuterJoin: select * from company, users where company.companyid = users.companyid (+) Could anybody tell me what's the right way to do that? Table schema and repository definations are attached. Thanks, Zhe

Field Descriptor Order

2003-10-13 Thread Eric Northam
The field-descriptor element has the following comments in the repository.dtd: bThe id attribute is optional./b If not specified, OJB internally sorts field-descriptors according to their order of appearance in the repository file. If a different sort order is intended the id attribute may be