<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/schemaspy/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/schemaspy/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 20 Jun 2014 23:38:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/schemaspy/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>#16 ora.properties - invalid selectRowCountSql</title><link>https://sourceforge.net/p/schemaspy/patches/16/?limit=25#377f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;I am using oracle 11g and oracle 12c and the table 'information_schema.tables' doesn't exist.&lt;/p&gt;
&lt;p&gt;It exists in mysql, which, even though 'oracle corporation' owns both, is quite a separate product family from oracle databases.&lt;/p&gt;
&lt;p&gt;So the net effect is that code falls back to doing select count(*) which takes too long on the large tables.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
Mark&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Berger</dc:creator><pubDate>Fri, 20 Jun 2014 23:38:17 -0000</pubDate><guid>https://sourceforge.net57bd93c838a72f30269723c30c486206015d7376</guid></item><item><title>#16 ora.properties - invalid selectRowCountSql</title><link>https://sourceforge.net/p/schemaspy/patches/16/?limit=50#92d0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The existing query is:&lt;br /&gt;
    selectRowCountSql=select table_rows row_count from information_schema.tables where table_name=:table &lt;/p&gt;
&lt;p&gt;Is it returning incorrect results?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
John&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Currier</dc:creator><pubDate>Fri, 20 Jun 2014 15:41:35 -0000</pubDate><guid>https://sourceforge.netf0c3acd8e0e68b16ce500c48c48700cbd2fb30ce</guid></item><item><title>ora.properties - invalid selectRowCountSql</title><link>https://sourceforge.net/p/schemaspy/patches/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;We use Oracle with some large tables and want to show the number of rows in the SchemaSpy output. However, scanning these tables to count number of rows takes too long.&lt;/p&gt;
&lt;p&gt;The solution offered for different dbTypes is great. However, the selectRowCountSql included in the default ora.properties is not quite correct. &lt;/p&gt;
&lt;p&gt;The following does the trick and works with Oracle 11.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;selectRowCountSql&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;select&lt;/span&gt; &lt;span class="n"&gt;num_rows&lt;/span&gt; &lt;span class="n"&gt;row_count&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="n"&gt;all_tables&lt;/span&gt; &lt;span class="n"&gt;where&lt;/span&gt; &lt;span class="n"&gt;table_name&lt;/span&gt;&lt;span class="o"&gt;=:&lt;/span&gt;&lt;span class="n"&gt;table&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;owner&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;owner&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Would it be possible to get the default ora.properties updated?&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Mark&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Berger</dc:creator><pubDate>Wed, 04 Jun 2014 05:17:59 -0000</pubDate><guid>https://sourceforge.netb11853e4b60ae5c12d041e45dfa2cd09fba52bab</guid></item><item><title>hsqldb in-memory config</title><link>https://sourceforge.net/p/schemaspy/patches/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;Here's an additional hsqldb config file - this time for an in-memory db. It's based on the current hsqldb.properties file with a one line change:&lt;/p&gt;
&lt;p&gt;connectionSpec=jdbc:hsqldb:mem:&lt;/p&gt;
&lt;p&gt;Thanks for creating SchemaSpy!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Matt &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew Smith</dc:creator><pubDate>Tue, 25 Feb 2014 22:39:18 -0000</pubDate><guid>https://sourceforge.nete18d080200c184e1778e354cc37b2b1054a956c4</guid></item><item><title>Add option to disable remote schemas</title><link>https://sourceforge.net/p/schemaspy/patches/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch adds a '-noremote' option, which will ignore FK references to/from tables in remote schemas&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Lewandowski</dc:creator><pubDate>Mon, 04 Mar 2013 17:35:26 -0000</pubDate><guid>https://sourceforge.neta9b06919305d68e633107c7a1545a14aab332362</guid></item><item><title>Localization of HTML (+DE translation)</title><link>https://sourceforge.net/p/schemaspy/patches/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The attached patch allows easy localization of the HTML output file and the GUI using property resources. It includes already a translation to German (Default is English). There is a new command line parameter that allows switching the language independently from JVM locale.&lt;br /&gt;
-lang de_CH&lt;br /&gt;
-lang fr&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mario anders</dc:creator><pubDate>Wed, 06 Feb 2013 22:06:39 -0000</pubDate><guid>https://sourceforge.netc61d4b4094c221ad4bd8952e90a86c97771ec121</guid></item><item><title>Using SchemaSpy with SqlServer 2008 + sqljdbc4.jar</title><link>https://sourceforge.net/p/schemaspy/patches/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using cygwin + SqlServer 2008 + sqljdbc4.jar can throw an error, caused by the variant type of some queries defined in mssql05.properties.&lt;/p&gt;
&lt;p&gt;If you need to use sqljdbc4.jar with SqlServer2008, remember to cast these columns, as follows:&lt;/p&gt;
&lt;p&gt;# return table_name, comments for current schema&lt;br /&gt;
# SQL provided by Stefano Santoro&lt;br /&gt;
selectTableCommentsSql=SELECT CONVERT(varchar(200),i_s.TABLE_NAME) as TABLE_NAME, CONVERT(varchar(200),s.value) AS comments FROM INFORMATION_SCHEMA.Tables i_s \
INNER JOIN sys.extended_properties s ON s.major_id = OBJECT_ID(i_s.table_catalog + '..' + i_s.table_name) \
WHERE s.class = 1 AND s.name = 'MS_Description'&lt;/p&gt;
&lt;p&gt;# reference: &lt;a href="http://databases.aspfaq.com/schema-tutorials/schema-how-do-i-show-the-description-property-of-a-column.html" rel="nofollow"&gt;http://databases.aspfaq.com/schema-tutorials/schema-how-do-i-show-the-description-property-of-a-column.html&lt;/a&gt;&lt;br /&gt;
# return table_name, column_name, comments for a specific :schema&lt;br /&gt;
# SQL provided by Ernest Zapata &lt;br /&gt;
selectColumnCommentsSql=SELECT CONVERT(varchar(200),OBJECT_NAME(c.object_id)) AS TABLE_NAME, CONVERT(varchar(200),c.name) AS COLUMN_NAME, CONVERT(varchar(200),ex.value) AS comments FROM sys.columns c LEFT OUTER JOIN sys.extended_properties ex ON ex.major_id = c.object_id AND ex.minor_id = c.column_id AND ex.name = 'MS_Description' WHERE OBJECTPROPERTY(c.object_id, 'IsMsShipped')=0 ORDER BY OBJECT_NAME(c.object_id), c.column_id &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 09 Oct 2012 21:54:18 -0000</pubDate><guid>https://sourceforge.net0fe122fadb0610c6af284aaa547350d1db77cd05</guid></item><item><title>Support TimeTen database</title><link>https://sourceforge.net/p/schemaspy/patches/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tested against TimesTen 11.2.2&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stuart Turton</dc:creator><pubDate>Sun, 17 Jun 2012 23:25:06 -0000</pubDate><guid>https://sourceforge.net54803445e43c641ccb6193cf1e7ae3bdb3534540</guid></item><item><title>schemas option fails when called from maven </title><link>https://sourceforge.net/p/schemaspy/patches/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When called from a wrapping framework, such as Maven function getLoadedFromJar() does not return schemaspy*.jar, but return a JAR file associated with the calling framework.&lt;/p&gt;
&lt;p&gt;When the schemas option is used, incorrect java command-lines are generated: they fail because they are referencing the wrong JAR file.&lt;/p&gt;
&lt;p&gt;The canonical solution for this seems to be described at &lt;a href="http://stackoverflow.com/questions/320542/how-to-get-the-path-of-a-running-jar-file." rel="nofollow"&gt;http://stackoverflow.com/questions/320542/how-to-get-the-path-of-a-running-jar-file.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I tried it and it works (including in directories with spaces).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stuart Turton</dc:creator><pubDate>Sun, 13 May 2012 17:29:17 -0000</pubDate><guid>https://sourceforge.net209c5d22642919ddde485d4b1219904146f1dfac</guid></item><item><title>Functionality for zooming large diagrams</title><link>https://sourceforge.net/p/schemaspy/patches/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patches the latest trunk of SS to enable scaling down large diagrams so they fit in the width of the page. The link maps are scaled, as well, so table links are still usable on the scaled down image. A feature that's missing since I haven't had time to work on it is having the browser scroll to the scaled click coordinates where the location on the image is off the screen after the image is expanded.&lt;/p&gt;
&lt;p&gt;The patch is provided by Smart Software Solutions, Inc. (www.smartsoftwareinc.com)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Ward</dc:creator><pubDate>Wed, 21 Dec 2011 20:13:51 -0000</pubDate><guid>https://sourceforge.net1df83aa9c28dc01088973e141eedc8320627a371</guid></item></channel></rss>