[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout

2007-02-16 Thread JamesWoodward
Yes, in your session bean, you need to annotate your long running method as follows: @org.jboss.annotation.ejb.TransactionTimeout(3000) public void doSomethingThatTakesAges() { ... } James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [EJB 3.0] - Re: Updating JBoss 4.0.5.GA to use the latest Hibernate Jars

2007-02-12 Thread JamesWoodward
"lowecg2004" wrote : Where does hibernate-client.jar come from? I don't know! I've just been using the 3 hibernate jars for the client as well, sure they are bigger, but it works! ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014896#4014896 Reply to the

[jboss-user] [EJB 3.0] - Updating JBoss 4.0.5.GA to use the latest Hibernate Jars

2007-02-08 Thread JamesWoodward
Hi, I am using JBoss 4.0.5 which I installed using the ejb3 profile of jems-installer-1.2.0.GA.jar. I have then replaced the bundled hibernate 3.2.0.GA jar files jboss-4.0.5.GA\server\default\lib\hibernate3.jar jboss-4.0.5.GA\server\default\lib\hibernate-annotations.jar jboss-4.0.5.GA\server\de

[jboss-user] [EJB 3.0] - Re: FlushMode.MANUAL being ignored???

2007-02-08 Thread JamesWoodward
JIRA issues created. http://opensource.atlassian.com/projects/hibernate/browse/EJB-267 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012952#4012952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012952 ___

[jboss-user] [EJB 3.0] - Re: FlushMode.MANUAL being ignored???

2007-02-08 Thread JamesWoodward
Emmanuel's reply from the HEM forum. "emmanuel" wrote : Probably because I haven't implemented that yet :-) | Check JIRA and add one if it's not there. Put version 3.2.2 as a target. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012914#4012914 Reply to t

[jboss-user] [EJB 3.0] - FlushMode.MANUAL being ignored???

2007-02-07 Thread JamesWoodward
Hi, I recently purches the eBook "Java Persistence with Hibernate" and am working through the chapters. Why is it that this code reports a flushMode of AUTO, when it should be MANUAL? | @Stateful | public class MySessionBean implements MySession { | | private static final Log log

[jboss-user] [EJB 3.0] - Example of Database Locking

2007-01-31 Thread JamesWoodward
Hi, I've trawled through the forums and can't find a solution to what must be a common problem. I have 2 clients that each access their own SFSBs. They pass a list of Order objects to the SFSB. For each order, the SFSB makes a call to another SFSB which allocates a transaction id, which it rea