<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/schemaspy/patches/" rel="alternate"/><link href="https://sourceforge.net/p/schemaspy/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/schemaspy/patches/</id><updated>2014-06-20T23:38:17.814000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#16 ora.properties - invalid selectRowCountSql</title><link href="https://sourceforge.net/p/schemaspy/patches/16/?limit=25#377f" rel="alternate"/><published>2014-06-20T23:38:17.814000Z</published><updated>2014-06-20T23:38:17.814000Z</updated><author><name>Mark Berger</name><uri>https://sourceforge.net/u/mhberger/</uri></author><id>https://sourceforge.net57bd93c838a72f30269723c30c486206015d7376</id><summary type="html">&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;</summary></entry><entry><title>#16 ora.properties - invalid selectRowCountSql</title><link href="https://sourceforge.net/p/schemaspy/patches/16/?limit=50#92d0" rel="alternate"/><published>2014-06-20T15:41:35.886000Z</published><updated>2014-06-20T15:41:35.886000Z</updated><author><name>John Currier</name><uri>https://sourceforge.net/u/johncurrier/</uri></author><id>https://sourceforge.netf0c3acd8e0e68b16ce500c48c48700cbd2fb30ce</id><summary type="html">&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;</summary></entry><entry><title>ora.properties - invalid selectRowCountSql</title><link href="https://sourceforge.net/p/schemaspy/patches/16/" rel="alternate"/><published>2014-06-04T05:17:59.635000Z</published><updated>2014-06-04T05:17:59.635000Z</updated><author><name>Mark Berger</name><uri>https://sourceforge.net/u/mhberger/</uri></author><id>https://sourceforge.netb11853e4b60ae5c12d041e45dfa2cd09fba52bab</id><summary type="html">&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;</summary></entry><entry><title>hsqldb in-memory config</title><link href="https://sourceforge.net/p/schemaspy/patches/15/" rel="alternate"/><published>2014-02-25T22:39:18.411000Z</published><updated>2014-02-25T22:39:18.411000Z</updated><author><name>Matthew Smith</name><uri>https://sourceforge.net/u/yetanothermatt/</uri></author><id>https://sourceforge.nete18d080200c184e1778e354cc37b2b1054a956c4</id><summary type="html">&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;</summary></entry><entry><title>Add option to disable remote schemas</title><link href="https://sourceforge.net/p/schemaspy/patches/14/" rel="alternate"/><published>2013-03-04T17:35:26Z</published><updated>2013-03-04T17:35:26Z</updated><author><name>Adam Lewandowski</name><uri>https://sourceforge.net/u/alewando/</uri></author><id>https://sourceforge.neta9b06919305d68e633107c7a1545a14aab332362</id><summary type="html">&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;</summary></entry><entry><title>Localization of HTML (+DE translation)</title><link href="https://sourceforge.net/p/schemaspy/patches/13/" rel="alternate"/><published>2013-02-06T22:06:39Z</published><updated>2013-02-06T22:06:39Z</updated><author><name>mario anders</name><uri>https://sourceforge.net/u/real-snowy/</uri></author><id>https://sourceforge.netc61d4b4094c221ad4bd8952e90a86c97771ec121</id><summary type="html">&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;</summary></entry><entry><title>Using SchemaSpy with SqlServer 2008 + sqljdbc4.jar</title><link href="https://sourceforge.net/p/schemaspy/patches/12/" rel="alternate"/><published>2012-10-09T21:54:18Z</published><updated>2012-10-09T21:54:18Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net0fe122fadb0610c6af284aaa547350d1db77cd05</id><summary type="html">&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;</summary></entry><entry><title>Support TimeTen database</title><link href="https://sourceforge.net/p/schemaspy/patches/11/" rel="alternate"/><published>2012-06-17T23:25:06Z</published><updated>2012-06-17T23:25:06Z</updated><author><name>Stuart Turton</name><uri>https://sourceforge.net/u/sturton/</uri></author><id>https://sourceforge.net54803445e43c641ccb6193cf1e7ae3bdb3534540</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Tested against TimesTen 11.2.2&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>schemas option fails when called from maven </title><link href="https://sourceforge.net/p/schemaspy/patches/10/" rel="alternate"/><published>2012-05-13T17:29:17Z</published><updated>2012-05-13T17:29:17Z</updated><author><name>Stuart Turton</name><uri>https://sourceforge.net/u/sturton/</uri></author><id>https://sourceforge.net209c5d22642919ddde485d4b1219904146f1dfac</id><summary type="html">&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;</summary></entry><entry><title>Functionality for zooming large diagrams</title><link href="https://sourceforge.net/p/schemaspy/patches/9/" rel="alternate"/><published>2011-12-21T20:13:51Z</published><updated>2011-12-21T20:13:51Z</updated><author><name>Michael Ward</name><uri>https://sourceforge.net/u/mwardssi/</uri></author><id>https://sourceforge.net1df83aa9c28dc01088973e141eedc8320627a371</id><summary type="html">&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;</summary></entry></feed>