<?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 Using Database as Alfresco ContentStore in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-database-as-alfresco-contentstore/m-p/294632#M247762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm working with Alfresco 4.2 and i need to use a table in my database as document content store.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Collecting some informations hither and thither over the internet, i read that i have just to implement my custom DBContentStore DBContentWriter and DBContentReader classes. Someone told me to&amp;nbsp; take as reference the FileContentStore class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need some help to mapping the FileContentStore in order to match my new class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The DBContentWriter has to extend AbstractContentWriter and in the API docs i read that the only methods i have to overwrite are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;getReader() to create a reader to the underlying content&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;getDirectWritableChannel() to write content to the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about the second method? (&amp;nbsp; protected WritableByteChannel getDirectWritableChannel() )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it has to return a WritableByteChannel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i get the WritableByteChannel starting from a database connection? ie MySQL database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about the AbstractContent store? Should i just have to override the getWriter or getWriterInternal methods?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same for AbstractContentReader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 11:55:43 GMT</pubDate>
    <dc:creator>aliosha79</dc:creator>
    <dc:date>2015-02-16T11:55:43Z</dc:date>
    <item>
      <title>Using Database as Alfresco ContentStore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-database-as-alfresco-contentstore/m-p/294632#M247762</link>
      <description>Hi,i'm working with Alfresco 4.2 and i need to use a table in my database as document content store.Collecting some informations hither and thither over the internet, i read that i have just to implement my custom DBContentStore DBContentWriter and DBContentReader classes. Someone told me to&amp;nbsp; take a</description>
      <pubDate>Mon, 16 Feb 2015 11:55:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-database-as-alfresco-contentstore/m-p/294632#M247762</guid>
      <dc:creator>aliosha79</dc:creator>
      <dc:date>2015-02-16T11:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Database as Alfresco ContentStore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-database-as-alfresco-contentstore/m-p/294633#M247763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Someone had an oracle store a few years ago.&amp;nbsp;&amp;nbsp; Search these forums for more information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 15:45:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-database-as-alfresco-contentstore/m-p/294633#M247763</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-02-16T15:45:17Z</dc:date>
    </item>
  </channel>
</rss>

