"Francesco Storti" <francesco(dot)storti(at)gmail(dot)com> writes:
> Is there a problem in performing insert and update in a stored function
> called by java code?
Should work. Maybe you're rolling back the transaction later, or
something like that?
regards, tom lane