#
isidro
Hi there!
First of all, let me excuse me for asking something I know there’s no official assistance, but you know, we poor souls like to push things a little too far every now and then!
I’m trying to user Cuyahoga with SQLite. By now I’ve manage to have it working partiall. I ported all databases and some dummy content I inserted in SQL Server.
After changing slightly Cuyahoga.Core classes to admit these new database systems, I’va started to see … the light! But this journey is not completely clear of troubles. Now when trying to save/update data I’m getting exceptions due to transactions.
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for Cuyahoga.Core.Domain.Node instance with identifier: 1
I’ve start changing the class CommonDao (Cuyahoga.Core.CommonDao) to remove the original transaction behavior.
[Transaction(TransactionMode.NotSupported)]
public virtual void SaveObject(object obj)
{
ISession session = this._sessionManager.OpenSession();
session.Save(obj);
}
Just for the sake of testing I was trying to understand if it would might solve the problem, but unfortunately this didn’t work.
Can you remember anything that can be tested out here? I’m really trying to make this work. I know SQLite is rather a modest DBMS, but for small traffic websites it is great.
Best regards,
Rui Isidro
First of all, let me excuse me for asking something I know there’s no official assistance, but you know, we poor souls like to push things a little too far every now and then!
I’m trying to user Cuyahoga with SQLite. By now I’ve manage to have it working partiall. I ported all databases and some dummy content I inserted in SQL Server.
After changing slightly Cuyahoga.Core classes to admit these new database systems, I’va started to see … the light! But this journey is not completely clear of troubles. Now when trying to save/update data I’m getting exceptions due to transactions.
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for Cuyahoga.Core.Domain.Node instance with identifier: 1
I’ve start changing the class CommonDao (Cuyahoga.Core.CommonDao) to remove the original transaction behavior.
[Transaction(TransactionMode.NotSupported)]
public virtual void SaveObject(object obj)
{
ISession session = this._sessionManager.OpenSession();
session.Save(obj);
}
Just for the sake of testing I was trying to understand if it would might solve the problem, but unfortunately this didn’t work.
Can you remember anything that can be tested out here? I’m really trying to make this work. I know SQLite is rather a modest DBMS, but for small traffic websites it is great.
Best regards,
Rui Isidro