Using just Mysql, Velocity, Torque, & Turbine - in an InsertAction the following worked:
public void doPerform(RunData data, Context context){ People body = new People(); data.saveParameters.setProperties(body); body.save(); }
until I added a column:
<column name="hiredate" type="DATE">
and now I get a message that BaseValueParser can't convert "xxxxx" to a
date followed by a Stack trace for a null pointer - I've tried various
formats & it doesn't like any. I've added methods to the People object and gotten the system to display data once inserted, but I can't get input to work.
What is the simplest way to get this working with a Date? Do I have to
bring Intake service into the picture or is there some fairly simple way
to create a SimpleDateFormat and install it somewhere in the environment? Does this relate to the "Boolean gotcha" mentioned in a response a little while ago?
I anticipate a similar problem with BLOBs - this application will involve significant chunks of text. Some may be uploaded & saved as files, but 255 characters won't cut it for various items which are likely to be created during some user's sessions.
Thanks, in advance, for any suggestions.
Rankin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]