|Eclipse Jobs Usage query [message #649690]
||Thu, 20 January 2011 05:36
| Saurabh Mising name
Registered: October 2010
I am writing a PLAIN java class which has a Query() Method on it.|
In the query method, i connect to the database and retrieve the Objects from the database.
My question is:
1. In the Query() method of this plain java class, I can write the code for connecting to the database in an eclipse non-UI job.
2. Whoever calls this Query() method can call the Query() method in a non-UI job.
I am not sure if i should have an eclipse Job in the Query() method or is it expected that the caller of the Query() method should make the Query() call in a Job.
Please let me know your thoughts.
Powered by FUDForum
. Page generated in 0.11080 seconds