<?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 Re: Error while creating document with java api in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-while-creating-document-with-java-api/m-p/301399#M254529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The hibernate dialect error is generally a bit misleading and simply&amp;nbsp; means that your database connection is not correct.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check these properties in your alfresco-global.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.gjt.mm.mysql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And that the schema actually exists for db.name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've once had to set the dialect directly, but it should not be neccessary&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 14:46:25 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2013-07-29T14:46:25Z</dc:date>
    <item>
      <title>Error while creating document with java api</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-while-creating-document-with-java-api/m-p/301397#M254527</link>
      <description>hi i am running SdkFirstFoundation Client exampleimport java.io.Serializable;import java.util.HashMap;import java.util.Map;import org.alfresco.model.ContentModel;import org.alfresco.repo.content.MimetypeMap;import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback;im</description>
      <pubDate>Mon, 22 Jul 2013 06:08:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-while-creating-document-with-java-api/m-p/301397#M254527</guid>
      <dc:creator>priyankasoni</dc:creator>
      <dc:date>2013-07-22T06:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating document with java api</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-while-creating-document-with-java-api/m-p/301398#M254528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems that you didn't set "hibernate.dialect" property&amp;nbsp; or database connection information correctly &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:43:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-while-creating-document-with-java-api/m-p/301398#M254528</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-07-29T13:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating document with java api</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-while-creating-document-with-java-api/m-p/301399#M254529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The hibernate dialect error is generally a bit misleading and simply&amp;nbsp; means that your database connection is not correct.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check these properties in your alfresco-global.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.gjt.mm.mysql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And that the schema actually exists for db.name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've once had to set the dialect directly, but it should not be neccessary&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 14:46:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-while-creating-document-with-java-api/m-p/301399#M254529</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-07-29T14:46:25Z</dc:date>
    </item>
  </channel>
</rss>

