Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7446547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:20:32+00:00 2026-05-29T12:20:32+00:00

We have an Oracle DB using UTF-8 (NLS_CHARACTERSET = AL32UTF8). We then have a

  • 0

We have an Oracle DB using UTF-8 (NLS_CHARACTERSET = AL32UTF8).
We then have a J2EE application in Glassfish which uses Hibernate.

While using SQL Plus or SQL Developer we can read and write the data correctly but we are not able to get special characters programmatically.

Reading an ä we get √§

Looking at similar questions I tried:

  • tuning Hibernate properties

    <property name="hibernate.connection.characterEncoding" value="utf8" />
    

  • adding the defaultNChar=true connection property in Glassfish

  • adding the defaultNChar connection property through Hibernate

    <property name="hibernate.connection.defaultNChar" value = "true"/>
    
  • setting the charset to utf8

    <property name="hibernate.connection.charSet" value="utf8" />
    

But I’m still not able to get any character which is not basic ASCII.

Any hint on what am I doing wrong?

Edit: with get I mean fetch with a select statement. Checking with a debugger or comparing with the correct (e.g., "ä") string with an assertion.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T12:20:32+00:00Added an answer on May 29, 2026 at 12:20 pm

    As stated in the comments I realized that the question does not make sense since there actually is no problem in the DB connection. As suggested in a meta-discussion I am explaining this as an answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have J2EE application built using Hibernate and struts. We have RMI registry based
I have an application that's using Oracle.DataAccess to connect. I've already discovered that the
I am using Oracle SQL (in SQLDeveloper, so I don't have access to SQLPLUS
I have a PHP application using an Oracle XE database. Whenever I add a
I'm using SQL*Plus 9.2 on Oracle 10g enterprise. I have created some scripts that
We are debugging a 32bit application, which connects to oracle using 32bit libraries. We
I have a small application which reads from a Oracle 9i database and sends
I have Oracle 11 database to which I connect using both JDBC and ODBC.
I am using Oracle Sql Developer I have a huge script that creates tables,
I have exported a schema from one Oracle database using SQL Developer (tools ->

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.