TEXT Data Type - Mailing list pgsql-jdbc

From Sagine E.Ferrus
Subject TEXT Data Type
Date
Msg-id 20021119170028.995E240AE@sitemail.everyone.net
Whole thread Raw
List pgsql-jdbc
Hi im using version 7.2, and im trying to insert very large strings into the TEXT field but i keep getting: parser
error"000"; 
I noticed i get that error when the string is over 50-60 characters long, I thought the TEXT feild had no limit. Here
ismy code: 

String sqlStr = "INSERT INTO news_articles VALUES
                  ("'"+author+"', '"+title+"', '"+TheLargeString+"')";
PreparedStatement pstmt = con.prepareStatement(sqlStr);
pstmt.executeUpdate();

thanks in advance for the help
Sagine

_____________________________________________________________
Visit our Caribbean Community at http://www.islanderonline.com

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag

pgsql-jdbc by date:

Previous
From: Felipe Schnack
Date:
Subject: more about setDefault()
Next
From: Barry Lind
Date:
Subject: Re: default values