Skip to main content

Convert "" to 0

No replies
danielwebdeveloper
Offline
Joined: 2010-09-14

Welcome

I have question.
I'm writting web application and I use JSF (2.0). In database I have field INTEGER (default value: NULL).
If I don't writing value in this field, value in database is 0, but I want NULL.
My server: Glassfish V3
Any ideas?