Hi folks,

it is not true that AndroMDA uses Hibernate 1. Since V2.1.0 (Nov 24,
2003), we generate code for Hibernate 2!

Cheers...
Matthias

P.S.: If you see anything still related to Hibernate 1, this is
considered a bug. Please file a bug report at
http://sourceforge.net/tracker/?group_id=73047&atid=536545   Thanks!

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Andrew Stevens
> Sent: Friday, February 13, 2004 8:22 AM
> To: Sherman Wood
> Cc: 'Luciano Macedo Rodrigues (Opensoft)'; 
> [EMAIL PROTECTED]
> Subject: RE: [Andromda-user] Hibernate question
> 
> 
> On Fri, 2004-02-13 at 00:19, Sherman Wood wrote:
> > I use AndroMDA to just generate the Java source. My 
> application build 
> > process takes over:
> > 
> > - compiles the source
> > - runs hibernatedoclet to generate the mapping files + JBoss SAR 
> > descriptor
> > 
> > The SAR descriptor is the equivalent of the 
> hibernate.properties file. 
> > This is all documented at http://www.hibernate.org/66.html, where I 
> > wrote about the Hibernate 2.X process for JBoss.
> > 
> > In general, hibernate.properties lives outside the WAR. 
> Check out the 
> > Hibernate.org site to see the discussion about Tomcat integration, 
> > particularly http://www.hibernate.org/114.html.
> > 
> > The main issue for upgrading AndroMDA to Hibernate 2.X is in the 
> > hibernatedoclet task and parameters, and Hibernate class names - 
> > "cirrus.hibernate." is now "net.sf.hibernate.". See 66.html for the 
> > details
> > - they are the same regardless of doing things for JBoss or not.
> 
> Where are you still seeing cirrus.hibernate.?  If it's in the 
> service descriptor, what are you using as the version 
> parameter on the <hibernate> subtask in your build script?
> 
> The xdoclet tag handler checks the version parameter from the 
> <hibernate> subtask to determine the classname to use in the 
> <jbossservice> template.  Just specify <hibernate 
> version="2.0"/> and the service task ought to use 
> net.sf.hibernate.jmx.HibernateService
> automatically.
> 
> 
> Andrew.
> 
> 
> > 
> > Cheers,
> > 
> > 
> > Sherman
> > 
> > -----Original Message-----
> > From: Luciano Macedo Rodrigues (Opensoft) 
> > [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, February 12, 2004 3:32 PM
> > To: 'Sherman Wood'
> > Subject: RES: [Andromda-user] Hibernate question
> > 
> > > 
> > > You need to learn some things about Hibernate.
> > 
> > That's totally true :)
> > 
> > > 
> > > The hibernate-schema target in the Hibernate-template is only
> > > there for generating the DB creation script. It does not need 
> > > to connect to a DB to do that, so no properties being 
> available is OK.
> > > 
> > 
> > Yeah, I noticed that, but...
> > 
> > > The properties file is only useful if you are actually
> > > running Hibernate classes, which is not happening during the 
> > > AndroMDA build time.
> > 
> > .. how do I deploy Hibernate classes generated by AndroMDA? Can 
> > AndroMDA package my WAR file with hibernate.properties so I just 
> > deploy it and forget it?
> > 
> > > 
> > > Additionally, the Hibernate-template uses Hibernate 1.2,
> > > which is quite old now.
> > 
> > Hmmm.. And when we'll get support for Hibernate 2.0?
> > 
> > Luciano
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now! 
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to