RE: [Hibernate] XDoclet Hibernate subtasks

2002-11-08 Thread Ara Abrahamian
> > I remember that you (Gavin) mentioned that the Xdoclet team would take > > over the Hibernate task. Is that going to happen? I see some project > > branching going on there towards some Jakarta templates too. > > Ara will accept the Hibernate module into their codebase but we would need > to m

RE: [Hibernate] Hibernate XDoclet task

2002-12-26 Thread Ara Abrahamian
It's a piece of cake: superclasses="true" in forAllMethods/forAllFields. Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of Gavin King > Sent: Thursday, December 26, 2002 10:28 AM > To: Pablo I. Lalloni > Cc: [EMAIL PROTECTED] >

RE: [Hibernate] Road Map

2002-12-23 Thread Ara Abrahamian
A configurable approach is indeed better than coding it. That'll be great to be able to define elements and specify which fields should be loaded for that policy. And a LoadPolicy class would make it possible to more dynamically specify what should be loaded. Ara. > -Original Message- >

[Hibernate] RE: Becoming an official XDoclet module

2002-12-06 Thread Ara Abrahamian
Well, Gavin once requested commit access to xdoclet's cvs for the hibernate module. In that period of time we've been discussing an approach for handling new modules without the need to put them in xdoclet's cvs. Now I'm +1 on hibernate in xdoclet's core and opening cvs access for its maintainer. S

RE: [Hibernate] does hibernate doclet supports joined-subclass?

2003-01-20 Thread Ara Abrahamian
Afaik it doesn't. I will probably need it too Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of Herve Tchepannou > Sent: Monday, January 20, 2003 4:39 AM > To: [EMAIL PROTECTED] > Subject: [Hibernate] does hibernate doclet s

RE: [Hibernate] How about a new mailinglist for announce?

2003-01-20 Thread Ara Abrahamian

RE: [Hibernate] remotely access persistent objects

2003-02-17 Thread Ara Abrahamian
I think you need something like EOB but anyway…   I implemented something like that. I add a CGLIB-based interceptor to my Hibernated objects, then whenever a dependent object or a collection of dependent objects are accessed by calling a getBlabla method I send a request to the server a

RE: [Hibernate] saveOrUpdate()

2003-01-23 Thread Ara Abrahamian
What about a isModified()? For tracking modification. Is it possible to add a modification-tracking="true" to a and let Hibernate decide whether an object is modified (a setter method actually changed a property, etc) and then only update that modified object and that specific field only? Ara.

[Hibernate] persister/cglib

2003-02-04 Thread Ara Abrahamian
Here is my sscenario: - I have some persistable classes, proxy=none. - I defined a CustomPersister class, there I override Persister.instantiate(Serializable) and use CGLIB to enhance the persistable class and intercept some methods (for change history, soap, blabla). persister="com.blablaCustomPe

[Hibernate] RE: [Xdoclet-user] Xdoclet, Middlegen and Hibernate

2002-11-25 Thread Ara Abrahamian
I'm willing to participate in this effort. Matt are you seriously interested in a middlegen-hibernate module? Ara. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aslak Hellesoy Sent: Monday, November 25, 2002 12:25 AM To: Matt Raible; 'XDoclet User List

RE: [Hibernate] saveOrUpdate()

2003-01-24 Thread Ara Abrahamian
> (1) An isDirty() interceptor callback, to allow an application to > implement its own dirty checking algorithm Good idea. In some case simple equals() is not enough. Let the application have some sort of control, if needed. > (2) A new property attribute; update="never|auto", to declare >

RE: [Hibernate] Generics

2004-02-12 Thread Ara Abrahamian
Couldn't you handle it with two separate filesets for ? Include JDK15Set.java in one and exclude it in the other one. No need for any source code level preprocessing hack. Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of Gavin

RE: [Hibernate] Roadmap...

2004-02-16 Thread Ara Abrahamian
> > It will just be built underneath existing functionality like > > delete(query) and orphan delete. It will support all > > Hibernate semantics. So this: > > > > session.delete("from Foo foo where foo.name like 'foo'") > > > > will cause two queries: > > > > SELECT ... FROM FOO WHERE NAME LIKE 'f

RE: [Hibernate] Startup time

2004-04-27 Thread Ara Abrahamian
Most probably loading the hbm files and creating metadata objects is the bottleneck? And the solution is to lazy load them? Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of Gavin King > Sent: Tuesday, April 27, 2004 12:43 PM > T

RE: [Hibernate] Startup time

2004-04-27 Thread Ara Abrahamian
> > 1/3rd of the total startup time goes to Configuration.addInputStream, > > nearly completely to dom4j.io.SaxReader.read Perhaps someone could migrate the xml loading stuff to use SAX instead of dom4j? Dom4j creates lots of objects. In my backup/restore code I saw a 10 times better performance b

RE: [Hibernate] Annotated collections

2004-05-08 Thread Ara Abrahamian
+1 to solution 1. But man it's verbose! I'd rather use the xml files instead ;-) Ara. > -Original Message- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of Emmanuel Bernard > Sent: Saturday, May 01, 2004 2:58 PM > Cc: [EMAIL PROTECTED] > Subject: Re: [Hi