2

what is the mapping between Float java type and postgresql type? I've try with numeric but i don't know in advance how big could be the precision

1 Answer 1

7

You can use general numeric without precision and scale.

Or use real for 4 byte float and double for 8 byte float.

Details on postgres Numeric Types here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.