How can I customize the driver/url/login

2008-04-02 Thread Scott Anderson
Is there a way I can customize the driver/url/login information through my application code? I want the user to be able to select the location and login credentials, but the schema is known. I don't want the user to have to write his or her own configuration files and repackage the distributed jar,

Re: Paging in web application

2008-04-02 Thread Michael Gentry
Pretty slick looking app ... but, no iPhone? :-) On Wed, Apr 2, 2008 at 6:25 AM, Malcolm Edgar <[EMAIL PROTECTED]> wrote: > Hi Andrus, > > thanks for the links. Interesting read, I always find it interesting > where performance issues can lie. > > Below is a link to a Cayenne backed applicati

Re: Paging in web application

2008-04-02 Thread Malcolm Edgar
Hi Andrus, thanks for the links. Interesting read, I always find it interesting where performance issues can lie. Below is a link to a Cayenne backed application we developed. Its running on 2.x code base, so I am looking forward to the 3.0 upgrade soon. http://apps.telstra.com/productcenter/

Re: Paging in web application

2008-04-02 Thread Andrus Adamchik
Hi Malcolm, Here they are: (3.0M1) https://issues.apache.org/cayenne/browse/CAY-810 (3.0M4, unreleased) https://issues.apache.org/cayenne/browse/CAY-999 There are also a few other jiras that dealt with proper caching support for paginated lists. Andrus On Apr 2, 2008, at 12:59 PM, Malcolm

Re: Paging in web application

2008-04-02 Thread Robert Zeigler
Andrus did a lot of optimizing... it was in a dev thread awhile ago. Don't remember the specifics offhand, sorry. Robert On Apr 2, 2008, at 4/24:59 AM , Malcolm Edgar wrote: What were the big paging performance improvements in 3.0? regards Malcolm Edgar On Wed, Apr 2, 2008 at 7:27 PM, Robe

Re: Paging in web application

2008-04-02 Thread Malcolm Edgar
What were the big paging performance improvements in 3.0? regards Malcolm Edgar On Wed, Apr 2, 2008 at 7:27 PM, Robert Zeigler <[EMAIL PROTECTED]> wrote: > Typically, you're just going to use a paginated query: > SelectQuery q = new SelectQuery(Artist.class); > q.setPageSize(50);//triggers the

Re: Paging in web application

2008-04-02 Thread Robert Zeigler
Typically, you're just going to use a paginated query: SelectQuery q = new SelectQuery(Artist.class); q.setPageSize(50);//triggers the pagination. You can get the size of the result set without faulting every (or any) object in it, jump to specific objects w/in the query (and only fault the "

Paging in web application

2008-04-02 Thread John Emmanuel
Hi, Is there a best practice for paging in a web application. If so, can somebody please direct me to a demo/article/tutorial. If none is available could somebody just briefly tell me how they incorporated paging in a production webapp. I have read the documentation (which provides examples of