We have the same problem with DB2, no problems with MS SQL or Oracle.  Long
strings are truncated to 254 characters.  I have verified this is NOT an
IBM DB2 JDBC 2 driver problem (I can save strings with more than 254
characters using plain prepared statements).  Does anyone know where the
problem is?

Henry Yuen



                                                                                       
                        
                      "Steven Huang"                                                   
                        
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]         
                        
                      a>                       cc:                                     
                        
                                               Subject:  [castor-dev] Long string 
problem                      
                      12/05/02 08:43 AM                                                
                        
                      Please respond to                                                
                        
                      castor-dev                                                       
                        
                                                                                       
                        
                                                                                       
                        





Hi All,

When a long string (longer than 255 characters) is stored into DB2 with
varchar type in both Mapping.xml and table field through  the Castor JDO
v9.4.1, it seems the string is truncated to 254 characters. But string in
Java and VARCHAR in DB2 can be longer than 254. Could someone tell what's
the problem?

Thanks,

Steven




If you received this e-mail in error please delete it and notify the sender as soon as 
possible. The contents of this e-mail may be confidential and the unauthorized use, 
copying, or dissemination of it and any attachments to it, is prohibited.

Internet communications are not secure and Hyperion does not, therefore, accept legal 
responsibility for the contents of this message nor for any damage caused by viruses. 
The views expressed here do not necessarily represent those of Hyperion.

For more information about Hyperion, please visit our Web site at www.hyperion.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to