From: Vladimir G. <vla...@du...> - 2010-01-27 20:09:47
|
On Jan 27, 2010, at 2:42 PM, Hilmar Lapp wrote: > So does this mean that Hibernate assumes that no-one else is > touching the database while it is running. > Does this then also mean that we cannot touch the database (such as > for inserting data) through any other means than the running > instance of Hibernate while such an Hibernate is running? I.e., a > Java program that also uses Hibernate but runs as a separate process > won't do either. It's more like that the other program must respect the same convention for using hibernate_sequence that Hibernate in TB2 web front end uses. (I hope that a program on top of the TB2 DAO layer would respect it.) It is possible that the Hibernate convention is designed to allow for concurrent agents -- since it relies on transactional increments of hibernate_sequence. > Is this a situation that we can live with, or does this need to be > remedied? To have hope of meeting Feb 5, we have to live with it, I think. (Unless it also messes up data importing.) --VG |