Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: James Rivera   on Apr 01 In Java Category.

  
Question Answered By: Mark R   on Apr 01

If you have persistence.xml file in your project and you're using ORM framework like hibernate or toplink
<property name="toplink.jdbc.url" value="jdbc:mysql://localhost:3306/SCHEMA_NAME?characterEncoding=UTF-8" />

Otherwise in your code when you want to create a connection (JDBC) you have change your URL address.
I think using ?characterEncoding=UTF-8 will solve your problem

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on problem to insert persian text in mySql Or get search suggestion and latest updates.


Tagged: