Re: tapestry-func on large dataset

2011-10-19 Thread Richard Yunhua Sang
. Thanks, Richard On Wed, Oct 19, 2011 at 2:40 AM, Howard Lewis Ship hls...@gmail.com wrote: I'm curious what Guava (the google Java functional programming library) does in this situation? I'm not sure they even try for laziness. On Tue, Oct 18, 2011 at 5:57 PM, Richard Yunhua Sang yunhua.s

Re: tapestry-func on large dataset

2011-10-18 Thread Richard Yunhua Sang
Oct 14, 2011 at 4:49 PM, Howard Lewis Ship hls...@gmail.com wrote: On Fri, Oct 14, 2011 at 1:22 PM, Richard Yunhua Sang yunhua.s...@gmail.com wrote: Tapestry 5 version: 5.3-beta19 I love the API of tapestry-func, Today when I use tapestry-func to process a file with 3 million lines, I

tapestry-func on large dataset

2011-10-14 Thread Richard Yunhua Sang
Tapestry 5 version: 5.3-beta19 I love the API of tapestry-func, Today when I use tapestry-func to process a file with 3 million lines, I get following exception: Exception in thread main java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3209) at

tapestry-jpa: JpaGridDataSource sort by a transient field

2011-07-11 Thread Richard Yunhua Sang
Hi there, I am using a Grid with JpaGridDataSource; when I click sort icon on a transient field of an entity, I get following exception: Caused by: java.lang.IllegalArgumentException: Unable to resolve attribute [name] against path at

Re: tapestry-jpa: JpaGridDataSource sort by a transient field

2011-07-11 Thread Richard Yunhua Sang
-0300, Richard Yunhua Sang yunhua.s...@gmail.com wrote: Hi there, Hi! I am using a Grid with JpaGridDataSource; when I click sort icon on a transient field of an entity, I get following exception: I don't think any GridDataSource implementation backed by a database would be able

Re: tapestry-jpa: JpaGridDataSource sort by a transient field

2011-07-11 Thread Richard Yunhua Sang
to reproduce the issue. On Mon, Jul 11, 2011 at 11:06 PM, Richard Yunhua Sang yunhua.s...@gmail.com wrote: Hi there, I am using a Grid with JpaGridDataSource; when I click sort icon on a transient field of an entity, I get following exception: Caused

Re: tapestry-jpa: JpaGridDataSource sort by a transient field

2011-07-11 Thread Richard Yunhua Sang
, Richard Yunhua Sang yunhua.s...@gmail.comwrote: Thanks for your reply, but I do want to sort the result by transient field in Grid. It would be appreciated that the JPAGridDataSource is able to sort the result within JVM. On Mon, Jul 11, 2011 at 5:29 PM, Thiago H. de Paula Figueiredo