<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/lib/sqlalchemy/mapping/mapper.py, branch 2020_tutorial</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1</title>
<updated>2006-05-25T14:20:23+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-05-25T14:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=bb79e2e871d0a4585164c1a6ed626d96d0231975'/>
<id>bb79e2e871d0a4585164c1a6ed626d96d0231975</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed a _get_criterion mismatch, cleaned up types + updated types doc</title>
<updated>2006-05-05T17:23:00+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-05-05T17:23:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=6c89f97e45baf5cbda183f0fdda4135545d0ffbc'/>
<id>6c89f97e45baf5cbda183f0fdda4135545d0ffbc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>save_obj/delete_obj need to specify column types to binds for primary key criterion</title>
<updated>2006-05-04T20:27:18+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-05-04T20:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=f7d896af75460ca03a3ec08a1de6b621d23cb340'/>
<id>f7d896af75460ca03a3ec08a1de6b621d23cb340</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>"order_by" parameter propigated to inheriting mappers</title>
<updated>2006-05-03T16:55:56+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-05-03T16:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=ea06a3ac2f8225a9aac81cd849d681ee40d2e57a'/>
<id>ea06a3ac2f8225a9aac81cd849d681ee40d2e57a</id>
<content type='text'>
oracle ROW_NUMBER logic uses select.oid_column to get default order by
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
oracle ROW_NUMBER logic uses select.oid_column to get default order by
</pre>
</div>
</content>
</entry>
<entry>
<title>added temporary option "construct_new" to mapper which will cause the mapper to use __new__ to create loaded instances instead of the __init__ method</title>
<updated>2006-04-23T20:37:53+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-04-23T20:37:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=a8fe116387e075395b61f1ae2a09551d174467a0'/>
<id>a8fe116387e075395b61f1ae2a09551d174467a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mapper will verify class inheritance scheme; also will not re-init inherited property, as the improved attribute system seems to handle inheritance OK and allows the property to keep its correct initialization on the parent</title>
<updated>2006-04-18T18:24:07+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-04-18T18:24:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=3ffa0bda31e2e590ff28f1bb1cccccda010b4462'/>
<id>3ffa0bda31e2e590ff28f1bb1cccccda010b4462</id>
<content type='text'>
exceptions import in query
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
exceptions import in query
</pre>
</div>
</content>
</entry>
<entry>
<title>fix for [ticket:158] regarding translate row</title>
<updated>2006-04-17T23:19:57+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-04-17T23:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=632dc1b7031bc0e54a88e3ed2d246e5a1bf262f2'/>
<id>632dc1b7031bc0e54a88e3ed2d246e5a1bf262f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mapper's querying facilities migrated to new query.Query() object, which can receive session-specific context via the mapper.using() statement.  reuslting object instances will be bound to this session, but query execution still handled by the SQLEngines implicit in the mapper's Table objects.</title>
<updated>2006-04-06T21:12:00+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-04-06T21:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=5bda70e770489a09a848d5ac3bfbee0aabd805ab'/>
<id>5bda70e770489a09a848d5ac3bfbee0aabd805ab</id>
<content type='text'>
session now propigates to the unitofwork UOWTransaction object, as well as mapper's save_obj/delete_obj via the UOWTransaction it receives. UOWTransaction explicitly calls the Session for the engine corresponding to each Mapper in the flush operation, although the Session does not yet affect the choice of engines used, and mapper save/delete is still using the Table's implicit SQLEngine.
changed internal unitofwork commit() method to be called flush().
removed all references to 'engine' from mapper module, including adding insert/update specific SQLEngine methods such as last_inserted_ids, last_inserted_params, etc. to the returned ResultProxy so that Mapper need not know which SQLEngine was used for the execute.
changes to unit tests, SelectResults to support the new Query object.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
session now propigates to the unitofwork UOWTransaction object, as well as mapper's save_obj/delete_obj via the UOWTransaction it receives. UOWTransaction explicitly calls the Session for the engine corresponding to each Mapper in the flush operation, although the Session does not yet affect the choice of engines used, and mapper save/delete is still using the Table's implicit SQLEngine.
changed internal unitofwork commit() method to be called flush().
removed all references to 'engine' from mapper module, including adding insert/update specific SQLEngine methods such as last_inserted_ids, last_inserted_params, etc. to the returned ResultProxy so that Mapper need not know which SQLEngine was used for the execute.
changes to unit tests, SelectResults to support the new Query object.
</pre>
</div>
</content>
</entry>
<entry>
<title>added explicit "session" argument to get(), select_whereclause in mapper, as well as throughout the call-chain for those.  lazy loader honors the "session" of the parent object, + added simple unit test</title>
<updated>2006-04-06T19:01:14+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-04-06T19:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=dbf936c30b14c81ccaa50a3082181bbdaa4d4d70'/>
<id>dbf936c30b14c81ccaa50a3082181bbdaa4d4d70</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>added 'entity_name' keyword argument to mapper.  a mapper is now associated with a class via</title>
<updated>2006-04-03T21:43:22+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2006-04-03T21:43:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=abc376c7025b53c790392026e0deaf305299ab6f'/>
<id>abc376c7025b53c790392026e0deaf305299ab6f</id>
<content type='text'>
the class object as well as the optional entity_name parameter, which is a string defaulting to None.
any number of primary mappers can be created for a class, qualified by the entity name.  instances of those classes
will issue all of their load and save operations through their entity_name-qualified mapper, and maintain separate identity from an otherwise equilvalent object.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the class object as well as the optional entity_name parameter, which is a string defaulting to None.
any number of primary mappers can be created for a class, qualified by the entity name.  instances of those classes
will issue all of their load and save operations through their entity_name-qualified mapper, and maintain separate identity from an otherwise equilvalent object.
</pre>
</div>
</content>
</entry>
</feed>
