<?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: Using GORM(Grails) instead of JPA... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-gorm-grails-instead-of-jpa/m-p/49205#M28325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look how the JPA-variables are hooked in. If you want to make custom variable, you should extend the VariableType and implement your own, storing the data you need in the available db-fields on the variable or in byte-array, exposed to you in the VariableType.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you also need some kind of initialisation of a transaction/entitymanager of some kind, have a look at EntityManagerSession and EntityManagerSessionFactory. These participate in the command-context and allow the JPAVariables to get hold of the entitymanager in the current command-context to fetch the actual entity when the variable is loaded…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The type and factory can be plugged in, no need to alter any activiti-sourcecode.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2011 05:31:03 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2011-06-22T05:31:03Z</dc:date>
    <item>
      <title>Using GORM(Grails) instead of JPA...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-gorm-grails-instead-of-jpa/m-p/49204#M28324</link>
      <description>Folks-&amp;nbsp; I'd like to use GORM entities as process variables, much the same way you can use JPA variables now, while using the grails-activiti plugin. What would have to be written to make this possible? Can someone outline necessary steps?&amp;nbsp; Thanks</description>
      <pubDate>Tue, 21 Jun 2011 17:01:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-gorm-grails-instead-of-jpa/m-p/49204#M28324</guid>
      <dc:creator>wolpert</dc:creator>
      <dc:date>2011-06-21T17:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using GORM(Grails) instead of JPA...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-gorm-grails-instead-of-jpa/m-p/49205#M28325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look how the JPA-variables are hooked in. If you want to make custom variable, you should extend the VariableType and implement your own, storing the data you need in the available db-fields on the variable or in byte-array, exposed to you in the VariableType.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you also need some kind of initialisation of a transaction/entitymanager of some kind, have a look at EntityManagerSession and EntityManagerSessionFactory. These participate in the command-context and allow the JPAVariables to get hold of the entitymanager in the current command-context to fetch the actual entity when the variable is loaded…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The type and factory can be plugged in, no need to alter any activiti-sourcecode.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 05:31:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-gorm-grails-instead-of-jpa/m-p/49205#M28325</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-06-22T05:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using GORM(Grails) instead of JPA...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-gorm-grails-instead-of-jpa/m-p/49206#M28326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info. I'll take a look and try to come up with a plan for the grails plugin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 16:46:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-gorm-grails-instead-of-jpa/m-p/49206#M28326</guid>
      <dc:creator>wolpert</dc:creator>
      <dc:date>2011-06-24T16:46:53Z</dc:date>
    </item>
  </channel>
</rss>

