Posted on 2006-05-08 16:46
诗.程序.人生 阅读(156)
评论(0) 编辑 收藏 引用 所属分类:
ECO
改变connection配置中blobsize ,把1024改成65535。
还有原有的自增型字段,会变成长整型.这时最好直接再把长整型改为自增型.这个一定要早做.因为一旦有了数据就不大好改了.
设置PersistenceMapperXXX
PersistenceMapperxxx.SqlDatabaseConfig.SupportsDefaultColumnValues = false
PersistenceMapperxxx.SqlDatabaseConfig.UseSql92Joins = false.
PersistenceMapperxxx.SqlDatabaseConfig.DropColumnTemplate=
“ALTER TABLE <TableName> DROP COLUMN <ColumnName>”
It seems that the BooleanAsBit mapper stores "true" incorrectly. I suggest changing the mapper for System.Boolean to the one used in for example interbase (open the collection editor for PersistenceMapperxxx.SqlDatabaseConfig.PersistenceMappers, locate the System.Boolean entry and change the mapper to: Borland.Eco.Persistence.Default.BooleanAsInteger
After that, things should run fairly smoothly with Access...