db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: New Clob/Blob functionality
Date Mon, 08 May 2006 11:45:46 GMT
Hi,

I currently checked in fixes for the posted compilation errors. Please 
check out latest version from SVN OJB_1_0_RELEASE branch. If you don't 
use OJB's ant targets to compile the sources don't forget to run
'ant preprocess'
to prepare sources for use with JDK1.3.

regards,
Armin

Chiah Tong Kiat wrote:
> Compilation errors for JDK1.3
> 
> main-opt:
>     [javac] Compiling 356 source files to C:\Codes\c\target\classes
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\BlobHandle.java:71:
> cannot resolve symbol
>     [javac] symbol  : method truncate  (long)
>     [javac] location: interface java.sql.Blob
>     [javac]         blob.truncate(len);
>     [javac]             ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\BlobHandle.java:83:
> cannot resolve symbol
>     [javac] symbol  : method setBytes  (long,byte[])
>     [javac] location: interface java.sql.Blob
>     [javac]         return blob.setBytes(pos, bytes);
>     [javac]                    ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\BlobHandle.java:89:
> cannot resolve symbol
>     [javac] symbol  : method setBytes  (long,byte[],int,int)
>     [javac] location: interface java.sql.Blob
>     [javac]         return blob.setBytes(pos, bytes, offset, len);
>     [javac]                    ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\BlobHandle.java:107:
>  cannot resolve symbol
>     [javac] symbol  : method setBinaryStream  (long)
>     [javac] location: interface java.sql.Blob
>     [javac]         return blob.setBinaryStream(pos);
>     [javac]                    ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\ClobHandle.java:73:
> cannot resolve symbol
>     [javac] symbol  : method truncate  (long)
>     [javac] location: interface java.sql.Clob
>     [javac]         clob.truncate(len);
>     [javac]             ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\ClobHandle.java:85:
> cannot resolve symbol
>     [javac] symbol  : method setAsciiStream  (long)
>     [javac] location: interface java.sql.Clob
>     [javac]         return clob.setAsciiStream(pos);
>     [javac]                    ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\ClobHandle.java:97:
> cannot resolve symbol
>     [javac] symbol  : method setCharacterStream  (long)
>     [javac] location: interface java.sql.Clob
>     [javac]         return clob.setCharacterStream(pos);
>     [javac]                    ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\ClobHandle.java:109:
>  cannot resolve symbol
>     [javac] symbol  : method setString  (long,java.lang.String)
>     [javac] location: interface java.sql.Clob
>     [javac]         return clob.setString(pos, str);
>     [javac]                    ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\lob\ClobHandle.java:115:
>  cannot resolve symbol
>     [javac] symbol  : method setString  (long,java.lang.String,int,int)
>     [javac] location: interface java.sql.Clob
>     [javac]         return clob.setString(pos, str, offset, len);
>     [javac]                    ^
>     [javac]
> C:\Codes\c\target\src\org\apache\ojb\broker\platforms\PlatformDefaul
> tImpl.java:595: cannot resolve symbol
>     [javac] symbol  : method locatorsUpdateCopy  ()
>     [javac] location: interface java.sql.DatabaseMetaData
>     [javac]                 locatorsUpdateCopy =
> con.getMetaData().locatorsUpdateCopy() ? Boolean.TRUE : Boolean.FALSE;
>     [javac]                                                     ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 10 errors
> 
> -----Original Message-----
> From: Armin Waibel [mailto:arminw@apache.org] 
> Sent: Friday, May 05, 2006 6:04 PM
> To: OJB Developers List
> Subject: Re: New Clob/Blob functionality
> 
> Hi,
> 
> Chiah Tong Kiat wrote:
>> Hi
>>  
>> For the recently commits to support Clob/Blob functionality
>>  
>> The following classes
>> 1) org.apache.ojb.broker.lob.BlobHandle
>> 2) org.apache.ojb.broker.lob.ClobHandle
>> 3) org.apache.ojb.broker.platforms.PlatformDefaultImpl
>>  
>> Have having problems compiling in JDK 1.3.  Does that means that OJB
>> 1.0.X is officially dropping support for JDK 1.3 now?
>>
> 
> No, JDK 1.3 is still supported in upcoming OJB 1.0.5.
> I locally doesn't use JDK 1.3 for development (only 1.4 and 1.5). If you
> 
> have a compiling problem please report it on dev-list, then I will try 
> to fix it ASAP.
> 
> regards,
> Armin
> 
> 
>> Thanks
>> tongkiat
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message