aha, yes, I went by that in the build.xml but it didnt register.
Thanks
On Fri, 2004-07-30 at 12:16, Chad Brandon wrote:
> Yes actually, are you using the MySql Mappings for generation? They need to
> be changed from the hypersonic mappings in your namespace properties. The
> hypersonic mappings have the VARCHAR(256) for datatype.String so that would
> sound like the problem.
>
> Chad
>
> ----- Original Message -----
> From: "Martin West" <[EMAIL PROTECTED]>
> To: "Chad Brandon" <[EMAIL PROTECTED]>
> Cc: "Andromda User" <[EMAIL PROTECTED]>
> Sent: Friday, July 30, 2004 5:34 AM
> Subject: Re: [Andromda-user] Default string length varchar(256)
>
>
> > Any news on this?
> >
> > In the meantime I added the following snippet to target xdoclet in
> > hibernate/sar/build.xml
> >
> > <!-- correct value generated for String attributes -->
> > <replace dir="${basedir}/${xdoclet.gen.dir}" token="VARCHAR(256)"
> > value="VARCHAR(255)" summary="yes">
> > <include name="**/*.hbm.xml"/>
> > </replace>
> >
> > On Thu, 2004-07-29 at 17:48, Chad Brandon wrote:
> > > You're using hibernate to generate the DDL right? Did
> > > you set the hibernate dialect to be MySql?
> > >
> > > --- Martin West <[EMAIL PROTECTED]> wrote:
> > >
> > > > Is this a bug or restriction of mysql?
> > > >
> > > > SEVERE: Unsuccessful: create table LOCATION (ID
> > > > VARCHAR(255) not null,
> > > > class VARCHAR(255) not null, COMMUNICATION_FK
> > > > VARCHAR(255),
> > > > PARTY_LOCATION_ROLE_FK VARCHAR(255), PERIOD_FK
> > > > VARCHAR(255), NAME
> > > > VARCHAR(256), ADDRESS VARCHAR(256), COORDINATE
> > > > VARCHAR(256), NUMBER
> > > > VARCHAR(256), TURRET VARCHAR(256), TRANSACTION_I_D
> > > > VARCHAR(256),
> > > > BILL_GROUP VARCHAR(256), LINE_L_A_C VARCHAR(256),
> > > > CALL_TYPE
> > > > VARCHAR(256), primary key (ID))
> > > > 29-Jul-2004 17:38:10
> > > > net.sf.hibernate.tool.hbm2ddl.SchemaExport execute
> > > > SEVERE: Invalid argument value, message from
> > > > server: "Too big column
> > > > length for column 'NAME' (max = 255). Use BLOB
> > > > instead"
> > > >
> > > > --
> > > > Martin West
> > > > Head of Product Design and Development
> > > > http://www.star-map.net
> > > > +44(0)207 318 0308
> > > > +44(0)787 968 0096
> > > >
> > > >
> > > >
> > > >
> > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by OSTG. Have you
> > > > noticed the changes on
> > > > Linux.com, ITManagersJournal and NewsForge in the
> > > > past few weeks? Now,
> > > > one more big change to announce. We are now OSTG-
> > > > Open Source Technology
> > > > Group. Come see the changes on the new OSTG site.
> > > > www.ostg.com
> > > > _______________________________________________
> > > > Andromda-user mailing list
> > > > [EMAIL PROTECTED]
> > > >
> > > https://lists.sourceforge.net/lists/listinfo/andromda-user
> > > >
> > --
> > Martin West
> > Head of Product Design and Development
> > http://www.star-map.net
> > +44(0)207 318 0308
> > +44(0)787 968 0096
> >
>
--
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user