openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: DBDictionary appendSelectRange
Date Sun, 28 Jun 2009 21:25:39 GMT
No objection from me (sorry for the late response, trying to catch up on
email over the weekend).

-mike

On Sat, Jun 27, 2009 at 3:49 AM, MiƂosz Tylenda <mtylenda@o2.pl> wrote:

> Alan,
>
> It is my understanding that the main difficulty you have with range in
> Ingres is that that database requires "FIRST n" and "OFFSET m" in different
> parts of SELECT statement and OpenJPA supports only the cases where such
> clauses are located next to each other.
>
> I am OK with making toOperation method protected. Will change it in trunk
> and 1.3.x if other committers have no objections.
>
> Regards,
> Milosz
>
> > Hi all
> >
> >
> >
> > I've just found out that Ingres now supports an "offset" for SELECT
> > statements; SELECT FIRST n FROM table OFFSET m;
> >
> >
> >
> > Looking at the appendSelectRange method, it doesn't look like I can put
> > the "offset" keyword after the FROM clause, so I will need to override
> > the toOperation method - except that the toOperation method which does
> > the work is private, so I would need to override every toOperation
> > method in order for it to be called.
> >
> >
> >
> > Any ideas why this method is private?  Could it be relaxed to protected?
> >
> >
> >
> > Alan
> >
> >
> >
> >
>

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