def connect(self, url, p):
     try:
         dbname = url.replace("jdbc:simpledb:", "")
         db = SimpleDB(dbname)
         return EmbeddedConnection(db)
     except Exception:
         raise SQLException()
Exemple #2
0
 def getString(self, fldname):
     try:
         fldname = fldname.lower()  # to ensure case-insensitivity
         return self.s.getString(fldname)
     except RuntimeError as e:
         self.conn.rollback()
         raise SQLException(e)
 def getColumnDisplaySize(self, column):
     raise SQLException("operation not implemented")
Exemple #4
0
 def deleteRow(self):
     raise SQLException("operation not implemented")
 def getColumnCount(self):
     raise SQLException("operation not implemented")
 def isCurrency(self, column):
     raise SQLException("operation not implemented")
Exemple #7
0
 def first(self):
     raise SQLException("operation not implemented")
 def getScale(self, column):
     raise SQLException("operation not implemented")
 def isAutoIncrement(self, column):
     raise SQLException("operation not implemented")
Exemple #10
0
 def getFetchSize(self):
     raise SQLException("operation not implemented")
Exemple #11
0
 def getHoldability(self):
     raise SQLException("operation not implemented")
Exemple #12
0
 def getConcurrency(self):
     raise SQLException("operation not implemented")
Exemple #13
0
 def getCursorName(self):
     raise SQLException("operation not implemented")
Exemple #14
0
 def getCharacterStream(self, columnIndex):
     raise SQLException("operation not implemented")
Exemple #15
0
 def getBinaryStream(self, columnIndex):
     raise SQLException("operation not implemented")
Exemple #16
0
 def getBigDecimal(self, columnIndex):
     raise SQLException("operation not implemented")
 def getColumnLabel(self, column):
     raise SQLException("operation not implemented")
Exemple #18
0
 def getLong(self, columnIndex):
     raise SQLException("operation not implemented")
 def getPrecision(self, column):
     raise SQLException("operation not implemented")
Exemple #20
0
 def getMetaData(self):
     raise SQLException("operation not implemented")
 def getTableName(self, column):
     raise SQLException("operation not implemented")
 def isSigned(self, column):
     raise SQLException("operation not implemented")
 def isCaseSensitive(self, column):
     raise SQLException("operation not implemented")
 def isWrapperFor(self, iface):
     raise SQLException("operation not implemented")
 def isReadOnly(self, column):
     raise SQLException("operation not implemented")
Exemple #26
0
 def findColumn(self, columnLabel):
     raise SQLException("operation not implemented")
 def isWritable(self, column):
     raise SQLException("operation not implemented")
 def getCatalogName(self, column):
     raise SQLException("operation not implemented")
 def unwrap(self, iface):
     raise SQLException("operation not implemented")
 def getColumnClassName(self, column):
     raise SQLException("operation not implemented")