Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
0.2.8..
Tags
rel_0_2_8
Mike Bayer
- added basic 'zblog' test suite - better error message for mapper orphan detect
Mike Bayer
restored "optimistic" behavior of hasparent. its generally disastrous without that flag as its impossible to load all lazy loaders, deal with attributes that "noload", etc. just to check for orphan status.
Mike Bayer
- unicode fix for startswith()/endswith() [ticket:296]
Mike Bayer
update
Mike Bayer
further fixes to case sensitive logic
Mike Bayer
revised section on quoting, semanticized headings and table of content lists
Mike Bayer
- import of py2.5s sqlite3 [ticket:293]
Mike Bayer
simplification to quoting to just cache strings per-dialect, added quoting for alias and label names fixes [ticket:294]
Mike Bayer
cleanup/unit test fixes
Mike Bayer
- further changes to attributes with regards to "trackparent". the "commit" operation now sets a "hasparent" flag for all attributes to all objects. that way lazy loads via callables get included in trackparent, and eager loads do as well because the mapper calls commit() on all objects at load time. this is a less shaky method than the "optimistic" thing in the previous commit, but uses more memory and involves more overhead. - some tweaks/cleanup to unit tests
Mike Bayer
futher fix to the "orphan state" idea. to avoid setting tons of "hasparent" flags on objects as they are loaded, both from lazy and eager loads, the "orphan" check now uses an "optimistic" flag to determine the result if no "hasparent" flag is found for a particular relationship on an instance. if the instance has an _instance_key and therefore was loaded from the database, it is assumed to not be an orphan unless a "False" hasparent flag has been set. if the…
Mike Bayer
insure that "parent" pointers are set up on objects that were lazily loaded
Mike Bayer
possible fix for [ticket:276]. if mysql detects case-insensitivity, converts tables to lower case names
Mike Bayer
since casing is figured out quasi-automatically when creating table/column/etc, removed casing checks within pg reflection
Mike Bayer
quoting more or less working with oracle
Mike Bayer
fix to from clause in unittest query...somehow this didnt fail on pg 8.0, but fails on 8.1
Mike Bayer
defaults and constraints have optional parent
Mike Bayer
sequence/default adjustments to allow postgres 8.1 tests to function
Mike Bayer
pg formats sequence name, more quote test fixes
Mike Bayer
some tweaks to oracle casing...
Mike Bayer
- added case_sensitive argument to MetaData, Table, Column, determines itself automatically based on if a parent schemaitem has a non-None setting for the flag, or if not, then whether the identifier name is all lower case or not. when set to True, quoting is applied to identifiers with mixed or uppercase identifiers. quoting is also applied automatically in all cases to identifiers that are known to be reserved words or contain other non-standard characters. vario…
Mike Bayer
- deregister Table from MetaData when autoload fails; [ticket:289]
Mike Bayer
- fix to using query.count() with distinct, **kwargs with SelectResults count() [ticket:287]
Mike Bayer
- changed "invalidate" semantics with pooled connection; will instruct the underlying connection record to reconnect the next time its called. "invalidate" will also automatically be called if any error is thrown in the underlying call to connection.cursor(). this will hopefully allow the connection pool to reconnect to a database that had been stopped and started without restarting the connecting application [ticket:121]
Mike Bayer
[ticket:266] constraint name in PrimaryKeyConstraint
Mike Bayer
doc bug [ticket:278]
Mike Bayer
- added "timezone=True" flag to DateTime and Time types. postgres so far will convert this to "TIME[STAMP] (WITH|WITHOUT) TIME ZONE", so that control over timezone presence is more controllable (psycopg2 returns datetimes with tzinfo's if available, which can create confusion against datetimes that dont). [ticket:275]
Mike Bayer
added "dev" tag to default setup some extra README
Mike Bayer
fixed inaccuracies regarding "connectable" parameter sent to create/drop
  1. Prev
  2. Next