Re: [Hibernate] Hibernate + JBoss Partnership

2003-09-18 Thread Gavin King
With better JBoss integration, any chance we will be able to get a Hibernate session cache to transparently follow the lifetime of an EJB transaction (across EJB method calls), just like CMP? This is the _only_ nice thing about CMP, I think. Yes, I think this is certainly something we will do. I'

[Hibernate] How to let hibernate use my own DataSource?

2003-09-18 Thread jun cai
Before I use hibernate,I haven written a datasource connection.Now I want to use that datasource.but I don't konw how to config hibernate.   I know sf.openSession(conn);   When session.close().the connection is close? Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: [Hibernate] Problem

2003-09-18 Thread Juozas Baliuka
Hibernate uses transactional reads and I think it can cause lock on table if you do not end a transaction, and try to use cache to optimize readonly operations. > I am executing select query do I require to open a transaction for that? > > One more thing need to ask is one of the table has the

RE: [Hibernate] Multiple Collections of Same Entity?

2003-09-18 Thread Les Hazlewood
Title: RE: [Hibernate] Multiple Collections of Same Entity? Can a Bar in the "bars" set also be in the "otherBars" set?  Or are the sets mutually exclusive? Les > -Original Message- > From: Snively, Paul (SMCI) [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 16, 2003 7:18 PM

[Hibernate] Id and interceptors

2003-09-18 Thread kiuma
I want that my interceptor set the id of an object on method onSave, but if i try to do it Hibernate dumps this message: identifier of an instance of it.lispa.turismo.persist.UserH altered from 0 to 2581275344897 How can i do ? thx, kiuma ---