def _open(self, db, writeAccess=False):
if not sqlite:<EOL><INDENT>raise orb.errors.BackendNotFound('<STR_LIT>')<EOL><DEDENT>dbname = db.name()<EOL>try:<EOL><INDENT>sqlite_db = sqlite.connect(dbname)<EOL>sqlite_db.create_function('<STR_LIT>', <NUM_LIT:2>, matches)<EOL>sqlite_db.row_factory = dict_factory<EOL>sqlite_db.text_factory = unicode<EOL>self.__threaded_connections[sqlite_db] = threading.current_thread().ident<EOL>return sqlite_db<EOL><DEDENT>except sqlite.Error:<EOL><INDENT>log.exception('<STR_LIT>')<EOL>raise orb.errors.ConnectionFailed()<EOL><DEDENT>
Handles simple, SQL specific connection creation.  This will not
have to manage thread information as it is already managed within
the main open method for the SQLBase class.

:param      db | <orb.Database>

:return     <variant> | backend specific database connection