empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis De Brabandere (JIRA)" <empire-db-...@incubator.apache.org>
Subject [jira] [Commented] (EMPIREDB-107) Limit function for postgres sql not implemented
Date Wed, 13 Apr 2011 14:01:07 GMT

    [ https://issues.apache.org/jira/browse/EMPIREDB-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019337#comment-13019337
] 

Francis De Brabandere commented on EMPIREDB-107:
------------------------------------------------

I'll take care of this

http://www.postgresql.org/docs/7.3/static/queries-limit.html

> Limit function for postgres sql not implemented
> -----------------------------------------------
>
>                 Key: EMPIREDB-107
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-107
>             Project: Empire-DB
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: empire-db-2.1.0-incubating
>         Environment: Windows 7 + postgres sql (9.0) + Netbeans
>            Reporter: jazia jaballah
>
> I'm using postgres sql as database server and i want to use limitRows function like below
:
> DBCommand cmd = dataBase.createCommand();
>         Users users = dataBase.getUsers();
>         cmd.select(users.getConnectionTime());
>         cmd.orderBy(users.getConnectionTime());
>         cmd.limitRows(100);
> But i'm getting this exception : 
> org.apache.empire.db.postgresql.DBDatabaseDriverPostgreSQL$DBCommandPostreSQL: The function
limitRows is not supported

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message