This content has been marked as final. Show 7 replies
Can you put a part of your code here?
I would make sure you have the correct hibernate dialect configured in your persistence.xml file (the one for SQL server, perhaps there is even a dialect for your specific version of SQL server).
I am using the following dialect.
Exactly. And are you using MySQL?
No. You are using Microsoft SQL server if I have to believe your initial post. A quick google tells me that the dialect class to use is:
sorry, using mysql. and getting the problem.
And also, i am able to fetch other fields.
i need a way to fetch and show the image and remarks.
Hm, I would advise to use a blob and text type on the MySQL side and be sure to annotate your entity field with the @Lob annotation. That SHOULD work...