Hi Andrew,

no, I have found out that it's not necessary to open a JIRA issue for
the XDoclet team. It turned out to be such a small problem that I could
fix it with my latest change to one Hibernate cartridge template (see
HibernateEntity.vsl in AndroMDA CVS).

The problem was the following: The AndroMDA template generated

    @hibernate.discriminator

expecting XDoclet to assign a default name to the discriminator column
in the database table. XDoclet b2 did that and automatically assigned
the column name "class". XDoclet b3/b4 did not do it but instead
generated a CREATE TABLE statement with an *empty* column name (causing
an SQL sytax error). What I did to fix this:

    @hibernate.discriminator  column="class"

and everything worked just fine.

I cc this to the XDoclet-user list so that folks over there know about
this minor problem.

Cheers...
Matthias Bohlen

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Andrew Stevens
> Sent: Friday, July 25, 2003 7:28 AM
> To: Matthias Bohlen
> Cc: [EMAIL PROTECTED]; 
> [EMAIL PROTECTED]
> Subject: Re: [Andromda-user] AndroMDA 2.0.2final released
> 
> 
> On Thu, 2003-07-24 at 14:58, Matthias Bohlen wrote:
> > What I did not include:
> > * XDoclet 1.2b3/b4 because there is a bug in the Hibernate 
> module of 
> > the new XDoclet release that prevents the generation of a correct 
> > database schema.
> 
> Do you have an issue no.?  Time permitting, I'll look into it.
> 
> 
> Andrew.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including Data Reports, E-commerce, Portals, and Forums are 
> available now. Download today and enter to win an XBOX or 
> Visual Studio .NET. 
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
_072303_01/01
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to