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
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
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
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
= 'SEQ_ARTICLE' AND FIELDNAME = 'deprecatedColumn' AND
VERSION = '512'
Why does the where clause contains 'FIEDNAME = 'deprecatedColumn' ???
Thanks,
Frank Renaers
Ikan Software - Belgium
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:
select.
Does someone have a solution for this ?
Thanks,
Frank Renaers
Ikan Software - Belgium
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
at
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(
Unknown Source)
Does someone have a solution for this ?
Thanks,
Frank Renaers
Ikan Software
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
.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
) business validations
3) insert
-- Expected behaviour --
1) retrieveAllReferences
2) business validations
3) insert ( + GENERATING THE NEW OID)
Thanks,
Frank Renaers - Ikan Software Belgium
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
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
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
icleName("ARTICLE " + j);
ar.setProductGroupId(pg.getGroupId()); ---> NOT stored in the
database
broker.store(ar);
}
Is this a bug ?
Thanks,
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
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
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
19 matches
Mail list logo