<!-- name="generator" content="JBoss Wiki RSSPlugin" -->
<rss version="0.92">
<channel>
<title>JBoss Forge Wiki: JBossCacheHibernateTransactionsStandaloneExample</title>
<link>http://wiki.jboss.org/wikiJBossCacheHibernateTransactionsStandaloneExample</link>
<description>JBoss Wiki: JBossCacheHibernateTransactionsStandaloneExample</description>
<language>en</language>
<item>
<title>JBossCacheHibernateTransactionsStandaloneExample rev: 7</title>
<link>http://wiki.jboss.org/portal/default/wiki/WikiPortletWindow?action=1&amp;org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fviews%2Fwiki_view.xhtml&amp;page=JBossCacheHibernateTransactionsStandaloneExample&amp;version=7&amp;language=EN</link>
<description>Line 1 was replaced by line 1<br />
- !!! NOTE: In spite of the example working, transaction management is not working appropriately when it comes to both Hibernate and JBossCache participating of the same transaction. The reason is because at the time of writing this wiki, Hibernate did not allow to inject a JTA Transaction Manager which is not bound to JNDI. In the example, Hibernate creates a JDBC transaction and JBossCache a JTA transaction which are not linked together. To be able to make a Hibernate and JBossCache participant of the same JTA transaction in a standalone environment, customer code needs to be added to Hibernate to get around the JNDI/JTA coupling.<br />
+ !!! NOTE: In spite of the example working, transaction management is not working appropriately when it comes to both Hibernate and JBossCache participating of the same transaction. The reason is because at the time of writing this wiki, Hibernate did not allow to inject a JTA Transaction Manager which is not bound to JNDI. In the example, Hibernate creates a JDBC transaction and JBossCache a JTA transaction which are not linked together. This only affects standalone/non-managed environments.<br />
</description>
</item>
<item>
<title>JBossCacheHibernateTransactionsStandaloneExample rev: 6</title>
<link>http://wiki.jboss.org/portal/default/wiki/WikiPortletWindow?action=1&amp;org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fviews%2Fwiki_view.xhtml&amp;page=JBossCacheHibernateTransactionsStandaloneExample&amp;version=6&amp;language=EN</link>
<description>Line 1 was replaced by line 1<br />
- !!! NOTE: In spite of the example working, transaction management is not working appropriately when it comes to both Hibernate and JBossCache participating of the same transaction. The reason is because at the time of writing this wiki, Hibernate did not allow to inject a JTA Transaction Manager which is not bound to JNDI. In the example, Hibernate creates a JDBC transaction and JBossCache a JTA transaction which are not linked together. This only affects standalone/non-managed environments.<br />
+ !!! NOTE: In spite of the example working, transaction management is not working appropriately when it comes to both Hibernate and JBossCache participating of the same transaction. We're working to resolve this issue and provide a new version of this example.<br />
</description>
</item>
<item>
<title>JBossCacheHibernateTransactionsStandaloneExample rev: 5</title>
<link>http://wiki.jboss.org/portal/default/wiki/WikiPortletWindow?action=1&amp;org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fviews%2Fwiki_view.xhtml&amp;page=JBossCacheHibernateTransactionsStandaloneExample&amp;version=5&amp;language=EN</link>
<description>Removed lines 1-2<br />
- !!! NOTE: In spite of the example working, transaction management is not working appropriately when it comes to both Hibernate and JBossCache participating of the same transaction. We're working to resolve this issue and provide a new version of this example.<br />
- <br />
</description>
</item>
<item>
<title>JBossCacheHibernateTransactionsStandaloneExample rev: 4</title>
<link>http://wiki.jboss.org/portal/default/wiki/WikiPortletWindow?action=1&amp;org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fviews%2Fwiki_view.xhtml&amp;page=JBossCacheHibernateTransactionsStandaloneExample&amp;version=4&amp;language=EN</link>
<description>Line 1 was replaced by line 1<br />
- Attached to this wiki, you can find a standalone application which uses Hibernate, JBoss Cache as second level cache and JBoss Transaction as the transaction manager. For the example, the latest releases (Hibernate 3.2.2, JBoss Cache 1.4.1.SP2 and JBoss Transactions 4.2.2) where used as we're continuously working on the integration of these projects. A<br />
+ Attached to this wiki, you can find a standalone application which uses Hibernate, JBoss Cache as second level cache and JBoss Transaction as the transaction manager. For the example, the latest releases (Hibernate 3.2.2, JBossCache 1.4.1.SP2 and JBoss Transactions 4.2.2) where used as we're continuously working on the integration of these projects. A<br />
Removed lines 5-6<br />
- To build up this example, which is based in the [Hibernate tutorial|http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html], the [JBoss Cache and Hibernate wiki|JBossCacheHibernate] and the [Improving Perfomance chapter from the Hibernate documentation|http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html] have been used to provide the explanation to the configuration settings chosen.<br />
- <br />
</description>
</item>
<item>
<title>JBossCacheHibernateTransactionsStandaloneExample rev: 3</title>
<link>http://wiki.jboss.org/portal/default/wiki/WikiPortletWindow?action=1&amp;org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fviews%2Fwiki_view.xhtml&amp;page=JBossCacheHibernateTransactionsStandaloneExample&amp;version=3&amp;language=EN</link>
<description>Removed lines 22-32<br />
- <br />
- __Note:__<br />
- <br />
- When stopping a running instance of the example, the following WARN message is thrown:<br />
- <br />
- {{15:43:31,718  WARN TreeCache:195 - Error in stop jboss.cache:service=~TreeCache-Cluster}} \\<br />
- {{javax.management.~InstanceNotFoundException: jboss.system:service=~ServiceController}} \\<br />
- {{        at com.sun.jmx.interceptor.~DefaultMBeanServerInterceptor.getMBean(~DefaultMBeanServerInterceptor.java:1010)}} \\<br />
- {{...}}<br />
- <br />
- This warning and the stacktrace it logs can be ignore. We're working to fix the issue<br />
</description>
</item>
<item>
<title>JBossCacheHibernateTransactionsStandaloneExample rev: 2</title>
<link>http://wiki.jboss.org/portal/default/wiki/WikiPortletWindow?action=1&amp;org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fviews%2Fwiki_view.xhtml&amp;page=JBossCacheHibernateTransactionsStandaloneExample&amp;version=2&amp;language=EN</link>
<description>Line 9 was replaced by line 9<br />
- # in a console instance, execute: {{run.bat/sh -Dbind.address=127.0.0.1 -Dhibernate.hbm2ddl.auto=create}} (hibernate sys property set so that db schema's created. just do it first time you star the db, afterwards not needed till you restart db)<br />
+ # in a console instance, execute: {{run.bat -Dbind.address=127.0.0.1 -Dhibernate.hbm2ddl.auto=true}} (hibernate sys property set so that db schema's created. just do it first time you star the db, afterwards not needed till you restart db)<br />
</description>
</item>
<item>
<title>JBossCacheHibernateTransactionsStandaloneExample rev: 1</title>
<link>http://wiki.jboss.org/portal/default/wiki/WikiPortletWindow?action=1&amp;org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fviews%2Fwiki_view.xhtml&amp;page=JBossCacheHibernateTransactionsStandaloneExample&amp;version=1&amp;language=EN</link>
<description>This is first version of the page so it doesn't have diff yet</description>
</item>
</channel>
</rss>
