<?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: Customizing the DbSqlSessionFactory in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70931#M45869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a map "customSessionFactories" on the processEngineConfiguration. Add your factory to it, using the key DbSQLSesison.class. I think that should do the trick…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2011 08:38:39 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2011-08-25T08:38:39Z</dc:date>
    <item>
      <title>Customizing the DbSqlSessionFactory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70930#M45868</link>
      <description>Hello,I am trying to customize the DbSqlSessionFactory by sub-classing it. Basically, I want to add more specialized database specific queries without having to change DbSqlSessionFactory.Please let me know how do I make the activiti engine to use the subclass of DbSqlSessionFactory without having t</description>
      <pubDate>Thu, 25 Aug 2011 08:14:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70930#M45868</guid>
      <dc:creator>subramanya_murt</dc:creator>
      <dc:date>2011-08-25T08:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the DbSqlSessionFactory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70931#M45869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a map "customSessionFactories" on the processEngineConfiguration. Add your factory to it, using the key DbSQLSesison.class. I think that should do the trick…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 08:38:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70931#M45869</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-25T08:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the DbSqlSessionFactory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70932#M45870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for your input. I could successfully load my custom DbSqlSessionFactory &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 14:38:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70932#M45870</guid>
      <dc:creator>subramanya_murt</dc:creator>
      <dc:date>2011-08-25T14:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the DbSqlSessionFactory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70933#M45871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is my first post on this forum, so Hi everyone!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to do the same, but i'm using spring. And as opposed to Your advice of using map I use list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;MyDbSqlSessionFactory extends DbSqlSessionFactory implements SessionFactory&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;and has implemented methods as super-class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far i have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;…&lt;BR /&gt;&amp;lt;bean id="myDbSqlSessionFactory" class="com.my.MyDbSqlSessionFactory"/&amp;gt;&lt;BR /&gt;….&lt;BR /&gt;and in processEngineConfiguration bean:&lt;BR /&gt;….&lt;BR /&gt;&amp;lt;property name="customSessionFactories"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="myDbSqlSessionFactory"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="myManagerSessionFactory"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: myManagerSessionfactory Works just fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When Jetty initialize the context I have &lt;/SPAN&gt;&lt;STRONG&gt;NullPointerException&lt;/STRONG&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which source is shortly speaking &lt;/SPAN&gt;&lt;STRONG&gt;sqlSessionFactory&lt;/STRONG&gt;&lt;SPAN&gt; field&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm really stuck. In my Implementation i just want to override getStatement method&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 10:10:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-dbsqlsessionfactory/m-p/70933#M45871</guid>
      <dc:creator>alandemarest</dc:creator>
      <dc:date>2012-08-01T10:10:42Z</dc:date>
    </item>
  </channel>
</rss>

