summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/connectors/mxodbc.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * - mxodbc can use default execute() callMike Bayer2010-03-161-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | - modified SQLCompiler to support rendering of bind parameters as literal inline strings for specific sections, if specified by the compiler subclass, using either literal_binds=True passed to process() or any visit method, or by setting to False the "binds_in_columns_clause" flag for SQL-92 compatible columns clauses.. The compiler subclass is responsible for implementing the literal quoting function which should make use of the DBAPI's native capabilities. - SQLCompiler now passes **kw to most process() methods (should be all, ideally) so that literal_binds is propagated. - added some rudimentary tests for mxodbc.
| * adjust mxodbc imports to dialect levelMike Bayer2010-03-151-17/+21
| |
* | Setting default bindmethod to BIND_USING_SQLTYPE, since this should provide ↵Brad Allen2010-03-171-1/+1
| | | | | | | | better type conversion performance.
* | Added decimalformat binding ( I thought this was committed earlier)Brad Allen2010-03-171-0/+1
| |
* | Fixes to pass numeric tests; now by default, the mxodbc connector natively ↵Brad Allen2010-03-161-1/+49
| | | | | | | | returns Python Decimal data types from columns of type SQL.NUMERIC or SQL.DECIMAL
* | Added module docstring for mxodbc connectorBrad Allen2010-03-161-0/+12
| |
* | removed junk pdb.set_trace()Brad Allen2010-03-151-1/+0
| |
* | Removed custom do_execute which called cursor.executedirect, after ↵Brad Allen2010-03-151-3/+1
|/ | | | discussion with eGenix and zzzeek. Even though more tests pass with executedirect, it is not appropriate for default usage because it does not issue prepare statements to the db, and it forces Python type binding. The executedirect method should only be called when the API user specifically requests it for special case performance reasons.
* merged mainline default branchBrad Allen2010-03-151-4/+3
|\
| * - The visit_pool() method of Dialect is removed, and replaced withMike Bayer2010-03-151-4/+3
| | | | | | | | | | | | | | | | on_connect(). This method returns a callable which receives the raw DBAPI connection after each one is created. The callable is assembled into a first_connect/connect pool listener by the connection strategy if non-None. Provides a simpler interface for dialects.
* | using executemany instead of executedirect, which passes more tests than ↵Brad Allen2010-03-151-5/+3
| | | | | | | | with plain execute. Later we need to define logic to determine when to call the normal execute.
* | comments explaining temporary hack for using executedirectBrad Allen2010-03-111-8/+1
| |
* | Converted mxODBC's raised Warning exceptions into normal Python warnings.Brad Allen2010-03-111-0/+18
| |
* | Temporary kludge to fix InterfaceError, in places where cursor.executedirect ↵Brad Allen2010-03-081-0/+15
|/ | | | is needed instead of cursor.execute.
* mxodbc supports rowcount, just have to snag before the cursor is closed.Mike Bayer2010-02-281-1/+1
|
* working on pyodbc / mxodbcMike Bayer2010-02-271-2/+15
|
* the "in" was IN-tentional, ha haMike Bayer2010-02-271-1/+2
|
* A few cleanups of the mxodbc dialect.Michael Trier2010-02-271-9/+10
|
* - threadlocal engine wasn't properly closing the connectionMike Bayer2010-02-271-9/+47
| | | | | | | | | | upon close() - fixed that. - Transaction object doesn't rollback or commit if it isn't "active", allows more accurate nesting of begin/rollback/commit. - Added basic support for mxODBC [ticket:1710]. - Python unicode objects as binds result in the Unicode type, not string, thus eliminating a certain class of unicode errors on drivers that don't support unicode binds.
* merge 0.6 series to trunk.Mike Bayer2009-08-061-0/+24