Hi, If anyone more familiar with Oracle can help me understand why StringTypeWithLengthFixture fails on Oracle and how it should be fixed, it would be much appreciated.
Note that the failure occurs during schema creation. This is the test run: http://teamcity.codebetter.com/viewLog.html?buildId=221442&tab=buildResultsDiv&buildTypeId=bt1099 With my changes made in: https://github.com/nhibernate/nhibernate-core/pull/481 (but note that the test case previously wasn't run on Oracle at all) The test case contains a string property mapped as: <property name="LongStringValue" type="String" column="longstr" length="4000" /> It was my understanding that Oracle allowed for this size? The dialect implementation seem to imply so. Bug in dialect? Dependent on character set? Or something else? Should I make the testcase use a different mapped length on Oracle to fix it? Extract from build log: [11:40:39] : [exec] 16) SetUp Error : NHibernate.Test.TypesTest.StringTypeWithLengthFixture [11:40:39] : [exec] SetUp : NHibernate.HibernateException : ORA-00910: specified length too long for its datatype [11:40:39] : [exec] ----> Oracle.ManagedDataAccess.Client.OracleException : ORA-00910: specified length too long for its datatype [11:40:39] : [exec] at NHibernate.Tool.hbm2ddl.SchemaExport.Execute(Action`1 scriptAction, Boolean execute, Boolean justDrop, TextWriter exportOutput) in D:\BuildAgent\work\3d9ffbdc3885dbb2\src\NHibernate\Tool\hbm2ddl\SchemaExport.cs:line 382 [11:40:39] : [exec] at NHibernate.Tool.hbm2ddl.SchemaExport.Execute(Action`1 scriptAction, Boolean execute, Boolean justDrop) in D:\BuildAgent\work\3d9ffbdc3885dbb2\src\NHibernate\Tool\hbm2ddl\SchemaExport.cs:line 334 [11:40:39] : [exec] at NHibernate.Tool.hbm2ddl.SchemaExport.Execute(Boolean useStdOut, Boolean execute, Boolean justDrop) in D:\BuildAgent\work\3d9ffbdc3885dbb2\src\NHibernate\Tool\hbm2ddl\SchemaExport.cs:line 327 [11:40:39] : [exec] at NHibernate.Tool.hbm2ddl.SchemaExport.Create(Boolean useStdOut, Boolean execute) in D:\BuildAgent\work\3d9ffbdc3885dbb2\src\NHibernate\Tool\hbm2ddl\SchemaExport.cs:line 105 [11:40:39] : [exec] at NHibernate.Test.TestCase.CreateSchema() in D:\BuildAgent\work\3d9ffbdc3885dbb2\src\NHibernate.Test\TestCase.cs:line 243 [11:40:39] : [exec] at NHibernate.Test.TestCase.TestFixtureSetUp() in D:\BuildAgent\work\3d9ffbdc3885dbb2\src\NHibernate.Test\TestCase.cs:line 102 Thanks, Oskar -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
