OJB with iBatis / JasperReports

2007-02-09 Thread Christopher Cheng
I've been using OJB for over 3 years. Except for performance problem, the others are fine. For perforamance related actions, I use either reportQuery or SQL, so the performance is not a major issue. Product updates seems to be more often with Hibernate. The latest update of OJB 1.0.4 was releas

preventing foreign key to set to null

2007-01-30 Thread Christopher Cheng
It seems that if set "auto-retrieve" to false for foreign key object, when I call broker.store(), it will also set the foreign key to null also! Supposing I have 2 tables Checks and CheckBooks As I call broker.retrieveObject, the checkbook attribute is null

in-direction table problem

2006-07-26 Thread Christopher Cheng
I have a problem with the indirection table mapping. Supposing that I set the auto-update to false, when I store the project object with "broker.store(project)", will the indirection table being updated? My experiment shows that it doesn't. However, if I set auto-updat

How can I insert a null value into an int field?

2006-02-16 Thread Christopher Cheng
I am using SQL Server 2000 and I want to insert a null value into a field instead of 0. How could I do that in OJB? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How can I insert a null value into an int field?

2006-02-16 Thread Christopher Cheng
I am using SQL Server 2000 and I want to insert a null value into a field instead of 0. How could I do that in OJB? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to map ntext of SQL Server 2000?

2005-10-20 Thread Christopher Cheng
enerated by OJB) and the used OJB version? regards, Armin Christopher Cheng wrote: > Hi all, > > > > I have a problem to map "ntext column type" in SQL Server 2000 in OJB > > > > > name="remarks" > > column="r

How to map ntext of SQL Server 2000?

2005-10-17 Thread Christopher Cheng
Hi all, I have a problem to map "ntext column type" in SQL Server 2000 in OJB I tried CLOB, BLOB and VARBINARY already and I have the following error: Caused by: org.apache.ojb.broker.PersistenceBrokerSQLException: SQLException during the execution of the query (for com.mycompany.m

looking for a tool to transform ojb schema to xdoc

2005-09-05 Thread Christopher Cheng
I am looking for a tool or XLS schema to transform ojb schema file to xdoc format to put in Maven. Is there such a thing?

RE: Broker pool size

2005-06-30 Thread Christopher Cheng
I want to monitor that too! What's the class name and how do we use it? -Original Message- From: Martin Kalen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 3:31 PM To: OJB Users List Subject: Re: Broker pool size Leeuwen, E.W.A. (Ed) van wrote: > We have some problems with the

RE: java.lang.NullPointerException after calling getCollectionFromQuery()

2005-06-09 Thread Christopher Cheng
-- From: Martin Kalen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 10:03 PM To: OJB Users List Subject: Re: java.lang.NullPointerException after calling getCollectionFromQuery() Christopher Cheng wrote: > I found the following exception after running the web application for

RE: java.lang.NullPointerException after calling getCollectionFromQuery()

2005-06-09 Thread Christopher Cheng
-- From: Martin Kalen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 10:03 PM To: OJB Users List Subject: Re: java.lang.NullPointerException after calling getCollectionFromQuery() Christopher Cheng wrote: > I found the following exception after running the web application for

java.lang.NullPointerException after calling getCollectionFromQuery()

2005-06-09 Thread Christopher Cheng
I have been using OJB since 0.99. After I’ve upgraded to OJB 1.0.3, I found the following exception after running the web application for days. After the following exception has been thrown, OJB seems to have problems retrieving references such as returning null objects but without exception.

java.lang.NullPointerException after calling getCollectionFromQuery()

2005-06-09 Thread Christopher Cheng
I have been using OJB since 0.99. After I’ve upgraded to OJB 1.0.3, I found the following exception after running the web application for days. After the following exception has been thrown, OJB seems to have problems retrieving references such as returning null objects but without exception.

specifing the location of repository.xml

2003-03-12 Thread Christopher Cheng
How could I specify the path of repository.xml? OJB.properties says that it would look up in the classpath. I would like to put those files in /WEB-INF/conf/ instead of /WEB-INF/classes.

org.apache.ojb.broker.util.sequence.SequenceEntry in OJB.properties

2003-03-04 Thread Christopher Cheng
I was trying to upgrade from 0.9.6 to 1.0rc1. When I startup the webapp, it give me the following error [BOOT] ERROR: Error in instantiation of PersistenceBrokerFactory class Could not read repository class descriptor data, using repository: repository.xm l: Class org.apache.ojb.broker.util.s