Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6534687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:16:50+00:00 2026-05-25T10:16:50+00:00

I am testing a Ext JS application (Client Side) and Play Framework (Service Side).

  • 0

I am testing a Ext JS application (Client Side) and Play Framework (Service Side).
I am using a grid in Ext JS with pagination.

The pagination part requires to send URL Query Parameters to my Play! server. This is no big deal, but how to process these parameters in the SQL Statement??

Example:

First request:

http://myDomain:9000/GetUsers?_dc=123456789&page=1&start=0&limit=25

Second reqeust:

http://myDomain:9000/GetUsers?_dc=123456789&page=2&start=25&limit=25

My thoughts:
Normally in SQL you can set the TOP results:

SELECT TOP 25 FROM USERS

But how to translate the second request into a Sql query?

Thank you for taking time to help me out!

======>>
EDIT: I am developing on SQL Server 2008, but I want this working on Sql Server 2005 or higher and Oracle 9 and higher 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:16:50+00:00Added an answer on May 25, 2026 at 10:16 am

    Since you’re using the Play! framework, what you should do is have a proper model, with entities representing your SQL tables. Then receiving a range of results is built in:

    // 25 max users start at 25
    List<User> users = User.all().from(25).fetch(25);
    

    You should also look at the pagination module. I haven’t tested it, but it looks like exactly what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using Ext JS to build a relatively complex web application for
Testing UI is difficult. What do you think is the best unit testing framework
I'm automating the manual testing of some Web Application. This app uses a lot
I have following structure of web application, for which I'm automating testing: <em unselectable=on
Testing part of a form. So, right now I just want to alert what
Testing on local Web Development Server and running the application in shared hosting environment
I am testing with Extjs demo. http://ext.ensible.com/deploy/dev/examples/calendar/remote.html How i can display 2weeks as a
With Padrino, I created a project with Shoulda as a testing framework. I then
I am using Ext.data.Store to call a PHP script which returns a JSON response
Testing an application built with iphone's sdk 3.0. Based on experience, I know that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.