Re: Migration failed, was : defining child entities
Re: Migration failed, was : defining child entities
- Subject: Re: Migration failed, was : defining child entities
- From: Gustavo Pizano <email@hidden>
- Date: Mon, 17 Aug 2009 11:52:21 +0200
Hello sorry for the delay, I was in holidays...
sO this is the stack trace... I also tryed Section instead of area and the same occured.
Aug 17 11:50:39 BugReporter[55524] DEBUG NSLog - Finished initialization after launch: ERXExtensions
Aug 17 11:50:39 BugReporter[55524] DEBUG NSLog - Finished initialization after launch: ERPrototypes
Aug 17 11:50:39 BugReporter[55524] DEBUG NSLog - Finished initialization after launch: Ajax
Aug 17 11:50:39 BugReporter[55524] INFO er.extensions.appserver.ERXApplication - Welcome to BugReporter !
Aug 17 11:50:39 BugReporter[55524] WARN er.extensions.eof.ERXModelGroup - Clearing previous class descriptions
Aug 17 11:50:39 BugReporter[55524] WARN er.extensions.eof.ERXModelGroup - The EOModel 'erprototypes' has an empty connection dictionary.
Aug 17 11:50:39 BugReporter[55524] DEBUG NSLog - Using JDBCPlugIn 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@1287527
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - Using JDBCPlugIn 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@2466577
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - Using JDBCPlugIn 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@4438331
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - connecting with dictionary: {driver = "com.mysql.jdbc.Driver"; password = "<password deleted for log>"; username = "pizano"; URL = "" href="http://10.1.1.11/BugReporter">10.1.1.11/BugReporter"; }
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - Using JDBCPlugIn 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@8701358
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - fetching JDBC Info with JDBCContext@13514570
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - connecting with dictionary: {driver = "com.mysql.jdbc.Driver"; password = "<password deleted for log>"; username = "pizano"; URL = "" href="http://10.1.1.11/BugReporter">10.1.1.11/BugReporter"; }
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - fetched MySQL (MySQL) JDBC Info = {NON_NULLABLE_COLUMNS = "T"; DRIVER_NAME = "MySQL-AB JDBC Driver"; DBMS_NAME = "MySQL"; typeInfo = {ENUM = {defaultJDBCType = ("VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; BINARY = {defaultJDBCType = ("BINARY"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; TINYTEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; DOUBLE PRECISION = {defaultJDBCType = ("DOUBLE"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "17"; }; BIGINT UNSIGNED = {defaultJDBCType = ("BIGINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "20"; }; VARBINARY = {defaultJDBCType = ("VARBINARY"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; VARCHAR = {defaultJDBCType = ("VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; SMALLINT = {defaultJDBCType = ("SMALLINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "5"; }; INT UNSIGNED = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; SMALLINT UNSIGNED = {defaultJDBCType = ("SMALLINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "5"; }; RAW = {defaultJDBCType = ("LONG VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; TINYINT = {defaultJDBCType = ("TINYINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "3"; }; DOUBLE = {defaultJDBCType = ("DOUBLE"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "17"; }; MEDIUMBLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; CHAR = {defaultJDBCType = ("CHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; BIT = {defaultJDBCType = ("BIT"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "1"; }; LONGBLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "2147483647"; }; REAL = {defaultJDBCType = ("DOUBLE"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "17"; }; MEDIUMINT UNSIGNED = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "8"; }; BLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; INTEGER = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; BOOL = {defaultJDBCType = ("BIT"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "1"; }; MEDIUMTEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; SET = {defaultJDBCType = ("VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "64"; }; LONG VARBINARY = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; TINYINT UNSIGNED = {defaultJDBCType = ("TINYINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "3"; }; TIMESTAMP = {defaultJDBCType = ("TIMESTAMP"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; LONGTEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "2147483647"; }; TINYBLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; TEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; NUMERIC = {defaultJDBCType = ("NUMERIC"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "65"; }; DATE = {defaultJDBCType = ("DATE"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; BIGINT = {defaultJDBCType = ("BIGINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "19"; }; DECIMAL = {defaultJDBCType = ("DECIMAL"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "65"; }; TIME = {defaultJDBCType = ("TIME"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; INT = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; INTEGER UNSIGNED = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; LONG VARCHAR = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; MEDIUMINT = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "7"; }; DATETIME = {defaultJDBCType = ("TIMESTAMP"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; FLOAT = {defaultJDBCType = ("REAL"); createParams = "2"; maxScale = "38"; minScale = "-38"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; }; IDENTIFIER_QUOTE_STRING = "`"; ANSI92_CONFORMANCE = "ANSI92EntryLevel"; DRIVER_VER = "mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )"; STRING_FUNCTIONS = "ASCII,BIN,BIT_LENGTH,CHAR,CHARACTER_LENGTH,CHAR_LENGTH,CONCAT,CONCAT_WS,CONV,ELT,EXPORT_SET,FIELD,FIND_IN_SET,HEX,INSERT,INSTR,LCASE,LEFT,LENGTH,LOAD_FILE,LOCATE,LOCATE,LOWER,LPAD,LTRIM,MAKE_SET,MATCH,MID,OCT,OCTET_LENGTH,ORD,POSITION,QUOTE,REPEAT,REPLACE,REVERSE,RIGHT,RPAD,RTRIM,SOUNDEX,SPACE,STRCMP,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING_INDEX,TRIM,UCASE,UPPER"; }
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - connection disconnected.
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - fetching JDBC Info with JDBCContext@6258319
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - connecting with dictionary: {driver = "com.mysql.jdbc.Driver"; password = "<password deleted for log>"; username = "pizano"; URL = "" href="http://10.1.1.11/BugReporter">10.1.1.11/BugReporter"; }
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - fetched MySQL (MySQL) JDBC Info = {NON_NULLABLE_COLUMNS = "T"; DRIVER_NAME = "MySQL-AB JDBC Driver"; DBMS_NAME = "MySQL"; typeInfo = {ENUM = {defaultJDBCType = ("VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; BINARY = {defaultJDBCType = ("BINARY"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; TINYTEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; DOUBLE PRECISION = {defaultJDBCType = ("DOUBLE"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "17"; }; BIGINT UNSIGNED = {defaultJDBCType = ("BIGINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "20"; }; VARBINARY = {defaultJDBCType = ("VARBINARY"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; VARCHAR = {defaultJDBCType = ("VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; SMALLINT = {defaultJDBCType = ("SMALLINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "5"; }; INT UNSIGNED = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; SMALLINT UNSIGNED = {defaultJDBCType = ("SMALLINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "5"; }; RAW = {defaultJDBCType = ("LONG VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; TINYINT = {defaultJDBCType = ("TINYINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "3"; }; DOUBLE = {defaultJDBCType = ("DOUBLE"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "17"; }; MEDIUMBLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; CHAR = {defaultJDBCType = ("CHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; BIT = {defaultJDBCType = ("BIT"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "1"; }; LONGBLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "2147483647"; }; REAL = {defaultJDBCType = ("DOUBLE"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "17"; }; MEDIUMINT UNSIGNED = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "8"; }; BLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; INTEGER = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; BOOL = {defaultJDBCType = ("BIT"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "1"; }; MEDIUMTEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; SET = {defaultJDBCType = ("VARCHAR"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "64"; }; LONG VARBINARY = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; TINYINT UNSIGNED = {defaultJDBCType = ("TINYINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "3"; }; TIMESTAMP = {defaultJDBCType = ("TIMESTAMP"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; LONGTEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "2147483647"; }; TINYBLOB = {defaultJDBCType = ("LONG VARBINARY"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "255"; }; TEXT = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "65535"; }; NUMERIC = {defaultJDBCType = ("NUMERIC"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "65"; }; DATE = {defaultJDBCType = ("DATE"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; BIGINT = {defaultJDBCType = ("BIGINT"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "19"; }; DECIMAL = {defaultJDBCType = ("DECIMAL"); createParams = "2"; maxScale = "308"; minScale = "-308"; isNullable = "T"; isSearchable = "T"; precision = "65"; }; TIME = {defaultJDBCType = ("TIME"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; INT = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; INTEGER UNSIGNED = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; LONG VARCHAR = {defaultJDBCType = ("LONG VARCHAR"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "16777215"; }; MEDIUMINT = {defaultJDBCType = ("INTEGER"); createParams = "1"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "7"; }; DATETIME = {defaultJDBCType = ("TIMESTAMP"); createParams = "0"; maxScale = "0"; minScale = "0"; isNullable = "T"; isSearchable = "T"; precision = "0"; }; FLOAT = {defaultJDBCType = ("REAL"); createParams = "2"; maxScale = "38"; minScale = "-38"; isNullable = "T"; isSearchable = "T"; precision = "10"; }; }; IDENTIFIER_QUOTE_STRING = "`"; ANSI92_CONFORMANCE = "ANSI92EntryLevel"; DRIVER_VER = "mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )"; STRING_FUNCTIONS = "ASCII,BIN,BIT_LENGTH,CHAR,CHARACTER_LENGTH,CHAR_LENGTH,CONCAT,CONCAT_WS,CONV,ELT,EXPORT_SET,FIELD,FIND_IN_SET,HEX,INSERT,INSTR,LCASE,LEFT,LENGTH,LOAD_FILE,LOCATE,LOCATE,LOWER,LPAD,LTRIM,MAKE_SET,MATCH,MID,OCT,OCTET_LENGTH,ORD,POSITION,QUOTE,REPEAT,REPLACE,REVERSE,RIGHT,RPAD,RTRIM,SOUNDEX,SPACE,STRCMP,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING_INDEX,TRIM,UCASE,UPPER"; }
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "UPDATE _dbupdater SET lockowner = ?, updatelock = ? WHERE (modelname = ? AND (updatelock = ? OR lockowner = ?))" withBindings: 1:"BugReporter-xdev2.xws:-1"(lockOwner), 2:1(updateLock), 3:"BugReporterModel"(modelName), 4:0(updateLock), 5:"BugReporter-xdev2.xws:-1"(lockOwner)>
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Commit Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "SELECT t0.version FROM _dbupdater t0 WHERE t0.modelname = ?" withBindings: 1:"BugReporterModel"(modelName)>
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - fetch canceled
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - 1 row(s) processed
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Commit Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "UPDATE _dbupdater SET lockowner = NULL, updatelock = ? WHERE modelname = ?" withBindings: 1:0(updateLock), 2:"BugReporterModel"(modelName)>
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Commit Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Commit Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - Using JDBCPlugIn 'com.webobjects.jdbcadaptor.MySQLPlugIn' for JDBCAdaptor@10443545
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "UPDATE _dbupdater SET lockowner = ?, updatelock = ? WHERE (modelname = ? AND (updatelock = ? OR lockowner = ?))" withBindings: 1:"BugReporter-xdev2.xws:-1"(lockOwner), 2:1(updateLock), 3:"BugReporterModel"(modelName), 4:0(updateLock), 5:"BugReporter-xdev2.xws:-1"(lockOwner)>
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Commit Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "SELECT t0.version FROM _dbupdater t0 WHERE t0.modelname = ?" withBindings: 1:"BugReporterModel"(modelName)>
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - fetch canceled
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - 1 row(s) processed
Aug 17 11:50:40 BugReporter[55524] INFO er.extensions.migration.ERXMigrator - Upgrading BugReporterModel to version 1 with migration 'xws.bugReporter.migrations.BugReporterModel1@aec462'
Aug 17 11:50:40 BugReporter[55524] INFO er.extensions.jdbc.ERXJDBCUtilities - Executing CREATE TABLE Area(description VARCHAR(255) NOT NULL, id INTEGER NOT NULL, name VARCHAR(50) NOT NULL)
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Commit Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression: "UPDATE _dbupdater SET lockowner = NULL, updatelock = ? WHERE modelname = ?" withBindings: 1:0(updateLock), 2:"BugReporterModel"(modelName)>
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Commit Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Begin Internal Transaction
Aug 17 11:50:40 BugReporter[55524] DEBUG NSLog - === Rollback Internal Transaction
Aug 17 11:50:40 BugReporter[55524] ERROR er.extensions.appserver.ERXApplication - BugReporter failed to start.
MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Area(description VARCHAR(255) NOT NULL, id INTEGER NOT NULL, name VARCHAR(50) NO' at line 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1402)
at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1317)
at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:649)
at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:613)
at er.extensions.migration.ERXMigrationTable.create(ERXMigrationTable.java:797)
at xws.bugReporter.migrations.BugReporterModel1.upgrade(BugReporterModel1.java:27)
at er.extensions.migration.ERXMigrationDatabase$Migration.upgrade(ERXMigrationDatabase.java:444)
at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:456)
at er.extensions.eof.ERXEOAccessUtilities$ChannelAction.perform(ERXEOAccessUtilities.java:1455)
at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:201)
at er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1016)
... skipped 13 stack elements
Aug 17 11:50:40 BugReporter[55524] WARN NSLog - A fatal exception occurred: Migration failed.
[2009-8-17 11:50:40 CEST] <main> er.extensions.migration.ERXMigrationFailedException: Migration failed.
at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:473)
at er.extensions.eof.ERXEOAccessUtilities$ChannelAction.perform(ERXEOAccessUtilities.java:1455)
at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:201)
at er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1016)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546)
at com.webobjects.appserver.WOApplication.run(WOApplication.java:1229)
at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1111)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:548)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:632)
at xws.bugReporter.Application.main(Application.java:7)
Caused by: java.lang.RuntimeException: Failed to execute 'CREATE TABLE Area(description VARCHAR(255) NOT NULL, id INTEGER NOT NULL, name VARCHAR(50) NOT NULL)'.
at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:653)
at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:613)
at er.extensions.migration.ERXMigrationTable.create(ERXMigrationTable.java:797)
at xws.bugReporter.migrations.BugReporterModel1.upgrade(BugReporterModel1.java:27)
at er.extensions.migration.ERXMigrationDatabase$Migration.upgrade(ERXMigrationDatabase.java:444)
at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:456)
... 16 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Area(description VARCHAR(255) NOT NULL, id INTEGER NOT NULL, name VARCHAR(50) NO' at line 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1402)
at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1317)
at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:649)
... 21 more
Any clues? pls? Imd epserated now
G.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden