summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* happy new yearMike Bayer2008-01-011-1/+1
|
* - auto-reconnect support improved; a Connection can now automaticallyMike Bayer2007-12-191-4/+9
| | | | | | | | | | reconnect after its underlying connection is invalidated, without needing to connect() again from the engine. This allows an ORM session bound to a single Connection to not need a reconnect. Open transactions on the Connection must be rolled back after an invalidation of the underlying connection else an error is raised. Also fixed bug where disconnect detect was not being called for cursor(), rollback(), or commit().
* introductory docstring bonanzaMike Bayer2007-12-181-0/+3
|
* Added missing InternalError exception wrapper [ticket:854]Jason Kirtland2007-11-061-2/+2
|
* - Now guarding against broken DB-APIs when wrapping their exceptions.Jason Kirtland2007-10-221-2/+8
| | | | - Added an explicit test for exception wrapping.
* - merged inline inserts branchMike Bayer2007-09-011-5/+5
| | | | | | | | | | | | - all executemany() style calls put all sequences and SQL defaults inline into a single SQL statement and don't do any pre-execution - regular Insert and Update objects can have inline=True, forcing all executions to be inlined. - no last_inserted_ids(), lastrow_has_defaults() available with inline execution - calculation of pre/post execute pushed into compiler; DefaultExecutionContext greatly simplified - fixed postgres reflection of primary key columns with no sequence/default generator, sets autoincrement=False - fixed postgres executemany() behavior regarding sequences present, not present, passivedefaults, etc. - all tests pass for sqlite, mysql, postgres; oracle tests pass as well as they did previously including all insert/update/default functionality
* light docstring tweaks to the poolJason Kirtland2007-08-191-1/+1
| | | | more pedantic DBAPI -> DB-API changes in docstrings
* Added an exception hierarchy shadowing DB-API exc typesJason Kirtland2007-08-111-35/+75
| | | | | | | No more generic SQLErrors wrappers- the shadow type matching the DB-API error is raised. [ticket:706] SQLError is now (also) DBAPIError. DBAPIError and subtype constructors will refuse to wrap a SystemExit or KeyboardInterrupt, returningthe original interrupt exception instead of a new instance. [ticket:689] Added a passthroughs for SE/KI exceptions in a couple except-and-discard situations
* Added pool hooks for connection creation, check out and check in.Jason Kirtland2007-07-281-0/+4
|
* - fixed use_alter flag on ForeignKeyConstraint [ticket:503]Mike Bayer2007-03-071-0/+4
|
* - bindparam() names are now repeatable! specify twoMike Bayer2007-03-031-0/+5
| | | | | | | | | distinct bindparam()s with the same name in a single statement, and the key will be shared. proper positional/named args translate at compile time. for the old behavior of "aliasing" bind parameters with conflicting names, specify "unique=True" - this option is still used internally for all the auto-genererated (value-based) bind parameters.
* migrated (most) docstrings to pep-257 format, docstring generator using ↵Mike Bayer2007-02-251-21/+39
| | | | | | straight <pre> + trim() func for now. applies most of [ticket:214], compliemnts of Lele Gaifax
* removed MissingTypeError (think it was an accidental checkin)Mike Bayer2007-02-071-3/+0
|
* ticket 298 plus transaction fixes for pymssqlRick Morrison2007-02-061-0/+5
|
* copyright updateMike Bayer2007-01-051-1/+1
|
* - merged loader_strategies branch into trunk.Mike Bayer2006-10-031-1/+5
| | | | | | | | | | | - this is a wide refactoring to "attribute loader" and "options" architectures. ColumnProperty and PropertyLoader define their loading behaivor via switchable "strategies", and MapperOptions no longer use mapper/property copying in order to function; they are instead propigated via QueryContext and SelectionContext objects at query/instnaces time. All of the copying of mappers and properties that was used to handle inheritance as well as options() has been removed and the structure of mappers and properties is much simpler and more clearly laid out.
* ConcurrentModificationExecptionMike Bayer2006-09-111-1/+5
|
* DB connection errors wrapped in DBAPIErrorsMike Bayer2006-07-131-1/+3
|
* when QueuePool times out it raises a TimeoutError instead ofMike Bayer2006-06-261-0/+4
| | | | erroneously making another connection
* added "NonExistentTable" exception throw to reflection, courtesy ↵Mike Bayer2006-06-061-0/+5
| | | | lbruno@republico.estv.ipv.pt, for [ticket:138]
* merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1Mike Bayer2006-05-251-2/+2
|
* oracle is requiring dictionary params to be in a clean dict, added conversionMike Bayer2006-03-131-1/+3
| | | | some fixes to unit tests
* exception package added, support throughoutMike Bayer2006-02-191-0/+41