Re: Storing serialized object in MySql Database

2020-08-11 Thread Don Lindsay via Webobjects-dev
I fixed it, thanks for talking me through it. I just covered it to NSData > On Aug 11, 2020, at 09:30, Jesse Tayler wrote: > > Well, I’m sure there is validation for JSON since that has issues with format > and encodings, so I’d expect some of that sort of thing here. > > I don’t really see

Re: Storing serialized object in MySql Database

2020-08-11 Thread Jesse Tayler via Webobjects-dev
hmmm…what’s your model look like? Or how are you setting up the storage of that data? Sounds like you want a string and might watch the encoding of it before storage — It sounds perhaps like this error could occur because your data types are mismatched in a way that results in a validation

Re: Storing serialized object in MySql Database

2020-08-11 Thread Don Lindsay via Webobjects-dev
Hello; I am not using JSON here, I certainly could but that is not what the customer has requested. They want serialized Java Objects, not Java Script Object Notation. Java Serialized objects are byte arrays, much like a stream of file contents read from a disk with Reader object. I have

Re: Storing serialized object in MySql Database

2020-08-11 Thread Jesse Tayler via Webobjects-dev
Well, I’m sure there is validation for JSON since that has issues with format and encodings, so I’d expect some of that sort of thing here. I don’t really see the value or whatever expected type, so I’d find that value that breaks it and test it — One thing I wonder is about text encoding, are

Re: Storing serialized object in MySql Database

2020-08-11 Thread Don Lindsay via Webobjects-dev
The value entered for Serial is not a valid ?. ERXVaidationException I have setup no Validation, so it must be Wonder or WebObjects base validation that is throwing the error > On Aug 10, 2020, at 18:20, Jesse Tayler wrote: > > Did you list your error? > >> On Aug 10, 2020, at 6:08 PM, Don