44
44
<script type="text/javascript" src="../_static/doctools.js"></script>
45
45
<!-- end iterate through sphinx environment script_files -->
47
<script type="text/javascript" src="../_static/detectmobile.js"></script>
47
48
<script type="text/javascript" src="../_static/init.js"></script>
48
49
<link rel="index" title="Index" href="../genindex.html" />
49
50
<link rel="search" title="Search" href="../search.html" />
72
74
<div id="docs-container">
80
<div id="docs-top-navigation-container" class="body-background">
77
81
<div id="docs-header">
82
<div id="docs-version-header">
83
Release: <span class="version-num">0.9.6</span> | Release Date: June 23, 2014
78
86
<h1>SQLAlchemy 0.9 Documentation</h1>
80
<div id="docs-search">
82
<form class="search" action="../search.html" method="get">
83
<input type="text" name="q" size="18" /> <input type="submit" value="Search" />
84
<input type="hidden" name="check_keywords" value="yes" />
85
<input type="hidden" name="area" value="default" />
89
<div id="docs-version-header">
90
Release: <span class="version-num">0.9.4</span> | Release Date: March 28, 2014
97
<div id="docs-top-navigation">
98
<div id="docs-top-page-control" class="docs-navigation-links">
91
<div id="docs-body-container">
93
<div id="fixed-sidebar" class="withsidebar">
96
<div id="docs-sidebar-popout">
97
<h3><a href="../index.html">SQLAlchemy 0.9 Documentation</a></h3>
99
<p id="sidebar-paginate">
100
<a href="index.html" title="Changes and Migration">Up</a> |
102
<a href="migration_06.html" title="What’s New in SQLAlchemy 0.6?">Prev</a> |
103
<a href="migration_04.html" title="What’s new in SQLAlchemy 0.4?">Next</a>
106
<p id="sidebar-topnav">
107
<a href="../index.html">Contents</a> |
108
<a href="../genindex.html">Index</a>
111
<div id="sidebar-search">
112
<form class="search" action="../search.html" method="get">
113
<input type="text" name="q" size="12" /> <input type="submit" value="Search" />
114
<input type="hidden" name="check_keywords" value="yes" />
115
<input type="hidden" name="area" value="default" />
121
<div id="docs-sidebar">
124
What’s new in SQLAlchemy 0.5?
101
<a href="migration_06.html" title="previous chapter">What’s New in SQLAlchemy 0.6?</a>
104
<a href="migration_04.html" title="next chapter">What’s new in SQLAlchemy 0.4?</a>
108
<a href="../contents.html">Table of Contents</a> |
109
<a href="../genindex.html">Index</a>
110
| <a href="../_sources/changelog/migration_05.txt">view source
115
<div id="docs-navigation-banner">
116
<a href="../index.html">SQLAlchemy 0.9 Documentation</a>
117
» <a href="index.html" title="Changes and Migration">Changes and Migration</a>
119
What’s new in SQLAlchemy 0.5?
124
What’s new in SQLAlchemy 0.5?
131
<div id="docs-body-container">
133
<div id="docs-sidebar">
134
<h3><a href="../index.html">Table of Contents</a></h3>
136
128
<li><a class="reference internal" href="#">What’s new in SQLAlchemy 0.5?</a><ul>
137
129
<li><a class="reference internal" href="#major-documentation-changes">Major Documentation Changes</a></li>
138
130
<li><a class="reference internal" href="#deprecations-source">Deprecations Source</a></li>
153
<h4>Previous Topic</h4>
155
<a href="migration_06.html" title="previous chapter">What’s New in SQLAlchemy 0.6?</a>
159
<a href="migration_04.html" title="next chapter">What’s new in SQLAlchemy 0.4?</a>
163
<h4>Quick Search</h4>
165
<form class="search" action="../search.html" method="get">
166
<input type="text" name="q" size="18" /> <input type="submit" value="Search" />
167
<input type="hidden" name="check_keywords" value="yes" />
168
<input type="hidden" name="area" value="default" />
174
153
<div id="docs-body" class="withsidebar" >
176
155
<div class="section" id="what-s-new-in-sqlalchemy-0-5">
469
448
<li><strong>SessionExtension.</strong> - This is an easy to use extension
470
449
class for session events. In particular, it provides
471
450
<tt class="docutils literal"><span class="pre">before_flush()</span></tt>, <tt class="docutils literal"><span class="pre">after_flush()</span></tt> and
472
<tt class="docutils literal"><span class="pre">after_flush_postexec()</span></tt> methods. It’s usage is
451
<tt class="docutils literal"><span class="pre">after_flush_postexec()</span></tt> methods. This usage is
473
452
recommended over <tt class="docutils literal"><span class="pre">MapperExtension.before_XXX</span></tt> in many
474
453
cases since within <tt class="docutils literal"><span class="pre">before_flush()</span></tt> you can modify the
475
454
flush plan of the session freely, something which cannot
659
638
<li><p class="first"><strong>get()/load() cleanup</strong></p>
660
<p>The <tt class="docutils literal"><span class="pre">load()</span></tt> method has been removed. It’s
639
<p>The <tt class="docutils literal"><span class="pre">load()</span></tt> method has been removed. Its
661
640
functionality was kind of arbitrary and basically copied
662
641
from Hibernate, where it’s also not a particularly
663
642
meaningful method.</p>