• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom array column types in EO model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Custom array column types in EO model
      • From: Ramsey Gurley via Webobjects-dev <email@hidden>
References: 
 >Custom array column types in EO model (From: Paul Hoadley via Webobjects-dev <email@hidden>)
 >Re: Custom array column types in EO model (From: Ramsey Gurley via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Custom array column types in EO model
  • Next by Date: Re: Custom array column types in EO model
  • Previous by thread: Re: Custom array column types in EO model
  • Next by thread: Re: Custom array column types in EO model
  • Index(es):
    • Date
    • Thread