hi Hans,
I was working on that same issue, suddenly I am getting a new type of
error.. I have removed the odbc property. This is my current ospl config
setting for DBMSConnect::
<DbmsConnectService name="dbmsconnect">
<DbmsToDds publish_initial_data="false">
<NameSpace dsn="Spykar" partition="*" pwd="root" table="chatmsg"
usr="root">
<Mapping publish_initial_data="true" table="chatmsg"
topic="ChatTopic"/>
</NameSpace>
</DbmsToDds>
<Tracing>
<OutputFile>dbmsconnect.log</OutputFile>
</Tracing>
</DbmsConnectService>
This is the structure of my Database Table::
mysql> describe chatmsg;
+---------+-----------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+-----------------------+------+-----+---------+-------+
| userID | int(11) | NO | PRI | NULL | |
| content | varchar(6000) | YES | | NULL | |
| name | varchar(6000) | YES | | NULL | |
+---------+---------------+------+-----+---------+-------+
and this is the IDL file code ::
module chattest {
struct chatmsg
{
long userID;
string content;
string name;
};
#pragma keylist chatmsg userID
};
The error I am getting now is: OPERATIONAL (dbmsDataHandler) ->
Table 'chatmsg' could not be mapped to Topic .
I did not change anything other than removing ODBC property. What is
happening now? Why is the mapping not compatible here..?
--
Thanks & Regards
Ravi
_______________________________________________
OpenSplice DDS Developer Mailing List
[email protected]
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer