;;;; and Copyright (c) 1999-2001 by Pierre R. Mai
;;;;
;;;; CLSQL users are granted the rights to distribute and use this software
;;;; and Copyright (c) 1999-2001 by Pierre R. Mai
;;;;
;;;; CLSQL users are granted the rights to distribute and use this software
((name :initform nil :initarg :name :reader database-name)
(connection-spec :initform nil :initarg :connection-spec
:reader connection-spec
((name :initform nil :initarg :name :reader database-name)
(connection-spec :initform nil :initarg :connection-spec
:reader connection-spec
(state :initform :closed :reader database-state)
(autocommit :initform t :accessor database-autocommit)
(command-recording-stream :accessor command-recording-stream :initform nil)
(state :initform :closed :reader database-state)
(autocommit :initform t :accessor database-autocommit)
(command-recording-stream :accessor command-recording-stream :initform nil)
(transaction-level :initform 0 :accessor transaction-level)
(transaction :initform nil :accessor transaction)
(conn-pool :initform nil :initarg :conn-pool :accessor conn-pool)
(transaction-level :initform 0 :accessor transaction-level)
(transaction :initform nil :accessor transaction)
(conn-pool :initform nil :initarg :conn-pool :accessor conn-pool)
- (attribute-cache :initform (make-hash-table :size 100 :test 'equal)
- :accessor attribute-cache
- :documentation "Internal cache of table attributes. It is keyed by table-name. Values
+ (attribute-cache :initform (make-hash-table :size 100 :test 'equal)
+ :accessor attribute-cache
+ :documentation "Internal cache of table attributes. It is keyed by table-name. Values
are a list of ACTION specified for table and any cached value of list-attributes-types."))
(:documentation
"This class is the supertype of all databases handled by CLSQL."))
are a list of ACTION specified for table and any cached value of list-attributes-types."))
(:documentation
"This class is the supertype of all databases handled by CLSQL."))
(defmethod print-object ((object database) stream)
(print-unreadable-object (object stream :type t :identity t)
(format stream "~A ~A"
(defmethod print-object ((object database) stream)
(print-unreadable-object (object stream :type t :identity t)
(format stream "~A ~A"