Re: blobArray prototype
Re: blobArray prototype
- Subject: Re: blobArray prototype
- From: Michael Gargano <email@hidden>
- Date: Fri, 29 Jul 2011 07:54:26 -0700
- Acceptlanguage: en-US
- Thread-topic: blobArray prototype
Hi Ramsey,
Finally got back around to trying this out after a 3 day detour through the "land of unpleasantness". It was a library issue. Perfect! Thanks!
-Mike
On Jul 26, 2011, at 6:17 PM, Ramsey Gurley wrote:
>
> 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