Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
23. Jul 2008, 21:50 CET | Link

Can someone tell me of any problems if I were to use the EntityQuery as a base for querying large number of records in batches?

3 Replies:
24. Jul 2008, 00:43 CET | Link

I think it depends on what do you plan to do with the records.

 
Please don't forget to rate

I believe that imagination is stronger than knowledge -- myth is more potent than history -- dreams are more powerful than facts -- hope always triumphs over experience -- laughter is the cure for grief -- love is stronger than death.

24. Jul 2008, 23:45 CET | Link

What I am wanting to do is to use the data pagination as a batch fetch. Also, I am wanting to update a field within each record once processed. This would keep me from reinventing the wheel.

One thing that would be nice is to have the


Query.getRenderedEjbql()

in Seam to be public rather than protected, where it would return the full query string. Useful when instantiating new on EntityQuery and wanting to view the query string or processing transactions using hibernate or some other way.


EntityQuery eq = new EntityQuery();
String queryString = eq.getRenderedEjbql();
27. Jul 2008, 19:01 CET | Link

File a feature request in JIRA

 

Read about how to report a bug.