Well, let's see the queries you're sending, and your DIH configuration.

Otherwise, we're just guessing...

Best
Erick

On Wed, Dec 29, 2010 at 9:58 PM, Juan Manuel Alvarez <naici...@gmail.com>wrote:

> Hi! I would like to ask you a question about using a deltaQuery in DIH.
> I am syncing with a PostgreSQL database.
>
> At first I was calling a function that made two queries: an UPDATE and a
> SELECT.
> The select result was properly returned, but the UPDATE query did not
> made any changes,
> so I tried calling the same function from a PostgreSQL client and
> everything went OK.
>
> So I tried calling a simple UPDATE query directly in the deltaQuery
> and I receive a
> NullPointerException that I traced to the line 251 of the
> JdbcDataSource.java
> colNames = readFieldNames(resultSet.getMetaData());
>
> The question is: is there a way I can make the update query work in
> the deltaQuery
> or am I doing something wrong?
>
> Happy new year!!!!
> Cheers!
> Juan M.
>

Reply via email to