問:交易不可用?
當我打電話以下方法:
con.Begin_Transaction();
方法實現:
public void Begin_Transaction()
{
if (this.connection.State == ConnectionState.Open)
{
this.current_trans = this.connection.BeginTransaction(IsolationLevel.Serializable);
}
}
使用下列類:
DbProviderFactory providerFactory;
IfxConnection connection;
IfxCommand command;
IfxTransaction m_current_trans;
IfxParameter param;
IfxDataReader DR;
我得到以下異常:
IBM.Data.Informix.If異常:ERROR [HY000] [Informix的.NET 提供商] [Informix的]交易沒有 提供
什麼請問這裏有問題嗎? 在此先感謝。
你嘗試用另一種交易? –
是否爲數據庫打開了日誌記錄? – V4Vendetta
不好意思,另一種交易是什麼意思? –