[Xdoclet-user] does hibernate module 1.2 support select-before-update?

2004-01-16 Thread Galen Meurer
I wish to use the "select-before-update" attribute for a hibernate mapping. I have tried various things with no success and before I continue, I was hoping someone could confirm or deny my suspicion that it isn't supported by the hibernate module, v1.2. I'm into stuff I don't fully understand, but

[Xdoclet-user] Specifying @ejb.security-identity for autogenerated SessionFacade

2004-01-16 Thread ionel . gardais
Hi, Is it possible and how to specify additional parameters to a session facade generated with the @ejb.facade tag on entity beans ? I'd like to specify a "run-as" role to the facade. Thanks, Regards, Ionel ** The sender's emai

[Xdoclet-user] Hibernate composite-ids merging - Sorry forgot the subject in prev mail

2004-01-16 Thread Aleksandr Shneyderman
On Friday 16 January 2004 11:57, Aleksandr Shneyderman wrote: > I am trying to merge some non-XDoclet composite-id's of hibernate to my > hbm.xml files. > > Since hibernate does not have that capability I added a little merge point > in hibernate.xdt template right before the ids are generated. So

[Xdoclet-user] (no subject)

2004-01-16 Thread Aleksandr Shneyderman
I am trying to merge some non-XDoclet composite-id's of hibernate to my hbm.xml files. Since hibernate does not have that capability I added a little merge point in hibernate.xdt template right before the ids are generated. So that if I have a composite-id of the form: I can just inser

RE: [Xdoclet-user] Merging problems with hiberdoclet

2004-01-16 Thread Aleksandr Shneyderman
I am such a dufus! Thanks, that makes sense. Alex. >Unless your classes are in the default package (i.e. you have no package >declaration in their classes), then this is the wrong place. You should >place them *below* the merge directory, following the same package >structure as their correspo

Re: [Xdoclet-user] java bean xdoclet?

2004-01-16 Thread Konstantin Priblouda
> Using XDoclet for this kind of thing is pushing it a > bit far. I > generally recommend that code generation be used as > a "work-around" for > a technological platform that makes it cumbersome to > write everything by > hand. I mean technologies that require related > information to exist in

Re: [Xdoclet-user] java bean xdoclet?

2004-01-16 Thread Aslak Hellesøy
Konstantin Priblouda wrote: --- Henri Yandell <[EMAIL PROTECTED]> wrote: [no, not the @javabean one on the site, I think] Is there anything that let's me do: public class Person { /** * @read * @write */ String name; } If not, is there a technical reason why not? ie) docle

RE: [Xdoclet-user] EJB Value Objects and Lazy Loading

2004-01-16 Thread Brian Topping
Hi Andreas, The best way that I found to solve this problem is to use two different value objects for each entity, lets call them xxxLightValue and xxxFullValue. http://xdoclet.sourceforge.net/valueobjects.html has the method by which to create these in your class. In the full object, you will us

Re: [Xdoclet-user] ReplaceCopy task fails

2004-01-16 Thread Aslak Hellesøy
Chris Searle wrote: I'm using the ReplaceCopy task defined as: classpathref="class.path" name="replacecopy" classname="xdoclet.ant.ReplaceCopy" /> Don't use it. Ant's task with a nested instead. http://ant.apache.org/manual/CoreTasks/copy.html http://ant.apache.org/m

AW: [Xdoclet-user] NewBie: Am I right?

2004-01-16 Thread kkaal
Thanks, Andrew, you solved my problem. Now I am encountering 2 other problems: 1) I am using id as a primary key. -- In the Value-oobject, this is declared: private java.lang.Long id; private boolean idHasBeenSet = false; It creates a method: protected