db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattba...@apache.org
Subject cvs commit: db-ojb/src/jca/org/apache/ojb/otm/connector OTMJCAConnection.java
Date Mon, 11 Aug 2003 20:35:51 GMT
mattbaird    2003/08/11 13:35:51

  Modified:    src/jca/org/apache/ojb/otm/connector OTMJCAConnection.java
  Log:
  must implement methods as specified by contract interface
  
  Revision  Changes    Path
  1.7       +18 -0     db-ojb/src/jca/org/apache/ojb/otm/connector/OTMJCAConnection.java
  
  Index: OTMJCAConnection.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/jca/org/apache/ojb/otm/connector/OTMJCAConnection.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- OTMJCAConnection.java	8 Aug 2003 20:27:38 -0000	1.6
  +++ OTMJCAConnection.java	11 Aug 2003 20:35:51 -0000	1.7
  @@ -134,6 +134,18 @@
   		return m_managedConnection.getConnection().getIteratorByQuery(query, i);
   	}
   
  +	public Iterator getIteratorByOQLQuery(EnhancedOQLQuery query)
  +	{
  +		isValidUnderlyingConnection();
  +		return m_managedConnection.getConnection().getIteratorByOQLQuery(query);
  +	}
  +
  +	public Iterator getIteratorByOQLQuery(EnhancedOQLQuery query, int lock)
  +	{
  +		isValidUnderlyingConnection();
  +		return m_managedConnection.getConnection().getIteratorByOQLQuery(query, lock);
  +	}
  +
   	public Identity getIdentity(Object o)
   	{
   		isValidUnderlyingConnection();
  @@ -168,6 +180,12 @@
   	{
   		isValidUnderlyingConnection();
   		return m_managedConnection.getConnection().newOQLQuery();
  +	}
  +
  +	public EnhancedOQLQuery newOQLQuery(int lock)
  +	{
  +		isValidUnderlyingConnection();
  +		return m_managedConnection.getConnection().newOQLQuery(lock);
   	}
   
   	public int getCount(Query query)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message