I have a java project that gets data from the CMS, then I put it into a function to retrieve more data and store a piece of that info into an oracle database that has WE8ISO8859P15 (just a non utf-8 charset) as charset.
I found that if I use NCLOB or NVARCHAR2 I can store data in utf-16, the problem is that i have an old version of hibernate (4.1.4final) which doesn't have the tag @Nationalized to implement those two types.
What can I do? Is there a way to bypass the @Nationalized tag or is there another solution which can set the data into the db with no problems (like for example the CONVERT method from oracle)?
Edit:
I have updated hibernate to the version 4.1.10 (first version with @Nationalized), but don't know exactly where to put annotation and which one do i have to put?