<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to run sql script when nuxeo instance starts in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-sql-script-when-nuxeo-instance-starts/m-p/315124#M2125</link>
    <description>&lt;P&gt;Hi, we want to run sql script when our nuxeo instance starts. This script should create tables in database if this not exists. We do not want to use schemas contributions  because we do not want to manage those rows tables as documents types.&lt;/P&gt;
&lt;P&gt;We want to do something equals to nxp_logs because we will use those tables for stats&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2013 13:40:56 GMT</pubDate>
    <dc:creator>geekonspace</dc:creator>
    <dc:date>2013-10-31T13:40:56Z</dc:date>
    <item>
      <title>how to run sql script when nuxeo instance starts</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-sql-script-when-nuxeo-instance-starts/m-p/315124#M2125</link>
      <description>&lt;P&gt;Hi, we want to run sql script when our nuxeo instance starts. This script should create tables in database if this not exists. We do not want to use schemas contributions  because we do not want to manage those rows tables as documents types.&lt;/P&gt;
&lt;P&gt;We want to do something equals to nxp_logs because we will use those tables for stats&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 13:40:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-sql-script-when-nuxeo-instance-starts/m-p/315124#M2125</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2013-10-31T13:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to run sql script when nuxeo instance starts</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-sql-script-when-nuxeo-instance-starts/m-p/315125#M2126</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can configure VCS to do so. The documentation is here :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://doc.nuxeo.com/display/ADMINDOC/VCS+Configuration"&gt;http://doc.nuxeo.com/display/ADMINDOC/VCS+Configuration&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You have to specify a script in the sqlInitFile tag (See database creation option). This scripts holds some commands to pass to the backend given some condictions. As stated in the doc, you'll find some samples here &lt;A href="https://github.com/nuxeo/nuxeo-core/tree/master/nuxeo-core-storage-sql/nuxeo-core-storage-sql/src/main/resources/nuxeovcs"&gt;https://github.com/nuxeo/nuxeo-core/tree/master/nuxeo-core-storage-sql/nuxeo-core-storage-sql/src/main/resources/nuxeovcs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 10:14:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-sql-script-when-nuxeo-instance-starts/m-p/315125#M2126</guid>
      <dc:creator>Damien_Metzler</dc:creator>
      <dc:date>2013-11-04T10:14:40Z</dc:date>
    </item>
  </channel>
</rss>

