1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: package.lisp
6 ;;;; Purpose: Package definition for CLSQL-CLASSIC high-level interface
7 ;;;; Programmers: Kevin M. Rosenberg based on
8 ;;;; Original code by Pierre R. Mai
9 ;;;; Date Started: Feb 2002
13 ;;;; This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg
14 ;;;; and Copyright (c) 1999-2001 by Pierre R. Mai
16 ;;;; CLSQL users are granted the rights to distribute and use this software
17 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
18 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
19 ;;;; *************************************************************************
21 (in-package #:cl-user)
23 (eval-when (:compile-toplevel :load-toplevel :execute)
24 (defpackage #:clsql-classic-sys
25 (:nicknames #:clsql-classic)
26 (:use #:cl #:clsql-base-sys)
35 #:clsql-simple-warning
36 #:clsql-invalid-spec-error
37 #:clsql-invalid-spec-error-connection-spec
38 #:clsql-invalid-spec-error-database-type
39 #:clsql-invalid-spec-error-template
41 #:clsql-connect-error-database-type
42 #:clsql-connect-error-connection-spec
43 #:clsql-connect-error-errno
44 #:clsql-connect-error-error
46 #:clsql-sql-error-database
47 #:clsql-sql-error-expression
48 #:clsql-sql-error-errno
49 #:clsql-sql-error-error
50 #:clsql-database-warning
51 #:clsql-database-warning-database
52 #:clsql-database-warning-message
53 #:clsql-exists-condition
54 #:clsql-exists-condition-new-db
55 #:clsql-exists-condition-old-db
56 #:clsql-exists-warning
59 #:clsql-closed-error-database
61 #:*loaded-database-types*
62 #:reload-database-types
63 #:*default-database-type*
64 #:*initialized-database-types*
65 #:initialize-database-type
70 #:database-name-from-spec
73 #:number-to-sql-string
77 ;; database.lisp -- Connection
78 #:*default-database-type* ; clsql-base xx
79 #:*default-database* ; classes xx
80 #:connect ; database xx
81 #:*connect-if-exists* ; database xx
82 #:connected-databases ; database xx
83 #:database ; database xx
84 #:database-name ; database xx
85 #:disconnect ; database xx
86 #:reconnect ; database
87 #:find-database ; database xx
88 #:status ; database xx
90 #:with-default-database
104 #:rollback-transaction
105 #:add-transaction-commit-hook
106 #:add-transaction-rollback-hook
107 #:commit ; transact xx
108 #:rollback ; transact xx
109 #:with-transaction ; transact xx .
110 #:start-transaction ; transact xx
111 #:in-transaction-p ; transact xx
112 #:database-start-transaction
113 #:database-abort-transaction
114 #:database-commit-transaction
123 ;; Large objects (Marc B)
124 #:create-large-object
127 #:delete-large-object
130 ;; These are no longer export since different functions are
131 ;; exported by the CLSQL package
139 (:documentation "This is the INTERNAL SQL-Interface package of CLSQL-CLASSIC."))
143 (defpackage #:clsql-classic-user
144 (:use #:common-lisp #:clsql-classic)
145 (:documentation "This is the user package for experimenting with CLSQL-CLASSIC."))