From: Dirk O. <di...@xa...> - 2002-08-26 06:57:30
|
[...] > So I would like to deprecate the following methods: > > Session.insert(Object) > Session.insert(Object, Serializable) > > and add the following method > > Session.save(Object, Serializable) > > (which does exactly what Session.insert(Object, Serializable) used to > do.) I'd say go for it. Although I didn't do too much with Hibernate in the past, I was always a little bit annoyed about the distinction between save() and insert(). This should really be handled by the framework not by the developer. -dirk -- Anyway kids, have fun, play nicely, be good. And remember - if it ain't broke, hit it again. |