--- Leon Messerschmidt <[EMAIL PROTECTED]> wrote:
> Hi
>
> Is there somebody out there that knows Oracle well
> enough to help me with this? Does this mean I need
> to handle long strings (>4000
> characters) as blocks of raw binary data?
You don't have to use binary. But I don't know of any
problem with using it. With binary, you can have
embeded null chars. I used binary for storing MS rtf
without problems not realizing that rtf is strictly
text.
> If this
> is the case how do go about using BasePeer? The
> only time BasePeer actually adds
> a byte-array is when the Database Map has a field of
> type Hashtable. Maybe we can add a type
> StringBuffer that gets written out as
> a byte-array.
I think what's missing here is a way to describe data
conversion from class type to sql (external) type.
For example, you might have boolean in the java class
which you want to represent as char data in the dbms.
I borrowed Castor's code for data conversions in OPL.
It's in package net.sourceforge.opl.castor. The
original source is in
org.exolab.castor.mapping.loader.
The idea for data convertors in described in a UIUC
paper titled "Connecting Business Objects to
Relational Databases". It's coauthored by Ralph
Johnson. I'll hunt for the url if anyone's
interested.
- george
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]