Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0.GA
    • Fix Version/s: 3.3.0.CR1
    • Component/s: Toolset
    • Labels:
      None
    • Sprint:

      Description

      Using the SchemaUpdate tool with MySQL 5 database fails without throwing an exception. It simply runs several seconds, then returns. The following exception can be found in the log files (if they are active):

      2011-12-07 09:49:53.467 | 10 | ERROR | SchemaUpdate | could not complete schema update
      Exception OverflowException: Der Wert für einen Int32 war zu groß oder zu klein.
      bei System.Convert.ToInt32(Int64 value)
      bei System.Int64.System.IConvertible.ToInt32(IFormatProvider provider)
      bei System.Convert.ToInt32(Object value)
      bei NHibernate.Dialect.Schema.MySQLColumnMetadata..ctor(DataRow rs)
      bei NHibernate.Dialect.Schema.MySQLTableMetadata.GetColumnMetadata(DataRow rs)
      bei NHibernate.Dialect.Schema.AbstractTableMetadata.AddColumn(DataRow rs)
      bei NHibernate.Dialect.Schema.AbstractTableMetadata.InitColumns(IDataBaseSchema meta)
      bei NHibernate.Dialect.Schema.AbstractTableMetadata..ctor(DataRow rs, IDataBaseSchema meta, Boolean extras)
      bei NHibernate.Dialect.Schema.MySQLTableMetadata..ctor(DataRow rs, IDataBaseSchema meta, Boolean extras)
      bei NHibernate.Dialect.Schema.MySQLDataBaseSchema.GetTableMetadata(DataRow rs, Boolean extras)
      bei NHibernate.Tool.hbm2ddl.DatabaseMetadata.GetTableMetadata(String name, String schema, String catalog, Boolean isQuoted)
      bei NHibernate.Cfg.Configuration.GenerateSchemaUpdateScript(Dialect dialect, DatabaseMetadata databaseMetadata)
      bei NHibernate.Tool.hbm2ddl.SchemaUpdate.Execute(Action`1 scriptAction, Boolean doUpdate)System.OverflowException Der Wert für einen Int32 war zu groß oder zu klein. Int32 ToInt32(Int64)
      2011-12-07 09:49:53.472 | 10 | DEBUG | ConnectionProvider | Closing connection

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              carstenschuette Carsten Schuette
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?