You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ka...@apache.org on 2007/03/07 09:24:14 UTC
svn commit: r515488 -
/db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java
Author: kahatlen
Date: Wed Mar 7 00:24:14 2007
New Revision: 515488
URL: http://svn.apache.org/viewvc?view=rev&rev=515488
Log:
DERBY-2257: Implementing the stored procedures called by the LOB
related JDBC methods
Improved comments. Patch contributed by V. Narayanan.
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java?view=diff&rev=515488&r1=515487&r2=515488
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection.java Wed Mar 7 00:24:14 2007
@@ -623,17 +623,28 @@
* @return an integer that represents the locator that has been
* allocated to this LOB.
*/
- public int addLOBMapping(Object LOBReference) { return -1;}
+ public int addLOBMapping(Object LOBReference) {
+ //This call is forwarded to the implementation in the EmbedConnection
+ //class and hence the actual implementation here is not necessary.
+ return -1;
+ }
/**
* Dummy implementation for method in EngineConnection.
*/
- public void clearLOBMapping() {}
+ public void clearLOBMapping() {
+ //This call is forwarded to the implementation in the EmbedConnection
+ //class and hence the actual implementation here is not necessary.
+ }
/**
* Dummy implementation for method in EngineConnection.
* @param key the integer that represents the LOB locator value.
* @return the LOB Object corresponding to this locator.
*/
- public Object getLOBMapping(int key) { return null;}
+ public Object getLOBMapping(int key) {
+ //This call is forwarded to the implementation in the EmbedConnection
+ //class and hence the actual implementation here is not necessary.
+ return null;
+ }
}