This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi, Thanks in advance. Can any one pls help me in this problem. I am trying to get a very large String from foxpro db(connected using JDBCODBC DRIVER)and trying to insert this string in sql table,using preparedStatement method setString.But sql is not allowing to insert this much big string.Simply raising null pointer exception.I could able retrieve the string from foxpro.Inserting to sql is the problem Thanks Riya
hi, maybe the reason is just that VARCHAR is limited to 255 chars while TEXT is unlimited (in some sort - i mean: i don't know what's its limit ;-) ). so if your setting the datatype to some varchar thing, change it to TEXT. (sorry, if thats way out of the range of your question, you didn'tspecify any size.) chantal
Joined: Oct 20, 2001
destination datatype is text of length 16 only.not varchar. The length of the string is 2048618. This much big string sql is not allowing to insert.