Q:

JPA 2 with Hibernate escapes Strings

I have a funny situation, where hibernate/jpa seems to escape \n with \\n:
String in DB: Hello World\nDude
String after entitymanager get in my POJO: Hello World\\nDude
can I get rid of this escaping funcionality?
Hmm..
Actually found the problem..
My Editor (MySQL Workbench) automatically escapes \n if you edit the table directly.
Therefore the escaping is from the MySQL Workbench and Java acts quite right :).

A:

Actually found the problem..
My Editor (MySQL Workbench) automatically escapes \n if you edit the table directly. Therefore the escaping is from the MySQL Workbench and Java acts quite right :).

