OPENJPA-442 deprecating and adding javadoc

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@649956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2008-04-20 19:09:19 +00:00
parent a35b53b27f
commit 016f0bf61e
1 changed files with 9 additions and 1 deletions

View File

@ -70,7 +70,14 @@ public class QueryImpl
private List _positional;
/**
* Constructor; supply factory and delegate.
* Constructor; supply factory exception translator and delegate.
*
* @param em
* The EntityManager which created this query
* @param ret
* Exception translater for this query
* @param query
* The underlying "kernel" query.
*/
public QueryImpl(EntityManagerImpl em, RuntimeExceptionTranslator ret,
org.apache.openjpa.kernel.Query query) {
@ -80,6 +87,7 @@ public class QueryImpl
/**
* Constructor; supply factory and delegate.
* @deprecated
*/
public QueryImpl(EntityManagerImpl em, org.apache.openjpa.kernel.Query query) {
this(em, null, query);