A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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.
I agree. Here's the link:
Getting Error :HTTP Status 405 - HTTP method GET is not supported by this URL
Simple login form project - all attributes are null and HTTP Status 404 error in some cases
want help in JTable
Calculate sum in jtable and display the sum in jtextfield
passing the value from a variable to mysql
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015