RE: Transaction Isolation Level

2004-09-16 Thread Frank Renaers
omething like this UnitOfWork PersitenceBroker getCurrentBroker(){ return (PersitenceBroker) threadLocal.get(); } boolean isBegun(){ PersitenceBroker pb = getCurrentBroker(); return pb==null ? false : pb.isInTransaction(); } > -----Original Message- > From: Fr

RE: Transaction Isolation Level

2004-09-16 Thread Frank Renaers
Hi, We are also using a thin layer above the OJB layer. How do you check whether a transaction is active (isBegun()??) Thanks, Frank Renaers Ikan Software -Original Message- From: Charles Anthony [mailto:[EMAIL PROTECTED] Sent: donderdag 16 september 2004 9:30 To: 'OJB Users

RE: Transaction Isolation Level

2004-09-16 Thread Frank Renaers
Sent: woensdag 15 september 2004 19:04 To: OJB Users List Subject: Re: Transaction Isolation Level Hi Frank, Frank Renaers wrote: > Hi, > > > > We are using the low level PersistenceBroker API (Version 1.0.0). > > Is there a way to specify the database transaction isolatio

Transaction Isolation Level

2004-09-15 Thread Frank Renaers
Hi, We are using the low level PersistenceBroker API (Version 1.0.0). Is there a way to specify the database transaction isolation level ? Thanks, Frank Renaers Ikan Software

SequenceManagerHighLowImpl question

2004-08-26 Thread Frank Renaers
= 'SEQ_ARTICLE' AND FIELDNAME = 'deprecatedColumn' AND VERSION = '512' Why does the where clause contains 'FIEDNAME = 'deprecatedColumn' ??? Thanks, Frank Renaers Ikan Software - Belgium

RE: Problems upgrading OJB1.0rc4 -> OJB1.0.0

2004-08-25 Thread Frank Renaers
my collection proxy (returned by retrieveAllReferences), was replaced by the results of a database select. Greetings, Frank Renaers Ikan Software - Belgium -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: dinsdag 24 augustus 2004 17:44 To: OJB Users List Subject:

Problems upgrading OJB1.0rc4 -> OJB1.0.0

2004-08-24 Thread Frank Renaers
select. Does someone have a solution for this ? Thanks, Frank Renaers Ikan Software - Belgium

Oracle and case-insensitive search

2004-08-20 Thread Frank Renaers
Hi, In Oracle a search on a string (Criteria.addLike) seems to be Case Sensitive. How do you guys solve this problem. In MsSql and MySql a Criteria.addLike is not case sensitive ! Thanks, Frank Renaers

MSSQL and CLOB

2004-08-19 Thread Frank Renaers
at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery( Unknown Source) Does someone have a solution for this ? Thanks, Frank Renaers Ikan Software

OJB - Torque - Incremental sql

2004-04-23 Thread Frank Renaers
Hi, We are using Torque to describe our database schema. We are looking now for a tool which compares 2 Torque schemas (the old and the new one) and generates incremental sql. Does this already exists ? Thanks, Frank Renaers Ikan Software

Platform setting and Datasource

2004-04-08 Thread Frank Renaers
.xml. (i.e. change our WAR file!) Is there a workaround for this ? Is it possible to set the platform setting at runtime based on the specified driver name ? Thanks, Frank Renaers - Ikan Software

Strange behaviour of PersistenceBroker.retrieveAllReferences(obj);

2004-03-19 Thread Frank Renaers
) business validations 3) insert -- Expected behaviour -- 1) retrieveAllReferences 2) business validations 3) insert ( + GENERATING THE NEW OID) Thanks, Frank Renaers - Ikan Software Belgium

Upgrade form 0.9.5 to 1.0rc4 : wildcard problems

2003-12-04 Thread Frank Renaers
Hi, In version 0.9.5 it was possible to use wildcards in where-criteria. Example : criteria.addEqualTo("productGroup.groupName","pro*gro?p 1"); This seems not to work anymore in 1.0rc4 ? Is it a bug ? Thanks, Frank

RE: Upgrade form 0.9.5 to 1.0rc4 : foreign key problem

2003-12-04 Thread Frank Renaers
The name of the method is : broker.retrieveAllReferences() Frank -Original Message- From: Graham Lounder [mailto:[EMAIL PROTECTED] Sent: woensdag 3 december 2003 15:13 To: 'OJB Users List' Subject: RE: Upgrade form 0.9.5 to 1.0rc4 : foreign key problem Hey Wally, So if I call broker.re

RE: Upgrade form 0.9.5 to 1.0rc4 : foreign key problem

2003-12-03 Thread Frank Renaers
his ? I hope so, otherwise we have to 'lookup' each foreign key property before storing it in the database. (Performance!!!) Greetings, Frank -Original Message- From: Frank Renaers [mailto:[EMAIL PROTECTED] Sent: woensdag 3 december 2003 10:37 To: [EMAIL PROTECTED]; [EMAIL PROTE

Upgrade form 0.9.5 to 1.0rc4 : foreign key problem

2003-12-03 Thread Frank Renaers
icleName("ARTICLE " + j); ar.setProductGroupId(pg.getGroupId()); ---> NOT stored in the database broker.store(ar); } Is this a bug ? Thanks, Frank Renaers

OJB returns 'false' for empty 'bit' fields

2003-11-15 Thread frank . renaers
Hi, We are using OJB version 0.9.5.1 . Does someone know why OJB returns 'false' for a Boolean field (Bit) which is null in the database ???? Frank Renaers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: ojb and mssql and clob

2003-09-30 Thread frank . renaers
Hi, I wrote a unit test and everything seems to work well. CLOB and mssql : - Java datatype : String - Jdbc datatype : LONGVARCHAR - Column datatype : TEXT When I use the CLOB jdbc datatype, the insert works, but a read causes a SQLException. Greetings, Frank Renaers > -Origi

ojb and mssql and clob

2003-09-29 Thread frank . renaers
Hi OJB Users, We are using a mssql database. I would like to store a log file in a database table. What's the best way to handle CLOBS with OJB ? Thanks for your help, Frank Renaers - To unsubscribe, e-mail: [EMAIL PROT