<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/sqlunit/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/sqlunit/feature-requests/</id><updated>2009-02-18T13:02:55Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>Specify parameters in Java</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/7/" rel="alternate"/><published>2009-02-18T13:02:55Z</published><updated>2009-02-18T13:02:55Z</updated><author><name>Antony Lees</name><uri>https://sourceforge.net/u/antonylees/</uri></author><id>https://sourceforge.netc4a4ea128914d62e22884e89d1f08fe2a9366486</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It would be nice to give people the choice of either using XML or using Java code to specify the procedure parameters&lt;/p&gt;
&lt;p&gt;Sure, it's good to provide the parameters in XML for people to not have to use Java, but when writing the JUnit test cases in Java anyway, I'd rather not have to learn the XML tags, but specify them as some sort of criteria object instead&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>STRUCT as input parameter</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/6/" rel="alternate"/><published>2009-02-18T12:57:42Z</published><updated>2009-02-18T12:57:42Z</updated><author><name>Antony Lees</name><uri>https://sourceforge.net/u/antonylees/</uri></author><id>https://sourceforge.net8c11556af6410f67a5ba2bdebd8c06a973156666</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;SQLUnit currently allows for STRUCT types to be returned from the stored procedure, but doesn't allow them to be specified as the input parameter&lt;/p&gt;
&lt;p&gt;This would be really useful as we have large packages, containing various procedures, that take STRUCT types as their parameters (and return STRUCT types)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Named Parameters in XML file</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/5/" rel="alternate"/><published>2005-08-15T15:33:50Z</published><updated>2005-08-15T15:33:50Z</updated><author><name>ramoloney</name><uri>https://sourceforge.net/u/ramoloney/</uri></author><id>https://sourceforge.net2f4aae78d1c86040c03c150b925057e985658d8c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;SQLUnit should support calling stored procedures using &lt;br /&gt;
named parameters in the XML test file.&lt;/p&gt;
&lt;p&gt;This can be very useful when a stored procedure has &lt;br /&gt;
say 10 parameters but only 2 are mandatory.&lt;/p&gt;
&lt;p&gt;It also aids maintenance, as when stored procedures &lt;br /&gt;
get updated we usually make the extra parameters &lt;br /&gt;
optional (default their values).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ant properties as variables in sqlunit test file</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/4/" rel="alternate"/><published>2005-03-14T13:12:20Z</published><updated>2005-03-14T13:12:20Z</updated><author><name>Che---</name><uri>https://sourceforge.net/u/che---/</uri></author><id>https://sourceforge.netb42b3ede207a2399e7396ea2c1a31d5e651e3326</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i would be nice if we could set properties in the Ant &lt;br /&gt;
script and use them in the SQLUnit test file, like this:&lt;/p&gt;
&lt;p&gt;Ant script:&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- Database URL, schema and user &lt;br /&gt;
definitions --&amp;gt;&lt;br /&gt;
&amp;lt;property name="db.local.url" &lt;br /&gt;
value="jdbc:oracle:thin:@127.0.0.1:1556:TEST" /&amp;gt;&lt;br /&gt;
&amp;lt;property name="db.local.user1" &lt;br /&gt;
value="che /&amp;gt;&lt;br /&gt;
&amp;lt;property name="db.local.pass1" &lt;br /&gt;
value="che" /&amp;gt; &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;SQLUnit test file:&lt;/p&gt;
&lt;p&gt;&amp;lt;sqlunit&amp;gt;&lt;br /&gt;
&amp;lt;connection connection-id="1" transaction-&lt;br /&gt;
support="on"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;driver&amp;gt;oracle.jdbc.driver.OracleDriver&amp;lt;/driver&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;lt;url&amp;gt;${db.local.url}&amp;lt;/url&amp;gt;&lt;br /&gt;
&amp;lt;user&amp;gt;${db.local.user1}&amp;lt;/user&amp;gt;&lt;br /&gt;
&amp;lt;password&amp;gt;${db.local.pass2}&lt;br /&gt;
&amp;lt;/password&amp;gt;&lt;br /&gt;
&amp;lt;/connection&amp;gt; &lt;/p&gt;
&lt;p&gt;Bye&lt;br /&gt;
Che&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>store procedure does not work inside sql file.</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/3/" rel="alternate"/><published>2004-10-05T17:36:44Z</published><updated>2004-10-05T17:36:44Z</updated><author><name>satish chitnis</name><uri>https://sourceforge.net/u/schitnis/</uri></author><id>https://sourceforge.net0b650efe777d216e4cd8380f4e96e6999250a1f0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;After fixing above bug 1032804 in 4.1, stored procedure &lt;br /&gt;
inside sql file  does not work. This is happening because &lt;br /&gt;
store procedure needed to be treated specially for &lt;br /&gt;
delimiter &lt;br /&gt;
consideration.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Satish &lt;/p&gt;
&lt;p&gt;create procedure Web_schm_proc as&lt;br /&gt;
begin&lt;br /&gt;
insert into SPSS_RDM_D_SCHEMA_VERSION Values &lt;br /&gt;
(S_RDM_D_SCHEMA_ID.NextVal, 'Web', '0.00.000.190', &lt;br /&gt;
null, &lt;br /&gt;
SYSDATE, SYSDATE);&lt;br /&gt;
end;&lt;br /&gt;
/&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Set tag should allow embedded SQL to set variables</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/2/" rel="alternate"/><published>2004-08-19T02:15:08Z</published><updated>2004-08-19T02:15:08Z</updated><author><name>Sujit Pal</name><uri>https://sourceforge.net/u/spal/</uri></author><id>https://sourceforge.netc480b6593c0110e4cddb4efae7a927df4c1ef195</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The set tag currently looks like this:&lt;br /&gt;
&amp;lt;set name="name" value="value" /&amp;gt;&lt;br /&gt;
it should accept setting values from variables using&lt;br /&gt;
embedded SQL, something like this:&lt;br /&gt;
&amp;lt;set name="query"&amp;gt;&lt;br /&gt;
..&amp;lt;sql&amp;gt;&amp;lt;stmt&amp;gt;select col1, col2 from tab1 where&lt;br /&gt;
condition&amp;lt;/stmt&amp;gt;&amp;lt;/sql&amp;gt;&lt;br /&gt;
..&amp;lt;resutl&amp;gt;&lt;br /&gt;
....&amp;lt;resultset id="1"&amp;gt;&lt;br /&gt;
......&amp;lt;row id="1"&amp;gt;&lt;br /&gt;
........&amp;lt;col id="1" name="col1"&lt;br /&gt;
type="INTEGER"&amp;gt;${col11}&amp;lt;/col&amp;gt;&lt;br /&gt;
........&amp;lt;col id="2" name="col2"&lt;br /&gt;
type="VARCHAR"&amp;gt;${col21}&amp;lt;/col&amp;gt;&lt;br /&gt;
......&amp;lt;/row&amp;gt;&lt;br /&gt;
......&amp;lt;/row id="2"&amp;gt;&lt;br /&gt;
........&amp;lt;col id="1" name="col1"&lt;br /&gt;
type="INTEGER"&amp;gt;${col12}&amp;lt;/col&amp;gt;&lt;br /&gt;
........&amp;lt;col id="2" name="col2"&lt;br /&gt;
type="VARCHAR"&amp;gt;${col22}&amp;lt;/col&amp;gt;&lt;br /&gt;
......&amp;lt;/row&amp;gt;&lt;br /&gt;
....&amp;lt;/resutlset&amp;gt;&lt;br /&gt;
..&amp;lt;/result&amp;gt;&lt;br /&gt;
&amp;lt;/set&amp;gt;&lt;/p&gt;
&lt;p&gt;which would set ${col11}, ${col12}, ${col21} and ${col22{.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SQLUnit does not guarantee result ordering</title><link href="https://sourceforge.net/p/sqlunit/feature-requests/1/" rel="alternate"/><published>2004-08-19T02:10:19Z</published><updated>2004-08-19T02:10:19Z</updated><author><name>Sujit Pal</name><uri>https://sourceforge.net/u/spal/</uri></author><id>https://sourceforge.netb1210014bcfaaaf86063fbe246540504275ffe39</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;SQLUnit needs to support the case where the resultset&lt;br /&gt;
is ordered differently from a stored procedure or SQL&lt;br /&gt;
call from what is specified as the result.&lt;/p&gt;
&lt;p&gt;We are looking at using a @sort-by attribute in the&lt;br /&gt;
resultset tag in the result element. When the test tag&lt;br /&gt;
encounters this, it will sort the corresponding&lt;br /&gt;
resultset elements before comparing.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>