Hi,

ich have a class and a mapping. Now I enhance the class and mapping
and I want to run SchemaUpdate from inside my code.

I add a property 'old' to my code as well as to the mapping file.
The generated sql update statement is:

alter table xattr add columnold VARCHAR(20)
alter table attributes add index (xxx), add constraint FK182DA9571D178 foreign key (xxx) references xattr (oid)


I believe it should be 'alter table xattr add column old VARCHAR(20)' so
a space between 'column' and 'old'. It added now a column called
columnold and not old.

I'm using 2.0.1 and mysql.

Oliver



-------------------------------------------------------
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
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to