Using a timer to extract JPA entities for further transformation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using a timer to extract JPA entities for further transformation

Grant M
Hi,

I need to confirm whether the following use case is supported:

1) timer fires every day at 11am (expecting to use Quartz component here)
2) timer event executes a JPA named query
3) output of named query (collection of entity beans) converted to a fixed
    format file
4) fixed format file serialised to disk

It seems to me that the easiest way to accomplish this would be to use the
bean component as the output to the timer event since the jpa component does
not seem to have any options for specifying a named query.

Grant

--
The prime purpose of eloquence is to keep other people from talking.
- Louis Vermeil