tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <>
Subject Re: whatsup - sql:param values are mysteriously null
Date Fri, 17 Jun 2005 03:32:54 GMT
On 6/16/05, Gokhan <> wrote:
> ERROR: null value in column "testnumber_id" violates not-null constraint
> Because nothing inside of this lovely testnumber variable.
> If i could have type conversion error i would be really happy, but i
> have null.

I guess you've tried the simplest way?

<sql:update dataSource="jdbc/zobarenk">
  insert into test_table (testnumber_id) values (?)
  <sql:param value="${param.testnumber}"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message