org.apache.ojb.tutorials
Class OTMExample
java.lang.Object
org.apache.ojb.tutorials.OTMExample
- public class OTMExample
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OTMExample
public OTMExample()
storeProduct
public static void storeProduct(Product product)
throws LockingException
- Throws:
LockingException
removeProduct
public static void removeProduct(Product product)
throws LockingException
- Throws:
LockingException
findByCriteria
public java.util.Iterator findByCriteria(Query query)
findByCriteriaWithLock
public java.util.Iterator findByCriteriaWithLock(Query query,
int lock)
findByOQL
public java.util.Iterator findByOQL(java.lang.String query,
java.lang.Object[] bindings)
throws java.lang.Exception
- Throws:
java.lang.Exception
moreRealisticQueryByCriteria
public java.util.Iterator moreRealisticQueryByCriteria(Query query,
int lock)
renameWidgetExample
public void renameWidgetExample()
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14