Yeah, we thought about that.
I dismissed the idea because it was meaning to add 2 triggers for each table
in the application.
(and so far, we are not using triggers)

One solution was to have it in the mapping so it can be generated. But
that's not possible by itself.
So that's why we just upgraded the base class.

We don't want do generate java, we already have it.
We need the hbm.
In fact, all the current tools are awesome for a project that starts from
scratch with hibernate.
But there's not much support for project conversion from as far as I know.
I'm trying to fill the hole.

----- Original Message ----- 
From: "Christian Bauer" <[EMAIL PROTECTED]>
To: "Henri Tremblay" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 20, 2004 10:05 PM
Subject: Re: [Hibernate] Tools


> On 20 Jan (21:52), Henri Tremblay wrote:
>
> > An existing application is not really easy to convert but it's going
pretty well. The first thing that was missing was to be able to create
hbm.xml files. I tried class2hbm (and improved it a little) but it wasn't
enough. So on my free time I've started a HbmGenerator that creates a
hbm.xml file from the class, table and a field mapping between both. It
currently goes pretty well. I can map normal fields, user types (that we use
a lot) and tonigh I'll try to add associations. So I thought you might be
interested to see this app (and possibly add it to the hibernate tool set).
What do you think?
>
> Well, I think that the existing tools pretty much cover the same
> functionality. I remember that the POJO CodeGenerator (hbm2java) could
> need some help with the Velocity templates.
>
> > <property column="creation_date" value="sysdate"/>
> >
> > So to be able to hardcode a value in the sql call. But perhaps you have
a better idea?
>
> Use a trigger?
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> hibernate-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel
>


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to