I think NHCD-14 (http://nhjira.koah.net/browse/NHCD-14) explains your
actual problem. I'm trying to fix it in the trunk. Keep an eye out.


On Jul 28, 1:59 pm, nicco80 <[email protected]> wrote:
> Thanks!
> I also noticed that if a perform a
> NHibernate.Tool.hbm2ddl.SchemaExport the driver will first generate
> drop table statements and try to remove non existing constraints. This
> fails if performed directly on the database and so it is unable to
> proceed in generating the tables (if that is of any help).
> i currently replaced all RegisterColumnType calls in JetDialect.cs by
> either TEXT(255) or MEMO since
> e.g. create table x (
> Name TEXT(256)
> ) fails on my office 2003 with a 'field length to big error' to get
> rid of the issue.
>
> If i use
>                 NHibernate.Tool.hbm2ddl.SchemaExport schemaExport =
>                     new NHibernate.Tool.hbm2ddl.SchemaExport(cfg);
>
>                 schemaExport.SetOutputFile("myschema.sql"));
>
>                 schemaExport.Create(true, false); //first output the
> schema
> this tries to drop
>                 schemaExport.Create(false, true); //then try to
> execute against the db
> although i would expect the schema to be dropped via
>                 schemaExport.Drop(true, true);
>
> i've configured to use latest nhibernate 2.1ga binaries.
>
> Any hint on this is greatly appreciated!
> Kind regards
> Nico
>
> On Jul 28, 6:28 am, Hadi Eskandari <[email protected]> wrote:
>
> > Strange....I'll take a look today and will let you know.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to