Rectangle 27 0

I don't know Hibernate enough to comment on that part, but you could perhaps work around the error by overriding the datatypes in the INSERT statement:

<sql-insert callable="true">{call insert_wal (?::text, ?::numeric, <snip>?::timestamp, )::timestamp, <snip>)}</sql-insert>

You probably don't need to override all the fields, of course, just those causing problems.

I ended up overriding all the fields (maybe I only needed to override the numeric fields, but I got tired of trial-and-error), and it worked. Thanks!

hibernate mapping for postgresql "timestamp without time zone"? - Stac...

hibernate postgresql jdbc types
Rectangle 27 0

I don't know Hibernate enough to comment on that part, but you could perhaps work around the error by overriding the datatypes in the INSERT statement:

<sql-insert callable="true">{call insert_wal (?::text, ?::numeric, <snip>?::timestamp, )::timestamp, <snip>)}</sql-insert>

You probably don't need to override all the fields, of course, just those causing problems.

I ended up overriding all the fields (maybe I only needed to override the numeric fields, but I got tired of trial-and-error), and it worked. Thanks!

hibernate mapping for postgresql "timestamp without time zone"? - Stac...

hibernate postgresql jdbc types