<?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 Problem using postgresql with alfresco 1.4 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56474#M34144</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;BR /&gt;&lt;SPAN&gt;I'm using Alfresco v1.4 and postgresql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to implement content rules on template folders like add a category to some contents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When creating a new folder from a template folder, i've got many errors like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Could not execute JDBC batch update; uncategorized SQLException for SQL [update alf_transaction set server_id=?, change_txn_id=? where id=?]; SQL state [null]; error code [0]; Batch entry 0 update alf_transaction set server_id=2, change_txn_id=1164741332220:d1207438-7f14-11db-87b8-1f40439417b1 where id=13451 was aborted.&amp;nbsp; Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 update alf_transaction set server_id=2, change_txn_id=1164741332220:d1207438-7f14-11db-87b8-1f40439417b1 where id=13451 was aborted.&amp;nbsp; Call getNextException to see the cause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying to open the content, i receive another error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:35:03,205 ERROR [[localhost].[/alfresco].[jsp]] Servlet.service() for servlet jsp threw exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.faces.el.EvaluationException: Cannot get value for expression '#{DocumentDetailsBean.categoriesOverviewHTML}'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is due to the initial error while creating tue folders and content rules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder what is happening about postgresql. I know postgresql must have quotes around values when executing queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to execute the query above :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;update alf_transaction set server_id=2, change_txn_id=1164741332220:d1207438-7f14-11db-87b8-1f40439417b1 where id=13451&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;with quotes : &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;update alf_transaction set server_id='2', change_txn_id='1164741332220:d1207438-7f14-11db-87b8-1f40439417b1' where id='13451'&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does someone agree with me that modifying the way sql queries are sent to postgresql by adding quotes should fix this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to do it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laurent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 19:22:30 GMT</pubDate>
    <dc:creator>lgr</dc:creator>
    <dc:date>2006-11-28T19:22:30Z</dc:date>
    <item>
      <title>Problem using postgresql with alfresco 1.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56474#M34144</link>
      <description>Hi,I'm using Alfresco v1.4 and postgresql.I'm trying to implement content rules on template folders like add a category to some contents.When creating a new folder from a template folder, i've got many errors like :Caused by: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: C</description>
      <pubDate>Tue, 28 Nov 2006 19:22:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56474#M34144</guid>
      <dc:creator>lgr</dc:creator>
      <dc:date>2006-11-28T19:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using postgresql with alfresco 1.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56475#M34145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume you've changed the hibernate dialect to the appropriate one for postgresql. If so, did this work before with Alfresco 1.3 or is this your first test? We haven't tried postgresql but we'd hope that it would work as it is apparently supported by Hibernate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else out there used postgresql successfully with Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 10:26:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56475#M34145</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-11-29T10:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using postgresql with alfresco 1.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56476#M34146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, i've changed the hibernate dialect. And the database was populated correctly at bootstrap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes, this is my first test, i was using mysql before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laurent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 10:33:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56476#M34146</guid>
      <dc:creator>lgr</dc:creator>
      <dc:date>2006-11-29T10:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using postgresql with alfresco 1.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56477#M34147</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;BR /&gt;&lt;SPAN&gt;In &lt;/SPAN&gt;&lt;STRONG&gt;custom-hibernate-dialect.properties&lt;/STRONG&gt;&lt;SPAN&gt; add the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;hibernate.show_sql=true&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Is there more stack trace associated with this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 16:47:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56477#M34147</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2006-12-01T16:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using postgresql with alfresco 1.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56478#M34148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll have to wait a few days before i reinstall Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But i'll make the test in the next installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Followups will be posted there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laurent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 16:55:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-using-postgresql-with-alfresco-1-4/m-p/56478#M34148</guid>
      <dc:creator>lgr</dc:creator>
      <dc:date>2006-12-01T16:55:50Z</dc:date>
    </item>
  </channel>
</rss>

