Re: Custom array column types in EO model
Re: Custom array column types in EO model
- Subject: Re: Custom array column types in EO model
- From: Paul Hoadley via Webobjects-dev <email@hidden>
- Date: Thu, 3 Nov 2022 15:29:51 +1030
- Feedback-id: i671c40f3:Fastmail
Hi Ramsey,
On 2 Nov 2022, at 17:55, Ramsey Gurley <email@hidden> wrote:
> I can't say I remember, but if you look in
> adaptorValueByConvertingAttributeValue on EOAttribute in
> ERAttributeExtension, there's a bit at the end of the method where I let the
> date types slide by to support Joda dates. You may have to add support for it
> there, as that is where your exception appears to be emanating from.
Yeah, I got as far as seeing the origin of the exception there. As a quick
brute-force test, I commented that entire section out, but it didn't help:
2022-11-03 04:54:48.875 INFO er.transaction.adaptor.Exceptions - Database
Exception occured: com.webobjects.eoaccess.EOGeneralAdaptorException: Unable to
create a byte representation for class
"net.logicsquad.woextensions.eof.PostgresqlTextArray"
2022-11-03 04:54:48.883 ERROR er.extensions.appserver.ERXApplication - Juno
failed to start.
EOGeneralAdaptorException: Unable to create a byte representation for class
"net.logicsquad.woextensions.eof.PostgresqlTextArray"
I'm not sure who is complaining here, or why. Is this the JDBC adapter telling
me that it doesn't know what to do with PostgresqlTextArray, which is a quick
and dirty implementation of java.sql.Array I copy-pasted off the web?
--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden