This question is locked. New answers and comments are not allowed.
Hi, I just moved to Telerim ORM from Vanatec OpenAccess.
I added some new persistent fields to my class and when I compile, I get the error
With earlier versions, OpenAccess made a database schema update script for me and there it first made the new field NULL then updated values and then altered the field as not null.
How do I get the script file?
I added some new persistent fields to my class and when I compile, I get the error
<P>c:\program files\telerik\openaccess orm\bin\VSchema.exe |
-assembly:C:\Projects\MesPal\LavaLib\bin\Release\LavaLib.dll -migrate</P> |
<P>Data truncated for column 'db_status_time' at row 1</P> |
<P>at |
Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.executeUpdate(String |
sql)</P> |
<P>at Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.execute(String |
sql)</P> |
<P>at |
OpenAccessRuntime.DataObjects.tools.ant.DataObjectsTaskBase.ExecuteSqlScript(String |
script, Connection con, SqlDriver sqlDriver, Boolean noShredder)</P> |
<P>OpenAccess Error: Telerik.OpenAccess: Updating SQL schema failed. |
Telerik.OpenAccess.OpenAccessException: SQL exception on 'ALTER TABLE `machine` |
CHANGE COLUMN `db_status_time` `db_status_time` DATETIME NOT NULL' : Data |
truncated for column 'db_status_time' at row 1</P> |
<P>OpenAccess Error: Data truncated for column 'db_status_time' at row </P> |
With earlier versions, OpenAccess made a database schema update script for me and there it first made the new field NULL then updated values and then altered the field as not null.
How do I get the script file?