apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guilherme Hott <guilhermeh...@gmail.com>
Subject Re: JDBC update output operator
Date Mon, 12 Jun 2017 22:21:06 GMT
Thanks, I did it. But I have to use "INSERT .. ON DUPLICATE KEY UPDATE ..."
because in the test is using "MERGE..." and it's not supported by mysql.



On Mon, Jun 12, 2017 at 12:49 PM, Sanjay Pujare <sanjay@datatorrent.com>
wrote:

> Not an example but there is a test for that operator https://github.com/
> apache/apex-malhar/blob/master/library/src/test/java/
> com/datatorrent/lib/db/jdbc/JdbcPojoOperatorTest.java which might be
> useful?
>
> On Mon, Jun 12, 2017 at 11:08 AM, Guilherme Hott <guilhermehott@gmail.com>
> wrote:
>
>> Nice, yeah, an example will be helpful. Thanks a lot.
>>
>> On Mon, Jun 12, 2017 at 10:27 AM, Sanjay Pujare <sanjay@datatorrent.com>
>> wrote:
>>
>>> There is an operator https://www.datatorrent.com/docs/apidocs/com/datato
>>> rrent/lib/db/jdbc/JdbcPOJONonInsertOutputOperator.html .
>>>
>>> Did you want an example about how to use it?
>>>
>>>
>>> On Mon, Jun 12, 2017 at 9:16 AM, Guilherme Hott <guilhermehott@gmail.com
>>> > wrote:
>>>
>>>> Hi guys, what is the best solution for a jdbc update output operator?
>>>>
>>>> Best
>>>>
>>>
>>>
>>
>>
>> --
>> *Guilherme Hott*
>> *Software Engineer*
>> Skype: guilhermehott
>> @guilhermehott
>> https://www.linkedin.com/in/guilhermehott
>>
>>
>


-- 
*Guilherme Hott*
*Software Engineer*
Skype: guilhermehott
@guilhermehott
https://www.linkedin.com/in/guilhermehott

Mime
View raw message