1 Reply Latest reply on Jul 20, 2016 4:10 AM by jaikiran pai

    Issue populating data

    Julio Cesar Rocha Vera Newbie

      Hello, I have an issue when I try to load data for testing using :

      <property name="javax.persistence.sql-load-script-source"

        value="META-INF/sql/data.sql" />

       

      My database, tables and data.sql are in UTF-8, but when the server deploys the application the data.sql that contains characters like "á, É" are inserted wrong in the tables. I deployed the same app on glassfish and it does not happend, all the data was inserted fine. My question is, there are some troubles with hibernate? I have to update it? Or Do I need some additional configuration?

      Thank you