On Oct 6, 2010, at 12:38 PM, Jeffrey Simpson wrote:

> The database that I am working with is DB2.  I have a very old plugin.  I 
> plan on writing a new plugin and submitting it to Wonder.  With that said,  I 
> ran into a problem with a column defined as a Long Varchar.  When I batch 
> fetch the entity with the long varchar the Sql that is generated includes a 
> distinct and you can not distinct a long varchar.  Is there someway to tell 
> EOF not to distinct an entity with a long varchar in it?  When I do rewrite 
> our plugin do I need to do something special to handle the cases of long 
> varchars?

My guess is that you will need to do something special to handle this case.

Chuck

> 
> I did notice that ERXSQLHelper has shouldPerformDistinctInMemory but as far 
> as can see it is never called.
> 
> 
> Thanks.
> 
> 
> Jeffrey Simpson
> Senior Software Engineer
> Telephone: 240.235.2144
> Fax: 240.235.2174
> simp...@yfu.org
> 
> Youth For Understanding (YFU) prepares young people for their 
> responsibilities and opportunities in a changing, interdependent world.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to