[Quickfix-users] ODBC support and table issue
Brought to you by:
orenmnero
From: ka w. <ka...@gm...> - 2009-07-04 15:39:15
|
Hi, I am trying to implement the ODBC support for QuickFIX.The four tables (event_log, messages, messages_log, sessions) are generated in the QuickFIX db. Data is written in three of the tables but here is my problem: nothing is written in the fourth table, the messages_log one. Can anyone help me on this? Here is an extract of the code in my application: this._settings = new QuickFix.SessionSettings(settingfile); this._messageStoreFactory = new OdbcStoreFactory(this._settings); this._logFactory = new OdbcLogFactory(this._settings); this._messageFactory = new QuickFix42.MessageFactory(); this._socketInitiator = new QuickFix.SocketInitiator(this, _messageStoreFactory, this._settings, this._logFactory, _messageFactory); Here is my configuration file: #Config file for the initiator # default settings for sessions [DEFAULT] ConnectionType=initiator OdbcLogUser=sa OdbcLogPassword=123 OdbcLogConnectionString=Driver={SQL Server Native Client 10.0};Server=PC-DE-K\SQLEXPRESS;Database=quickfix; OdbcStoreUser=sa OdbcStorePassword=123 OdbcStoreConnectionString=Driver={SQL Server Native Client 10.0};Server=PC-DE-K\SQLEXPRESS;Database=quickfix; ReconnectInterval=60 SenderCompID=KayInitiator UseDataDictionary = Y DataDictionary=FIX42.xml [SESSION] BeginString=FIX.4.2 TargetCompID=KayAcceptor StartTime=00:00:00 EndTime=00:00:00 # overide default setting for RecconnectInterval ReconnectInterval=20 HeartBtInt=30 SocketConnectPort=6523 SocketConnectHost=127.0.0.1 DataDictionary=FIX42.xml ResetOnLogon=Y |