Hi, I have some tapestry-hibernate related questions:
1) if I have two concurrent services(A and B), each has Session injected. do A and B have their own transaction? 2) I have a table config that has a field 'nextID': 2.1 IDService has a method 'NextID()' which get the value from 'nextID' and increment it 2.2 AppendSerivce which uses IDService's NextID to get a number and assign to a new object, persist it if I have two instances of UserService(A and B) running, A will be successful in getting a new ID while B fails because it gets the same ID as A, any idea how to solve this problem? Thanks, Angelo -- View this message in context: http://www.nabble.com/T5%3A-Hibernate-and-services-tp19985886p19985886.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]