A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Joined: Mar 26, 2012
Apr 18, 2012 08:02:50
how to remove this error
caught: Incorrect decimal value: '' for column 'QUANTITY' at row 1
Joined: Jan 08, 2009
Apr 18, 2012 08:18:37
You need to give some more detail about your code.
Joined: Oct 21, 2008
Apr 18, 2012 08:25:05
well what is the value you are trying to insert into the quantity column? is it a valid number?
check the parameters you are getting. Put some system outs and use a debuggable prepared statement so you can actually see what you are trying to insert.
William P O'Sullivan
Joined: Mar 28, 2012
Apr 18, 2012 08:25:50
You need to ensure that the
attribute type matches the expected column definition.
In this case it seems that QUANTITY is expecting a decimal (numeric) value.
Maybe you are trying to insert a
Again, more information would help.
print statement in the declaration ...
WA #1.....word association
problem in retreiving value
Getting error in setupConnection()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015