openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
Subject Re: left join fetch with long text fields
Date Thu, 05 Nov 2009 16:59:46 GMT
On Thu, Nov 5, 2009 at 11:52 AM, Daryl Stultz <daryl@6degrees.com> wrote:

> slow. Is there some way to annotate this field so it is always retrieved in
> the main query? Do I need to put a real limit on it? What would that be?
>
> Setting
length = 1000000000
seems to do the trick (leaving database column as varchar(0)). A billion
characters ought to be enough for my purposes (if JPA does any checking),
but I still wonder if there's a better way.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:daryl@6degrees.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message