ojb-dev@db.apache.org
[Top] [All Lists]

svn commit: r581412 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apac

Subject: svn commit: r581412 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/QueryByIdentity.java
From:
Date: Tue, 02 Oct 2007 22:08:53 -0000
Author: arminw
Date: Tue Oct  2 15:08:52 2007
New Revision: 581412

URL: http://svn.apache.org/viewvc?rev=581412&view=rev
Log:
javadoc

Modified:
    
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/QueryByIdentity.java

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/QueryByIdentity.java
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/QueryByIdentity.java?rev=581412&r1=581411&r2=581412&view=diff
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/QueryByIdentity.java
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/QueryByIdentity.java
 Tue Oct  2 15:08:52 2007
@@ -42,24 +42,23 @@
  * </code>
  * <br/>
  * This Class can also handle working with OJB Identity objects:
- * <i>"find the article with Identity xyz"</i> could be represnted as<br/>
+ * <i>"find the article with Identity xyz"</i> can be performed by<br/>
  * <br/>
  * <code>
  * Article example = new Article();<br/>
  * example.setId(7);<br/>
  * Identity xyz = broker.serviceIdentity().buildIdentity(example);<br/>
  * Query qry = new QueryByIdentity(xyz);<br/>
- * Collection col = broker.getObjectByQuery(qry);<br/>
+ * Article result = (Article) broker.getObjectByQuery(qry);<br/>
  * </code>
  * <br/>
- * But in this case a smarter solution will be<br/>
+ * A smarter solution (with less overhead) will be<br/>
  * <br/>
  * <code>
  * Identity xyz = broker.serviceIdentity().buildIdentity(Article.class, new 
Integer(7));<br/>
- * Collection col = broker.getObjectByIdentity(xyz);<br/>
+ * Article result = (Article) broker.getObjectByIdentity(xyz);<br/>
  * </code>
  *
- * @author <a href="mailto:thma@xxxxxxxxxx";>Thomas Mahler<a>
  * @version $Id$
  */
 public class QueryByIdentity extends AbstractQueryImpl



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@xxxxxxxxxxxxx
For additional commands, e-mail: ojb-dev-help@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: r581412 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/QueryByIdentity.java, arminw <=