Some changes:
Nissim wrote:
>
> The proposal is to add the following:
>
> In Criteria:
> public void setLimit(int n)
Would it be bad to make it public Criteria setLimit(int n) which would
return this?
> In DB:
> public abstract boolean supportsLimit()
I made this not abstract, and it returns false, so only subclasses which
need to return true have to implement it.
> public boolean getLimitStyle()
I meant public int.
> In Query:
> public setTop(String top)
> public setLimit(String limit)
> change toString to build the new words into the query if necessary
I put in get methods for limit and top as well...
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]