<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Introduction</title><link>https://sourceforge.net/p/dboutputter4rs/wiki/Introduction/</link><description>Recent changes to Introduction</description><atom:link href="https://sourceforge.net/p/dboutputter4rs/wiki/Introduction/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 24 Jan 2013 16:35:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dboutputter4rs/wiki/Introduction/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Introduction modified by Holzhauer</title><link>https://sourceforge.net/p/dboutputter4rs/wiki/Introduction/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;This documentation version is related to the plugin version 0.90 for&lt;br /&gt;
Repast Symphony 2.0.0. The database outputter works analogous to a file&lt;br /&gt;
outputter extending log4j’s . Like the file outputter, the database&lt;br /&gt;
outputter is configured via a 2-step wizard reusing/extending the file&lt;br /&gt;
outputter and JDBC freezedryer wizards. The code should integrate well&lt;br /&gt;
into simphony as a plugin.&lt;/p&gt;
&lt;p&gt;The performance of writing to a DB compared to a file is addressed by&lt;br /&gt;
adding the option to cache a certain number of SQL statements and&lt;br /&gt;
execute these at once. This might reduce the additional time to a&lt;br /&gt;
negligible amount. The advantage is to directly put data in the database&lt;br /&gt;
without getting confused about numerous files somewhere on the hard&lt;br /&gt;
disk.&lt;/p&gt;
&lt;p&gt;Features include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Caching of a definable number of outputs before SQL execution&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Uses prepared statements (MySQL)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Configuration via 2-step wizard&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Auto-completion for URL and driver in database properties wizard&lt;br /&gt;
    step&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ability to test MySQL connection&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose whether to store login information or to be prompted&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Integrates well in Repast Simphony as plugin folder&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Uses RS parameters to add information&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;RUN_ID&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PARAM_SET_ID&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Creates MySQL table if it does not exist&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run information management&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="selection-of-applied-runid"&gt;Selection of applied runID&lt;/h2&gt;
&lt;p&gt;The run information entry is usually made in the dabase at the first&lt;br /&gt;
loggin, even if caching is enabled. The run id for that entry is usually&lt;br /&gt;
indentified during the outputter’s initialisation during context&lt;br /&gt;
building (see table). An exception occurs when is called before.\&lt;/p&gt;
&lt;p&gt;cc|l&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;RUN_ID (RS)&lt;/th&gt;
&lt;th&gt;run info table given&lt;/th&gt;
&lt;th&gt;run id&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;set&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;td&gt;RUN_ID or next valid number&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;set&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;RUN_ID&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;not set&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;td&gt;MAX(runID) + 1 in run info&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;not set&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;MAX(runID) + 1 in result table&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Holzhauer</dc:creator><pubDate>Thu, 24 Jan 2013 16:35:32 -0000</pubDate><guid>https://sourceforge.neta245194b89bd3a7ed46f26be31742d75b735bd60</guid></item></channel></rss>