<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can I assign a MS SQL-based XpertIvySystemDataBase as the Designer's SystemDb</title><link>https://answers.axonivy.com/questions/2009/how-can-i-assign-a-ms-sql-based-xpertivysystemdatabase-as-the-designer-s-systemdb</link><description>&lt;p&gt;Hello together,&lt;/p&gt;
&lt;p&gt;in my Designer environment all cases, tasks etc. will only be available through the actual session; after close/reopen the Designer all this informations are lost und for example the TaskQuery will not work. &lt;/p&gt;
&lt;p&gt;In the meantime I defined the SystemDb as a Hypersonic  SQL DB in the Memory (like Q&amp;amp;A#996) but all the informations are also lost after restart the Designer.&lt;/p&gt;
&lt;p&gt;Is there a way to assign  a MS SQL-based XpertIvySystemDataBase as the Designer's SystemDb or to save the Hypersonic MemoryDb to MS-SQL to store all the contents permanently for further developing and testing?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Dieter &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2009/how-can-i-assign-a-ms-sql-based-xpertivysystemdatabase-as-the-designer-s-systemdb" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 08 Sep 2016 14:57:01 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/2009/how-can-i-assign-a-ms-sql-based-xpertivysystemdatabase-as-the-designer-s-systemdb/2012</link><description>&lt;p&gt;Create a Database Configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;database = Hypersonic SQL Db&lt;/li&gt;
&lt;li&gt;driver = HSQL Db Memory&lt;/li&gt;
&lt;li&gt;DatabaseName = AxonIvySystemDatabase&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Open the SQL query window and execute:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;SCRIPT 'c:/temp/myHsqlDbExport.sql'&lt;/code&gt; to export the full system db schema plus its content&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DROP SCHEMA PUBLIC CASCADE&lt;/code&gt; removes the default system db after a restart&lt;/li&gt;
&lt;li&gt;Paste the content of the previously exported SQL file to re-create the old version&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Normally you will run into escaping and encoding problems in the last step. A practical solution could be that you only re-import the INSERT statements instead of the whole SCHEMA+DATA to avoid these problems.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 08 Sep 2016 14:57:01 -0400</pubDate><guid>https://answers.axonivy.com/questions/2009/how-can-i-assign-a-ms-sql-based-xpertivysystemdatabase-as-the-designer-s-systemdb/2012</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/2009/how-can-i-assign-a-ms-sql-based-xpertivysystemdatabase-as-the-designer-s-systemdb/2010</link><description>&lt;p&gt;You can setup a standalone DB (like MsSql) with an Axon.ivy Engine Configuration UI. To run this DB in a Designer simply copy the &lt;code&gt;/configuration/serverconfig.xml&lt;/code&gt; of the engine into your designer.
With this approach you will need a license as well for the designer. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 07 Sep 2016 12:47:43 -0400</pubDate><guid>https://answers.axonivy.com/questions/2009/how-can-i-assign-a-ms-sql-based-xpertivysystemdatabase-as-the-designer-s-systemdb/2010</guid></item></channel></rss>