seems like a good idea, are you sure the code you added in your email is
sufficient ?

in that case I can easily commit it (I cannot properly test for the moment,
sorry)

-- Wouter

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Carlos
> Cuenca
> Sent: Saturday, September 18, 2004 5:08 PM
> To: 'Developers AndroMDA'
> Subject: [Andromda-devel] transactions and Hibernate
>
>
> Hi,
>
> I had been looking the templates and there is not support to Hibernate
> managed versioned (which is used for transactions). I think that there
> should be a property within this cartridge to specify the generator to
> genarate a field to support this. It should be written in the
> HibernateEntity.vsl and when active it should writte:
>
>    private int version;
>     /**
>     * @hibernate.version
>     *      column="version"
>     *       type="int"
>     *       unsaved-value="null"
>     */
>     public int getVersion()
>     {
>         return this.version;
>     }
>     public void setVersion(int version)
>     {
>         this.version = version;
>     }
>
> I think it should be a property of the cartridge to keep the model as
> independent as possible (this field should not be needed to be painted...)
>
> any comment??
>
> Thanks
>
> Carlos
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Andromda-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-devel



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to