Changeset 206:ad3f9e184c75 in livinglogic.python.orasql

Show
Ignore:
Timestamp:
01/06/08 22:43:26 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Update to new names of doc elements.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • INSTALL.xml

    r118 r206  
    11<?xml version='1.0' encoding='iso-8859-1'?> 
    2 <section><title>Requirements</title> 
    3 <par>To use this module you need the following software packages:</par> 
    4 <olist> 
    5 <item><link href="http://www.python.org/">Python 2.4</link>;</item> 
     2<section><h>Requirements</h> 
     3<p>To use this module you need the following software packages:</p> 
     4<ol> 
     5<item><a href="http://www.python.org/">Python 2.4</a>;</item> 
    66<item><pyref module="ll">ll-core</pyref> (at least 1.3);</item> 
    7 <item><link href="http://www.computronix.com/utilities.shtml#Oracle"><app>cx_Oracle</app></link> 
     7<item><a href="http://www.computronix.com/utilities.shtml#Oracle"><app>cx_Oracle</app></a> 
    88(at least version 4.1).</item> 
    9 </olist> 
     9</ol> 
    1010</section> 
    1111 
    12 <section><title>Installation</title> 
    13 <par><app moreinfo="http://peak.telecommunity.com/DevCenter/setuptools">setuptools</app> 
    14 is used for installation so you can install this module with the following command:</par> 
     12<section><h>Installation</h> 
     13<p><app moreinfo="http://peak.telecommunity.com/DevCenter/setuptools">setuptools</app> 
     14is used for installation so you can install this module with the following command:</p> 
    1515 
    1616<prog> 
     
    1818</prog> 
    1919 
    20 <par>If you want to install from source, you can download one of the 
    21 <link href="root:orasql/Download.html">distribution archives</link>, unpack it, 
    22 enter the directory and execute the following command:</par> 
     20<p>If you want to install from source, you can download one of the 
     21<a href="root:orasql/Download.html">distribution archives</a>, unpack it, 
     22enter the directory and execute the following command:</p> 
    2323<prog> 
    2424python setup.py install 
    2525</prog> 
    2626 
    27 <par>This will install <module>ll.orasql</module> as part of the <module>ll</module> 
    28 package.</par> 
     27<p>This will install <mod>ll.orasql</mod> as part of the <mod>ll</mod> 
     28package.</p> 
    2929 
    30 <par>For Windows a binary distribution is provided. To install it, 
    31 double click it, and follow the instructions.</par> 
     30<p>For Windows a binary distribution is provided. To install it, 
     31double click it, and follow the instructions.</p> 
    3232 
    33 <par>If you have difficulties installing this software, send a problem report 
    34 to Walter Dörwald (<email>walter@livinglogic.de</email>).</par> 
     33<p>If you have difficulties installing this software, send a problem report 
     34to Walter Dörwald (<email>walter@livinglogic.de</email>).</p> 
    3535</section> 
  • NEWS.xml

    r203 r206  
    1 <section><title>Changes in 1.17.5 (released 08/09/2007)</title> 
    2 <ulist> 
     1<section><h>Changes in 1.17.5 (released 08/09/2007)</h> 
     2<ul> 
    33<item>Fixed a bug in the error handling of wrong arguments when calling 
    44functions or procedures.</item> 
    5 </ulist> 
    6 </section> 
    7  
    8  
    9 <section><title>Changes in 1.17.4 (released 04/30/2007)</title> 
    10 <ulist> 
     5</ul> 
     6</section> 
     7 
     8 
     9<section><h>Changes in 1.17.4 (released 04/30/2007)</h> 
     10<ul> 
    1111<item>The threshold for string length for procedure and function arguments has 
    1212been reduced to 4000.</item> 
    13 </ulist> 
    14 </section> 
    15  
    16  
    17 <section><title>Changes in 1.17.3 (released 03/08/2007)</title> 
    18 <ulist> 
     13</ul> 
     14</section> 
     15 
     16 
     17<section><h>Changes in 1.17.3 (released 03/08/2007)</h> 
     18<ul> 
    1919<item><lit>BLOB</lit> arguments for procedures and functions are always 
    2020passed as variables now.</item> 
    21 </ulist> 
    22 </section> 
    23  
    24  
    25 <section><title>Changes in 1.17.2 (released 03/07/2007)</title> 
    26 <ulist> 
     21</ul> 
     22</section> 
     23 
     24 
     25<section><h>Changes in 1.17.2 (released 03/07/2007)</h> 
     26<ul> 
    2727<item>Arguments for procedures and functions that are longer that 32000 characters 
    2828are passed as variables now (the threshold was 32768 before and didn't work).</item> 
    29 </ulist> 
    30 </section> 
    31  
    32  
    33 <section><title>Changes in 1.17.1 (released 03/02/2007)</title> 
    34 <ulist> 
    35 <item>Fix an inverted logic bug in <method>Record.fromdata</method> that surfaced 
     29</ul> 
     30</section> 
     31 
     32 
     33<section><h>Changes in 1.17.1 (released 03/02/2007)</h> 
     34<ul> 
     35<item>Fix an inverted logic bug in <meth>Record.fromdata</meth> that surfaced 
    3636in unicode mode: <lit>BLOB</lit>s were treated as string and <lit>CLOB</lit>s 
    3737as binary data.</item> 
    38 </ulist> 
    39 </section> 
    40  
    41  
    42 <section><title>Changes in 1.17 (released 02/23/2007)</title> 
    43 <ulist> 
     38</ul> 
     39</section> 
     40 
     41 
     42<section><h>Changes in 1.17 (released 02/23/2007)</h> 
     43<ul> 
    4444<item>The <lit>readlobs</lit> and <lit>unicode</lit> parameters are now honored 
    4545when calling procedures and functions via <class>Procedure</class> and 
    4646<class>Function</class> objects.</item> 
    47 </ulist> 
    48 </section> 
    49  
    50  
    51 <section><title>Changes in 1.16 (released 02/21/2007)</title> 
    52 <ulist> 
     47</ul> 
     48</section> 
     49 
     50 
     51<section><h>Changes in 1.16 (released 02/21/2007)</h> 
     52<ul> 
    5353<item>A parameter <arg>unicode</arg> has been added to various constructors 
    5454and methods. This parameter can be used to get strings (i.e. <lit>VARCHAR2</lit> 
    5555and <lit>CLOB</lit>s) as <class>unicode</class> object instead of 
    5656<class>str</class> objects.</item> 
    57 </ulist> 
    58 </section> 
    59  
    60  
    61 <section><title>Changes in 1.15 (released 02/17/2007)</title> 
    62 <ulist> 
     57</ul> 
     58</section> 
     59 
     60 
     61<section><h>Changes in 1.15 (released 02/17/2007)</h> 
     62<ul> 
    6363<item>Fixed an output bug in <filename>oradiff.py</filename> when running 
    6464in full output mode.</item> 
     
    6666and methods that can be used to get small (or all) <class>LOB</class>s as 
    6767strings in cursor fetch calls.</item> 
    68 </ulist> 
    69 </section> 
    70  
    71  
    72 <section><title>Changes in 1.14 (released 02/01/2007)</title> 
    73 <ulist> 
    74 <item>A new method <method>iterprivileges</method> has been added to 
     68</ul> 
     69</section> 
     70 
     71 
     72<section><h>Changes in 1.14 (released 02/01/2007)</h> 
     73<ul> 
     74<item>A new method <meth>iterprivileges</meth> has been added to 
    7575<class>Connection</class>.</item> 
    7676<item>A script <filename>oragrant.py</filename> has been added for copying 
    7777privileges.</item> 
    78 </ulist> 
    79 </section> 
    80  
    81  
    82 <section><title>Changes in 1.13 (released 11/06/2006)</title> 
    83 <ulist> 
    84 <item>Two new methods (<method>itertables</method> and <method>iterfks</method>) 
     78</ul> 
     79</section> 
     80 
     81 
     82<section><h>Changes in 1.13 (released 11/06/2006)</h> 
     83<ul> 
     84<item>Two new methods (<meth>itertables</meth> and <meth>iterfks</meth>) 
    8585have been added to <class>Connection</class>. They yield all table definitions 
    8686or all foreign keys respectively.</item> 
    87 <item>A new method <method>isenabled</method> has been added to 
     87<item>A new method <meth>isenabled</meth> has been added to 
    8888<class>ForeignKey</class>.</item> 
    89 <item>A <method>__str__</method> method has been added to <class>Object</class>.</item> 
     89<item>A <meth>__str__</meth> method has been added to <class>Object</class>.</item> 
    9090<item>A bug in <filename>oramerge.py</filename> has been fixed: In certain 
    9191situations <filename>oramerge.py</filename> used merging actions that were 
    9292meant to be used for the preceeding object.</item> 
    93 </ulist> 
    94 </section> 
    95  
    96  
    97 <section><title>Changes in 1.12.2 (released 10/18/2006)</title> 
    98 <ulist> 
     93</ul> 
     94</section> 
     95 
     96 
     97<section><h>Changes in 1.12.2 (released 10/18/2006)</h> 
     98<ul> 
    9999<item>Fixed a bug that showed up when an index and a foreign key 
    100100of the same name existed.</item> 
    101 </ulist> 
    102 </section> 
    103  
    104  
    105 <section><title>Changes in 1.12.1 (released 09/19/2006)</title> 
    106 <ulist> 
    107 <item>Fixed a bug in <method>Index.__xattrs__</method>.</item> 
    108 </ulist> 
    109 </section> 
    110  
    111  
    112 <section><title>Changes in 1.12 (released 09/06/2006)</title> 
    113 <ulist> 
     101</ul> 
     102</section> 
     103 
     104 
     105<section><h>Changes in 1.12.1 (released 09/19/2006)</h> 
     106<ul> 
     107<item>Fixed a bug in <meth>Index.__xattrs__</meth>.</item> 
     108</ul> 
     109</section> 
     110 
     111 
     112<section><h>Changes in 1.12 (released 09/06/2006)</h> 
     113<ul> 
    114114<item><class>Function</class> objects are now callable too. They return 
    115115the return value and a <class>Record</class> containing the modified 
    116116input parameters.</item> 
    117 </ulist> 
    118 </section> 
    119  
    120  
    121 <section><title>Changes in 1.11.1 (released 08/29/2006)</title> 
    122 <ulist> 
    123 <item>Fixed a bug in <method>Column.modifyddl</method>.</item> 
    124 </ulist> 
    125 </section> 
    126  
    127  
    128 <section><title>Changes in 1.11 (released 08/22/2006)</title> 
    129 <ulist> 
     117</ul> 
     118</section> 
     119 
     120 
     121<section><h>Changes in 1.11.1 (released 08/29/2006)</h> 
     122<ul> 
     123<item>Fixed a bug in <meth>Column.modifyddl</meth>.</item> 
     124</ul> 
     125</section> 
     126 
     127 
     128<section><h>Changes in 1.11 (released 08/22/2006)</h> 
     129<ul> 
    130130<item>The class <class>Column</class> has gained a few new methods: 
    131 <method>datatype</method>, <method>default</method>, <method>nullable</method> 
    132 and <method>comment</method>.</item> 
     131<meth>datatype</meth>, <meth>default</meth>, <meth>nullable</meth> 
     132and <meth>comment</meth>.</item> 
    133133 
    134134<item>Calling a procedure will now raise a <class>SQLObjectNotFoundError</class> 
    135135error, if the procedure doesn't exist.</item> 
    136 </ulist> 
    137 </section> 
    138  
    139  
    140 <section><title>Changes in 1.10 (released 08/11/2006)</title> 
    141 <ulist> 
     136</ul> 
     137</section> 
     138 
     139 
     140<section><h>Changes in 1.10 (released 08/11/2006)</h> 
     141<ul> 
    142142<item>The classes <class>Proc</class> and <class>LLProc</class> have 
    143143been removed. The functionality of <class>Proc</class> has been merged 
    144144into <class>ProcedureDefinition</class> (with has been renamed to 
    145145<class>Procedure</class>). Information about the procedure arguments 
    146 is provided by the <method>iteraguments</method> method.</item> 
     146is provided by the <meth>iteraguments</meth> method.</item> 
    147147 
    148148<item>All other subclasses of <class>Definition</class> have been renamed 
     
    150150have been renamed accordingly too.</item> 
    151151 
    152 <item><function>oramerge.main</function> and <function>oradiff.main</function> 
     152<item><func>oramerge.main</func> and <func>oradiff.main</func> 
    153153now accept option arrays as arguments.</item> 
    154154 
    155155<item><filename>oradiff.py</filename> has finally been fixed.</item> 
    156 </ulist> 
    157 </section> 
    158  
    159  
    160 <section><title>Changes in 1.9.4 (released 08/09/2006)</title> 
    161 <ulist> 
     156</ul> 
     157</section> 
     158 
     159 
     160<section><h>Changes in 1.9.4 (released 08/09/2006)</h> 
     161<ul> 
    162162<item>Fixed a bug in <filename>oradiff.py</filename>.</item> 
    163 </ulist> 
    164 </section> 
    165  
    166  
    167 <section><title>Changes in 1.9.3 (released 08/08/2006)</title> 
    168 <ulist> 
     163</ul> 
     164</section> 
     165 
     166 
     167<section><h>Changes in 1.9.3 (released 08/08/2006)</h> 
     168<ul> 
    169169<item>Fixed a bug in <filename>oramerge.py</filename>.</item> 
    170 </ulist> 
    171 </section> 
    172  
    173  
    174 <section><title>Changes in 1.9.2 (released 08/04/2006)</title> 
    175 <ulist> 
    176 <item>Fixed a bug in <method>TableDefinition.iterdefinitions</method>.</item> 
    177 </ulist> 
    178 </section> 
    179  
    180  
    181 <section><title>Changes in 1.9.1 (released 08/02/2006)</title> 
    182 <ulist> 
     170</ul> 
     171</section> 
     172 
     173 
     174<section><h>Changes in 1.9.2 (released 08/04/2006)</h> 
     175<ul> 
     176<item>Fixed a bug in <meth>TableDefinition.iterdefinitions</meth>.</item> 
     177</ul> 
     178</section> 
     179 
     180 
     181<section><h>Changes in 1.9.1 (released 08/02/2006)</h> 
     182<ul> 
    183183<item>Fixed a bug in <filename>oracreate.py</filename>.</item> 
    184 </ulist> 
    185 </section> 
    186  
    187  
    188 <section><title>Changes in 1.9 (released 07/24/2006)</title> 
    189 <ulist> 
     184</ul> 
     185</section> 
     186 
     187 
     188<section><h>Changes in 1.9 (released 07/24/2006)</h> 
     189<ul> 
    190190<item>Dependencies involving <class>MaterializedViewDefinition</class>s and 
    191191<class>IndexDefinition</class>s generated by constraints work properly now, 
     
    193193working &sql; script.</item> 
    194194 
    195 <item>A method <method>table</method> has been added to <class>PKDefinition</class>, 
     195<item>A method <meth>table</meth> has been added to <class>PKDefinition</class>, 
    196196<class>FKDefinition</class>, <class>UniqueDefinition</class> and 
    197197<class>IndexDefinition</class>. This method returns the <class>TableDefinition</class> 
    198198to object belongs to.</item> 
    199199 
    200 <item>A method <method>pk</method> has been added to <class>FKDefinition</class>. 
     200<item>A method <meth>pk</meth> has been added to <class>FKDefinition</class>. 
    201201It returns the primary key that this foreign key references.</item> 
    202202 
     
    206206<item>Arguments other than <lit>sys.argv[1:]</lit> can now be passed to the 
    207207<filename>oracreate.py</filename> and <filename>oradrop.py</filename> 
    208 <function>main</function> functions.</item> 
    209  
    210 </ulist> 
    211 </section> 
    212  
    213  
    214 <section><title>Changes in 1.8.1 (released 07/17/2006)</title> 
    215 <ulist> 
    216 <item><module>ll.orasql</module> can now handle objects name that 
     208<func>main</func> functions.</item> 
     209 
     210</ul> 
     211</section> 
     212 
     213 
     214<section><h>Changes in 1.8.1 (released 07/17/2006)</h> 
     215<ul> 
     216<item><mod>ll.orasql</mod> can now handle objects name that 
    217217are not in uppercase.</item> 
    218 </ulist> 
    219 </section> 
    220  
    221  
    222 <section><title>Changes in 1.8 (released 07/14/2006)</title> 
    223 <ulist> 
    224 <item><method>Connection.iterobjects</method> has been renamed to 
    225 <method>iterdefinitions</method>.</item> 
     218</ul> 
     219</section> 
     220 
     221 
     222<section><h>Changes in 1.8 (released 07/14/2006)</h> 
     223<ul> 
     224<item><meth>Connection.iterobjects</meth> has been renamed to 
     225<meth>iterdefinitions</meth>.</item> 
    226226 
    227227<item>Each <class>Definition</class> subclass has a new classmethod 
    228 <method>iterdefinitions</method> that iterates through all definitions 
     228<meth>iterdefinitions</meth> that iterates through all definitions 
    229229of this type in a schema (or all schemas).</item> 
    230230 
    231231<item>Each <class>Definition</class> subclass has new methods 
    232 <method>iterreferences</method> and <method>iterreferencedby</method> that 
    233 iterate through related definitions. The methods <method>iterreferencesall</method> 
    234 and <method>iterreferencedbyall</method> do this recursively. The method 
    235 <method>iterdependent</method> is gone now.</item> 
    236  
    237 <item>The method <method>iterschema</method> of <class>Connection</class> 
     232<meth>iterreferences</meth> and <meth>iterreferencedby</meth> that 
     233iterate through related definitions. The methods <meth>iterreferencesall</meth> 
     234and <meth>iterreferencedbyall</meth> do this recursively. The method 
     235<meth>iterdependent</meth> is gone now.</item> 
     236 
     237<item>The method <meth>iterschema</meth> of <class>Connection</class> 
    238238now has an additional parameter <arg>schema</arg>. Passing <lit>"all"</lit> 
    239239for <arg>schema</arg> will give you statistics for the complete database 
     
    245245 
    246246<item><class>TableDefinition</class> has a three new methods: 
    247 <method>ismview</method> returns whether the table is a materialized view; 
    248 <method>itercomments</method> iterates through comments and 
    249 <method>iterconstraints</method> iterates through primary keys, foreign keys 
     247<meth>ismview</meth> returns whether the table is a materialized view; 
     248<meth>itercomments</meth> iterates through comments and 
     249<meth>iterconstraints</meth> iterates through primary keys, foreign keys 
    250250and unique constraints.</item> 
    251251 
    252 <item>The method <method>getcursor</method> will now raise a <class>TypeError</class> 
     252<item>The method <meth>getcursor</meth> will now raise a <class>TypeError</class> 
    253253if it can't get a cursor.</item> 
    254 </ulist> 
    255 </section> 
    256  
    257  
    258 <section><title>Changes in 1.7.2 (released 07/05/2006)</title> 
    259 <ulist> 
     254</ul> 
     255</section> 
     256 
     257 
     258<section><h>Changes in 1.7.2 (released 07/05/2006)</h> 
     259<ul> 
    260260<item><lit>RAW</lit> fields in tables are now output properly in 
    261 <method>TableDefinition.createddl</method>.</item> 
     261<meth>TableDefinition.createddl</meth>.</item> 
    262262 
    263263<item>A class <class>PackageBodyDefinition</class> has been added. 
    264264<filename>oracreate.py</filename> will output package body definitions 
    265265and <filename>oradrop.py</filename> will drop them.</item> 
    266 </ulist> 
    267 </section> 
    268  
    269  
    270 <section><title>Changes in 1.7.1 (released 07/04/2006)</title> 
    271 <ulist> 
     266</ul> 
     267</section> 
     268 
     269 
     270<section><h>Changes in 1.7.1 (released 07/04/2006)</h> 
     271<ul> 
    272272<item>Duplicate code in the scripts has been removed.</item> 
    273273<item>Fixed a bug in <filename>oramerge.py</filename>: If the source 
    274274to be diffed was long enough the call to <filename>diff3</filename> deadlocked.</item> 
    275 </ulist> 
    276 </section> 
    277  
    278  
    279 <section><title>Changes in 1.7 (released 06/29/2006)</title> 
    280 <ulist> 
    281 <item>The method <method>iterobjects</method> has been moved from 
     275</ul> 
     276</section> 
     277 
     278 
     279<section><h>Changes in 1.7 (released 06/29/2006)</h> 
     280<ul> 
     281<item>The method <meth>iterobjects</meth> has been moved from 
    282282<class>Cursor</class> to <class>Connection</class>.</item> 
    283 <item>The method <method>itercolumns</method> has been moved from 
     283<item>The method <meth>itercolumns</meth> has been moved from 
    284284<class>Cursor</class> to <class>TableDefinition</class>.</item> 
    285285<item><class>LLProc</class> now recognizes the <lit>c_out</lit> 
    286 parameter used by <module>ll.toxic</module> 0.8.</item> 
     286parameter used by <mod>ll.toxic</mod> 0.8.</item> 
    287287<item>Support for positional arguments has been added for <class>Proc</class> 
    288288and <class>LLProc</class>. Error messages for calling procedures 
    289289have been enhanced.</item> 
    290290<item><class>SequenceDefinition</class> now has a new method 
    291 <method>createddlcopy</method> that returns code that copies the 
     291<meth>createddlcopy</meth> that returns code that copies the 
    292292sequence value. <filename>oracreate.py</filename> has a new 
    293293option <option>-s</option>/<option>--seqcopy</option> that 
    294294uses this feature.</item> 
    295 <item><module>setuptools</module> is now supported for installation.</item> 
    296 </ulist> 
    297 </section> 
    298  
    299  
    300 <section><title>Changes in 1.6 (released 04/26/2006)</title> 
    301 <ulist> 
    302 <item>Added a <class>SessionPool</class> (a subclass of <module>cx_Oracle</module>s 
    303 <class>SessionPool</class>) whose <method>acquire</method> method 
    304 returns <module>ll.orasql.Connection</module> objects.</item> 
    305 </ulist> 
    306 </section> 
    307  
    308  
    309 <section><title>Changes in 1.5 (released 04/05/2006)</title> 
    310 <ulist> 
     295<item><mod>setuptools</mod> is now supported for installation.</item> 
     296</ul> 
     297</section> 
     298 
     299 
     300<section><h>Changes in 1.6 (released 04/26/2006)</h> 
     301<ul> 
     302<item>Added a <class>SessionPool</class> (a subclass of <mod>cx_Oracle</mod>s 
     303<class>SessionPool</class>) whose <meth>acquire</meth> method 
     304returns <mod>ll.orasql.Connection</mod> objects.</item> 
     305</ul> 
     306</section> 
     307 
     308 
     309<section><h>Changes in 1.5 (released 04/05/2006)</h> 
     310<ul> 
    311311<item>Added a class <class>IndexDefinition</class> for indexes. 
    312312<filename>oracreate.py</filename> will now issue create statements 
    313313for indexes.</item> 
    314 </ulist> 
    315 </section> 
    316  
    317  
    318 <section><title>Changes in 1.4.3 (released 12/07/2005)</title> 
    319 <ulist> 
     314</ul> 
     315</section> 
     316 
     317 
     318<section><h>Changes in 1.4.3 (released 12/07/2005)</h> 
     319<ul> 
    320320<item>Fixed a bug with empty lines in procedure sources.</item> 
    321321<item>Remove spurious spaces at the start of procedure and function 
    322322definitions.</item> 
    323 </ulist> 
    324 </section> 
    325  
    326  
    327 <section><title>Changes in 1.4.2 (released 12/07/2005)</title> 
    328 <ulist> 
     323</ul> 
     324</section> 
     325 
     326 
     327<section><h>Changes in 1.4.2 (released 12/07/2005)</h> 
     328<ul> 
    329329<item>Fixed a bug that the DDL output of Java source.</item> 
    330330<item>Trailing whitespace in each line of procedures, functions etc. 
    331331is now stripped.</item> 
    332 </ulist> 
    333 </section> 
    334  
    335  
    336 <section><title>Changes in 1.4.1 (released 12/06/2005)</title> 
    337 <ulist> 
     332</ul> 
     333</section> 
     334 
     335 
     336<section><h>Changes in 1.4.1 (released 12/06/2005)</h> 
     337<ul> 
    338338<item>Fixed a bug that resulted in omitted field lengths.</item> 
    339 </ulist> 
    340 </section> 
    341  
    342  
    343 <section><title>Changes in 1.4 (released 12/05/2005)</title> 
    344 <ulist> 
     339</ul> 
     340</section> 
     341 
     342 
     343<section><h>Changes in 1.4 (released 12/05/2005)</h> 
     344<ul> 
    345345<item>The option <option>-m</option>/<option>--mode</option> has been dropped 
    346346from the script <filename>oramerge.py</filename>.</item> 
    347347<item>A new class <class>ColumnDefinition</class> has been added to 
    348 <module>ll.orasql</module>. The <class>Cursor</class> class has a new method 
    349 <method>itercolumns</method> that iterates the <class>ColumnDefinition</class>s 
     348<mod>ll.orasql</mod>. The <class>Cursor</class> class has a new method 
     349<meth>itercolumns</meth> that iterates the <class>ColumnDefinition</class>s 
    350350of a table.</item> 
    351351<item><filename>oramerge.py</filename> now doesn't output a merged 
    352352<lit>create table</lit> statement, but the appropriate <lit>alter table</lit> 
    353353statements.</item> 
    354 </ulist> 
    355 </section> 
    356  
    357  
    358 <section><title>Changes in 1.3 (released 11/24/2005)</title> 
    359 <ulist> 
     354</ul> 
     355</section> 
     356 
     357 
     358<section><h>Changes in 1.3 (released 11/24/2005)</h> 
     359<ul> 
    360360<item>Added an option <option>-i</option> to <filename>oracreate.py</filename> 
    361361and <filename>oradrop.py</filename> to ignore errors.</item> 
    362 <item>The argument <arg>all</arg> of the cursor method <method>iterobjects</method> 
     362<item>The argument <arg>all</arg> of the cursor method <meth>iterobjects</meth> 
    363363is now named <arg>schema</arg> and may have three values: <lit>"own"</lit>, 
    364364<lit>"dep"</lit> and <lit>"all"</lit>.</item> 
     
    366366way merge of three database schemas and outputs the resulting script.</item> 
    367367<item>DB links are now copied over in <class>SynonymDefinition</class>s.</item> 
    368 </ulist> 
    369 </section> 
    370  
    371  
    372 <section><title>Changes in 1.2 (released 10/24/2005)</title> 
    373 <ulist> 
    374 <item>Added a argument to <method>createddl</method> and <method>dropddl</method> 
     368</ul> 
     369</section> 
     370 
     371 
     372<section><h>Changes in 1.2 (released 10/24/2005)</h> 
     373<ul> 
     374<item>Added a argument to <meth>createddl</meth> and <meth>dropddl</meth> 
    375375to specify if terminated or unterminated DDL is wanted (i.e. add <lit>;</lit> or 
    376376<lit>/</lit> or not).</item> 
     
    394394<item>Fixed a bug in <class>SequenceDefinition</class> when the <lit>CACHE</lit> 
    395395field was <lit>0</lit>.</item> 
    396 </ulist> 
    397  
    398 </section> 
    399  
    400  
    401 <section><title>Changes in 1.1 (released 10/20/2005)</title> 
    402 <ulist> 
     396</ul> 
     397 
     398</section> 
     399 
     400 
     401<section><h>Changes in 1.1 (released 10/20/2005)</h> 
     402<ul> 
    403403<item>A script <filename>oradiff.py</filename> has been added which can be 
    404404used for diffing Oracle schemas.</item> 
    405405 
    406 <item>Definition classes now have two new methods <method>cdate</method> and 
    407 <method>udate</method> that give the creation and modification time of the 
     406<item>Definition classes now have two new methods <meth>cdate</meth> and 
     407<meth>udate</meth> that give the creation and modification time of the 
    408408schema object (if available).</item> 
    409409 
    410410<item>A <lit>"flat"</lit> iteration mode has been added to 
    411 <method>Cursor.iterobjects</method> that returns objects unordered.</item> 
    412  
    413 <item><class>Connection</class> has a new method <method>connectstring</method>.</item> 
     411<meth>Cursor.iterobjects</meth> that returns objects unordered.</item> 
     412 
     413<item><class>Connection</class> has a new method <meth>connectstring</meth>.</item> 
    414414 
    415415<item>A class <class>LibraryDefinition</class> has been added.</item> 
    416416 
    417 <item><method>CommentsDefinition.createddl</method> returns <lit>""</lit> 
     417<item><meth>CommentsDefinition.createddl</meth> returns <lit>""</lit> 
    418418instead of <lit>"\n"</lit> now if there are no comments.</item> 
    419419 
    420420<item><class>SQLObjectNotfoundError</class> has been renamed to 
    421421<class>SQLObjectNotFoundError</class>.</item> 
    422 </ulist> 
    423 </section> 
    424  
    425  
    426 <section><title>Changes in 1.0 (released 10/13/2005)</title> 
    427 <ulist> 
    428 <item><module>ll.orasql</module> requires version 1.0 of the core package now.</item> 
    429  
    430 <item>A new generator method <function>iterobjects</function> has been added 
     422</ul> 
     423</section> 
     424 
     425 
     426<section><h>Changes in 1.0 (released 10/13/2005)</h> 
     427<ul> 
     428<item><mod>ll.orasql</mod> requires version 1.0 of the core package now.</item> 
     429 
     430<item>A new generator method <func>iterobjects</func> has been added 
    431431to the <class>Cursor</class> class. This generator returns <z>definition objects</z> 
    432432for all the objects in a schema in topological order (i.e. if the name of an 
     
    438438<filename>oradrop.py</filename>) have been added, that create &sql; scripts 
    439439for recreating or deleting the content of an Oracle schema.</item> 
    440 </ulist> 
    441 </section> 
    442  
    443  
    444 <section><title>Changes in 0.7 (released 08/09/2005)</title> 
    445 <ulist> 
    446 <item>The commands generated by <function>iterdrop</function> no longer have 
     440</ul> 
     441</section> 
     442 
     443 
     444<section><h>Changes in 0.7 (released 08/09/2005)</h> 
     445<ul> 
     446<item>The commands generated by <func>iterdrop</func> no longer have 
    447447a terminating <lit>;</lit>, as this seems to confuse Oracle/cx_Oracle.</item> 
    448 </ulist> 
    449 </section> 
    450  
    451  
    452 <section><title>Changes in 0.6 (released 06/20/2005)</title> 
    453 <ulist> 
    454 <item>Two new functions have been added: <function>iterdrop</function> is 
     448</ul> 
     449</section> 
     450 
     451 
     452<section><h>Changes in 0.6 (released 06/20/2005)</h> 
     453<ul> 
     454<item>Two new functions have been added: <func>iterdrop</func> is 
    455455a generator that yields information about how to clear the schema (i.e. drop 
    456 all table, sequences, etc.). <function>itercreate</function> yields information 
     456all table, sequences, etc.). <func>itercreate</func> yields information 
    457457about how to recreate a schema.</item> 
    458 </ulist> 
    459 </section> 
    460  
    461  
    462 <section><title>Changes in 0.5 (released 06/07/2005)</title> 
    463 <ulist> 
     458</ul> 
     459</section> 
     460 
     461 
     462<section><h>Changes in 0.5 (released 06/07/2005)</h> 
     463<ul> 
    464464<item>Date values are now supported as <lit>OUT</lit> parameters.</item> 
    465 </ulist> 
    466 </section> 
    467  
    468  
    469 <section><title>Changes in 0.4.1 (released 03/22/2005)</title> 
    470 <ulist> 
     465</ul> 
     466</section> 
     467 
     468 
     469<section><h>Changes in 0.4.1 (released 03/22/2005)</h> 
     470<ul> 
    471471<item>Added a note about the package init file to the installation 
    472472documentation.</item> 
    473 </ulist> 
    474 </section> 
    475  
    476  
    477 <section><title>Changes in 0.4 (released 01/03/2005)</title> 
    478 <ulist> 
    479 <item><module>ll.orasql</module> now requires <app>ll-core</app>.</item> 
     473</ul> 
     474</section> 
     475 
     476 
     477<section><h>Changes in 0.4 (released 01/03/2005)</h> 
     478<ul> 
     479<item><mod>ll.orasql</mod> now requires <app>ll-core</app>.</item> 
    480480<item>Procedures can now be called with string arguments longer that 32768 
    481481characters. In this case the argument will be converted to a variable before 
    482482the call. The procedure argument must be a <lit>CLOB</lit> in this case.</item> 
    483483<item>Creating <class>Record</class> instances from database data is now done 
    484 by the class method <method>Record.fromdata</method>. This means it's now 
     484by the class method <meth>Record.fromdata</meth>. This means it's now 
    485485possible to use any other class as long as it provides this method.</item> 
    486 </ulist> 
    487 </section> 
    488  
    489  
    490 <section><title>Changes in 0.3 (released 12/09/2004)</title> 
    491 <ulist> 
    492 <item><module>ll.orasql</module> requires <app>cx_Oracle 4.1</app> now.</item> 
    493 </ulist> 
    494 </section> 
    495  
    496  
    497 <section><title>Changes in 0.2.1 (released 09/09/2004)</title> 
    498 <ulist> 
    499 <item>Fixed a regression bug in <method>Proc._calcrealargs</method> as 
     486</ul> 
     487</section> 
     488 
     489 
     490<section><h>Changes in 0.3 (released 12/09/2004)</h> 
     491<ul> 
     492<item><mod>ll.orasql</mod> requires <app>cx_Oracle 4.1</app> now.</item> 
     493</ul> 
     494</section> 
     495 
     496 
     497<section><h>Changes in 0.2.1 (released 09/09/2004)</h> 
     498<ul> 
     499<item>Fixed a regression bug in <meth>Proc._calcrealargs</meth> as 
    500500cursors will now always return <class>Record</class> objects.</item> 
    501 </ulist> 
    502 </section> 
    503  
    504  
    505 <section><title>Changes in 0.2 (released 09/08/2004)</title> 
    506 <ulist> 
     501</ul> 
     502</section> 
     503 
     504 
     505<section><h>Changes in 0.2 (released 09/08/2004)</h> 
     506<ul> 
    507507<item>Now generating <class>Record</class> object is done automatically 
    508508in a subclass of <class>cx_Oracle.Cursor</class>. So now it's possible 
    509 to use <module>ll.orasql</module> as an extended <module>cx_Oracle</module>.</item> 
    510 </ulist> 
    511 </section> 
    512  
    513  
    514 <section><title>Changes in 0.1 (released 07/15/2004)</title> 
    515 <ulist> 
     509to use <mod>ll.orasql</mod> as an extended <mod>cx_Oracle</mod>.</item> 
     510</ul> 
     511</section> 
     512 
     513 
     514<section><h>Changes in 0.1 (released 07/15/2004)</h> 
     515<ul> 
    516516<item>Initial release.</item> 
    517 </ulist> 
    518 </section> 
     517</ul> 
     518</section>