My Oracle Support Banner

PreparedStatement and Hibernate(JPA) Not Returning Results When Database Column Is CHAR (Doc ID 1327363.1)

Last updated on JUNE 26, 2021

Applies to:

JDBC - Version 11.2.0.2.0 and later
Information in this document applies to any platform.

Symptoms


The following code does not return any results if the type of column in the database is CHAR, e.g. CHAR(6):



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.