Character escaping with Hibernate ORM

Last week, a friend told me his developer shared that explicit character escaping is needed with Hibernate.

I doubted. Unless of course he was constructing his own SQL, which he wasn’t.

To prove, I did a simple insert into a VCHAR column of the Oracle table and found that the so called special characters of single quote and ampersand got persisted as it is. And no escaping was needed on my part.

— Post From My iPhone


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: