Thanks for the update Francisco. I had one more query:
In Oracle the syntax for calling a stored procedure is Session sess = (Session) entityManager.getDelegate(); sess.createSQLQuery("{ call reset() }").executeUpdate();
Can you please let me know if the below equivalent for postgres is correct? Session sess = (Session) entityManager.getDelegate(); sess.createSQLQuery("select reset()");
On Tue, Feb 13, 2018 at 12:39 PM, rob stone <floriparob@gmail.com> wrote: >> long count = ((BigDecimal)ic.get(“EB”)).longValue(); .. > The method is documented as:- > public static BigDecimal valueOf(long val)
His problem seems to be the opposit, he does not have the long value and wants it. Francisco Olarte.