Monday, February 18, 2008

Databases and sessions

Haiz after some testing, having 1 session per user might not be such a great idea after all. It's fantastic in the sense that dirty checking is done automatically and such, but if there's any problems with the graph, you're pretty much screwed. Not sure how easy it would be to ensure that there are no errors in the graph. Technically speaking, there shouldn't be any errors at all, otherwise the app won't work. Also, is there a way to test first? Hmmm. Sigh. Going to work on 1 with mini sessions and detached objects and see how it is. But I'm not sure how the detached objects will function in a multi user environment. The Hibernate folk also say don use detached objects... Haiz... Hmmm...

No comments:

Post a Comment