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
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
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
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
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
> 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
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
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
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
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
10 matches
Mail list logo