<?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 dbCreate strategy in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dbcreate-strategy/m-p/23152#M11166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Current DbSchema strategies are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; CREATE, CREATE_DROP, DROP_CREATE, CHECK_VERSION&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like one that CREATEs the schema if it doesn't already exist, but if it does already exist, then it runs CHECK_VERSION (and leaves the data alone).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e. I want schema creation to be an automatic part of my application bootstrap, not an explicit step that an admin must perform. (grails works this way quite well).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a reason why this would be a bad idea? Could I contribute a patch to provide this behaviour?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Sep 2010 00:02:53 GMT</pubDate>
    <dc:creator>mlawler</dc:creator>
    <dc:date>2010-09-20T00:02:53Z</dc:date>
    <item>
      <title>dbCreate strategy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dbcreate-strategy/m-p/23152#M11166</link>
      <description>Current DbSchema strategies are:&amp;nbsp; CREATE, CREATE_DROP, DROP_CREATE, CHECK_VERSIONI would like one that CREATEs the schema if it doesn't already exist, but if it does already exist, then it runs CHECK_VERSION (and leaves the data alone).i.e. I want schema creation to be an automatic part of my applic</description>
      <pubDate>Mon, 20 Sep 2010 00:02:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dbcreate-strategy/m-p/23152#M11166</guid>
      <dc:creator>mlawler</dc:creator>
      <dc:date>2010-09-20T00:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: dbCreate strategy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dbcreate-strategy/m-p/23153#M11167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;adding support for that capability in the implementation is wanted.&amp;nbsp;&amp;nbsp; but i don't want to expose that functionality as supported or normal usage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i recently switched from using an enum to a string configuration for that.&amp;nbsp; this way, the API can expose constant strings for CREATE_DROP (for testing) and CHECK_VERSION (in production) as those are the only ones that I want to see exposed to all users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all the other strategies (including the one you propose) should only be used if you know what you're doing.&amp;nbsp; i'm ok with supporting these, but not to have constants for those in the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you want to contribute, sign the contributor agreement (see wiki), create a jira issue and associate a patch with the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 13:04:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dbcreate-strategy/m-p/23153#M11167</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-09-20T13:04:17Z</dc:date>
    </item>
  </channel>
</rss>

