錯誤資訊:
解決方法:
i’ve genereated a schema for my (sql 2005) db using schemaexport, and it’s created a table
when i try to add an entity, i get the error:
solution:
nhibernate expects to find a value that stores the current hi value in that table, ie it first runs something like:
so all you need to do is seed that table with an initial number, ie:
參考文章:
<a href="http://blog.csdn.net/luo86106/article/details/7305809">在部署OLAT到myeclipse,資料庫配置正确的情況下,出現異常:error with hilo in nhibernate - “could not read a hi value - you</a>