Coverage report

  %line %branch
org.apache.torque.adapter.DBInstantDB
0% 
0% 

 1  
 package org.apache.torque.adapter;
 2  
 
 3  
 /*
 4  
  * Copyright 2001-2005 The Apache Software Foundation.
 5  
  *
 6  
  * Licensed under the Apache License, Version 2.0 (the "License")
 7  
  * you may not use this file except in compliance with the License.
 8  
  * You may obtain a copy of the License at
 9  
  *
 10  
  *     http://www.apache.org/licenses/LICENSE-2.0
 11  
  *
 12  
  * Unless required by applicable law or agreed to in writing, software
 13  
  * distributed under the License is distributed on an "AS IS" BASIS,
 14  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 15  
  * See the License for the specific language governing permissions and
 16  
  * limitations under the License.
 17  
  */
 18  
 
 19  
 import java.sql.Connection;
 20  
 import java.sql.SQLException;
 21  
 
 22  
 /**
 23  
  * This is used to connect to InstantDB databases.
 24  
  *
 25  
  * <a href="http://instantdb.enhydra.org">
 26  
  * http://instantdb.enhydra.org
 27  
  * </a>
 28  
  *
 29  
  * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
 30  
  * @author <a href="mailto:bmclaugh@algx.net">Brett McLaughlin</a>
 31  
  * @version $Id: DBInstantDB.java 239630 2005-08-24 12:25:32Z henning $
 32  
  */
 33  
 public class DBInstantDB
 34  
     extends DB
 35  
 {
 36  
     /**
 37  
      * Empty constructor.
 38  
      */
 39  
     protected DBInstantDB()
 40  0
     {
 41  0
     }
 42  
 
 43  
     /**
 44  
      * This method is used to ignore case.
 45  
      *
 46  
      * @param in The string to transform to upper case.
 47  
      * @return The upper case string.
 48  
      */
 49  
     public String toUpperCase(String in)
 50  
     {
 51  0
         return in;
 52  
     }
 53  
 
 54  
     /**
 55  
      * This method is used to ignore case.
 56  
      *
 57  
      * @param in The string whose case to ignore.
 58  
      * @return The string in a case that can be ignored.
 59  
      */
 60  
     public String ignoreCase(String in)
 61  
     {
 62  0
         return in;
 63  
     }
 64  
 
 65  
     /**
 66  
      * @see org.apache.torque.adapter.DB#getIDMethodType()
 67  
      */
 68  
     public String getIDMethodType()
 69  
     {
 70  0
         return NO_ID_METHOD;
 71  
     }
 72  
 
 73  
     /**
 74  
      * @see org.apache.torque.adapter.DB#getIDMethodSQL(Object obj)
 75  
      */
 76  
     public String getIDMethodSQL(Object obj)
 77  
     {
 78  0
         return null;
 79  
     }
 80  
 
 81  
     /**
 82  
      * Locks the specified table.
 83  
      *
 84  
      * @param con The JDBC connection to use.
 85  
      * @param table The name of the table to lock.
 86  
      * @exception SQLException No Statement could be created or executed.
 87  
      */
 88  
     public void lockTable(Connection con, String table) throws SQLException
 89  
     {
 90  0
     }
 91  
 
 92  
     /**
 93  
      * Unlocks the specified table.
 94  
      *
 95  
      * @param con The JDBC connection to use.
 96  
      * @param table The name of the table to unlock.
 97  
      * @exception SQLException No Statement could be created or executed.
 98  
      */
 99  
     public void unlockTable(Connection con, String table) throws SQLException
 100  
     {
 101  0
     }
 102  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.