Hi,
I'm using Spring & Hibernate with Oracle. In order to deal with the special NULL/empty handling of Oracle, I change the getter method to change NULL to empty string is null
e.g. public getName(String name) { if (name != null) return null; else return ""; }
once I change this, I got the hibernate exception saying that I don't have the update permission on the Oracle tables. It's because the Oracle account has only read-only permission.
why got this behaivour? if i remove the check null logic, it's working fine.
thanks!
|