• 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: blobArray prototype
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: blobArray prototype


  • Subject: Re: blobArray prototype
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 26 Jul 2011 15:17:00 -0700

On Jul 26, 2011, at 2:52 PM, Michael Gargano wrote:

> Hi,
>
> 	Anyone using blobArray prototypes anywhere?  I'm getting this error on a PostgreSQL DB...
>
> er.transaction.adaptor.Exceptions - Database Exception occured: com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodException] Class er.prototypes.ValueConversion does not implement method blobArray:java.lang.NoSuchMethodException: Class er.prototypes.ValueConversion does not implement method blobArray
>
> Any suggestions?
>
> Thanks.
> -Mike

I'm not using it, but I wrote and tested it against Postgresql and H2.  It worked when I put it together.

Two things to check... Make sure the ERAttributeExtension is ahead of the JavaEOAccess framework on your classpath.  If you do that, you should be able to set a breakpoint in adaptorValueByConvertingAttributeValue to figure out what's going on.

Two, make sure the prototype matches what's in the Wonder repository. If you make a change in entity modeler and save, it can wipe out data it doesn't understand from the reimplemented EOAttribute.  I have a patched version of WOLips that handles this, but I don't have a way to make the build available publicly.

Also, not your current problem, but if you're using postgres 9+ you need to adjust your bytea_output when you create your database for anything bytea to work properly:

http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Frameworks-PostgresqlPlugin

Ramsey

 _______________________________________________
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: blobArray prototype
      • From: Michael Gargano <email@hidden>
References: 
 >blobArray prototype (From: Michael Gargano <email@hidden>)

  • Prev by Date: blobArray prototype
  • Next by Date: Re: Lion and WO
  • Previous by thread: blobArray prototype
  • Next by thread: Re: blobArray prototype
  • Index(es):
    • Date
    • Thread