Do you know of any example code using JdbcWriterTemplate? I'm loathe to abandon a setup that has worked for me in the past but example code would help.
Thanks, Sean -----Original Message----- From: Finan, Sean [mailto:[email protected]] Sent: Monday, June 05, 2017 9:03 AM To: [email protected] Subject: RE: ctakes 4.0.0 YTEX DBConsumer not populating v_document_cui_sent Hi Sean, I am unfamiliar with all things ytex, but a cursory glance at that class makes me think that it is only meant to write an XMI file. You can have a look at JdbcWriterTemplate and its parent AbstractJdbcWriter in ctakes core.cc, which can write to an sql database. Sean -----Original Message----- From: Mullane, Sean *HS [mailto:[email protected]] Sent: Friday, June 02, 2017 6:04 PM To: [email protected] Subject: ctakes 4.0.0 YTEX DBConsumer not populating v_document_cui_sent I am using the DBConsumer AE to write annotations to a SQL Server database, but I can't get it to write out the CUIs to the database. Trying the prettyWriter consumer does show that my pipeline (the default fast piper) is annotating the CUIs; the problem seems to be between that and the YTEX DBConsumer. Can anyone suggest how I might figure out the problem? I have been working through the debugger in Eclipse but haven't had luck so far. I can provide detailed config information upon request. For what it's worth I have had a similar lack of success using the standard XML pipeline descriptor instead of the piper. The odd thing is that I had this working fine in 3.2.2, now when I revisit I can't get it to write CUI annotations to the database either. This leads me to believe this is a configuration issue but again, I have so far been unable to track it down. Thanks, Sean
