Re: [Hibernate] New subproject proposal: a batching, client/server JDBC layer

2004-06-14 Thread Rob Butler
I've never used it, but this sounds similar to what you are proposing: http://rmijdbc.objectweb.org/ Later Rob > > I've been thinking about the problem of users who ask for > "lazy fetching from the client". As we keep explaining, > this is an incredibly bad idea, since transaction > demarcation

Re: [Hibernate] Hibernate & Spring Javabean instantiation

2003-12-01 Thread Rob Butler
> Have you taken a look at Interceptor.instantiate(Class clazz, Serializable id) ? > > With that you can do whatever you want regarding construction of objects ;) > Cool, exactly what I was looking for! That along with Hibernate's Lifecycle interface will do everything I was asking for in my

[Hibernate] Hibernate & Spring Javabean instantiation

2003-12-01 Thread Rob Butler
I have posted this to the Hibernate & Spring mailing lists as I think this will require the involvement of both development teams to answer. Hibernate uses **javabean no-arg constructors** to instantiate objects and then uses javabean setters / getters when mapping from / to the database. Sprin

Re: [Hibernate] saveOrUpdateCopy()

2003-11-09 Thread Rob Butler
Hello all, This will probably be very useful in situations where we do not have full control of the object in question. For example Axis is a very good framework for implementing web services, as well as Java -> XML & XML -> Java binding. However without modification of Axis, the returned Java o

Re: [Hibernate] Patch to automatically load hibernate objects from an HttpRequest submitted

2003-09-23 Thread Rob Butler
This kind of thing is handled automatically, and very robustly in the Spring framework. The Spring framework also supplies good integration with Hibernate, and a very cool and innovative configuration system. You should check it out. The next web app I build will use Spring. www.springframework

Re: [Hibernate] JAAS integration?

2003-09-13 Thread Rob Butler
If I understand this right you could use this mechanism to tie JAAS / J2EE declarative security to application data permissions. I.E. J2EE declarative security handles Authentication (who am I), and Authorization (can I execute this code), but it doesn't handle can I see this data. By adding what