Re: How to design tables that support 50-100K rows?

2008-04-19 Thread Nino Saturnino Martinez Vazquez Wael
Probably could:) James Carman wrote: In Hibernate, couldn't you just use get(Class entityClass, Serializable id) rather than doing the whole uniqueResult() stuff? On Thu, Apr 17, 2008 at 9:09 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: Using jpa you can do it this w

Re: How to design tables that support 50-100K rows?

2008-04-17 Thread PhilipJohnson
s the trouble: http://wicketstuff.org/wicket13/repeater/ Contains nice sample code. Cheers, Philip -- View this message in context: http://www.nabble.com/How-to-design-tables-that-support-50-100K-rows--tp16737855p16754896.html Sent from the Wicket - User mailing list a

Re: How to design tables that support 50-100K rows?

2008-04-17 Thread PhilipJohnson
s work together, and could easily point me to it, I would be very appreciative! Cheers, Philip -- View this message in context: http://www.nabble.com/How-to-design-tables-that-support-50-100K-rows--tp16737855p16746811.html Sent from the Wicket - User mailing list archiv

Re: How to design tables that support 50-100K rows?

2008-04-17 Thread James Carman
In Hibernate, couldn't you just use get(Class entityClass, Serializable id) rather than doing the whole uniqueResult() stuff? On Thu, Apr 17, 2008 at 9:09 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Using jpa you can do it this way: > >private BaseEntity findById(Str

Re: How to design tables that support 50-100K rows?

2008-04-17 Thread Nino Saturnino Martinez Vazquez Wael
Using jpa you can do it this way: private BaseEntity findById(String table, Long id) { Query query = entityManager.createQuery("select p from " + table + " p where p.id=" + id); return (BaseEntity) query.getSingleResult(); } private List findBaseEntity(int

Re: How to design tables that support 50-100K rows?

2008-04-17 Thread gumnaam23
ketch out the > approach for me? > -- View this message in context: http://www.nabble.com/How-to-design-tables-that-support-50-100K-rows--tp16737855p16743554.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: How to design tables that support 50-100K rows?

2008-04-16 Thread Igor Vaynberg
see dataview, idataprovider, and pagingnavigator -igor On Wed, Apr 16, 2008 at 8:00 PM, Philip Johnson <[EMAIL PROTECTED]> wrote: > Greetings, wicket experts, > > I am a newly infatuated wicket developer, and would like to solicit your > advice on the best way to design a table that can support

How to design tables that support 50-100K rows?

2008-04-16 Thread Philip Johnson
Greetings, wicket experts, I am a newly infatuated wicket developer, and would like to solicit your advice on the best way to design a table that can support up to 100,000 rows. Here are my initial thoughts: * Clearly, I don't want to display all of them at once. I am assuming that I will wa