Re: [Hibernate-devel] mvc & lazy loading

2002-08-27 Thread Jon Lipsky
Hi All, I use a Filter (a new addition in the 2.3 servlet spec) to open and close my Hibernate sessions. By doing it this way it doesn't matter if I am using Velocity or JSP or something else to access Hibernate. As far as the "view" is concerned the Hibernate session just exists, and only the F

[Hibernate-devel] Re: mvc & lazy loading

2002-08-27 Thread Colin Evans
Hi Brad, I haven't tried this yet, but if I wanted to use lazy loading with Struts, I would probably override ActionServlet and do something like this, and have my DAO layer pull the session from the request context as needed: /** * Hibernate Action Servlet */ public class HibernateActionS

[Hibernate-devel] (no subject)

2002-08-27 Thread Lenny Sorey
--- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ Hibernate-devel mailing l

[Hibernate-devel] (no subject)

2002-08-27 Thread Lenny Sorey
--- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 ___ Hibernate-devel mailing l

[Hibernate-devel] boolean basic type

2002-08-27 Thread Mark Woon
Hi all... Can anyone tell me what Hibernate expects the db column type to be if I specify type="boolean" in the mapping file? Thanks, -Mark --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for F

Re: [Hibernate-devel] boolean basic type

2002-08-27 Thread Gavin_King/Cirrus%CIRRUS
This mail is probably spam. The original message has been attached along with this report, so you can recognize or block similar unwanted mail in future. See http://spamassassin.org/tag/ for more details. Content preview: Depends upon the database. Check the source of the cirrus.hibernate.sql