Ok. My "Database" class may be bug or may be feature. I don`t know.
I make commits and rollbacks in threads and cant find differences between 1 connection or many =) If this feature don`t like - just not use it :) > I finally took a look at your code, Vsevolod. I'm really confused, because > you listed "Single database connection" as a *feature* -- why would you want > only one database connection? > > If you had left out your "Database" class in the middle then the code would > be fine: Storm manages the connections itself, creating one for each Store. > The way your code is written, though, the database connection is shared > among all threads, which means you have no isolation between your threads. -- Vsevolod Balashov http://vsevolod.balashov.name -- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
