def connect(self, url, p): try: dbname = url.replace("jdbc:simpledb:", "") db = SimpleDB(dbname) return EmbeddedConnection(db) except Exception: raise SQLException()
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")
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")
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")
def getFetchSize(self): raise SQLException("operation not implemented")
def getHoldability(self): raise SQLException("operation not implemented")
def getConcurrency(self): raise SQLException("operation not implemented")
def getCursorName(self): raise SQLException("operation not implemented")
def getCharacterStream(self, columnIndex): raise SQLException("operation not implemented")
def getBinaryStream(self, columnIndex): raise SQLException("operation not implemented")
def getBigDecimal(self, columnIndex): raise SQLException("operation not implemented")
def getColumnLabel(self, column): raise SQLException("operation not implemented")
def getLong(self, columnIndex): raise SQLException("operation not implemented")
def getPrecision(self, column): raise SQLException("operation not implemented")
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")
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")