Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.0-M2
-
Fix Version/s: 2.1.0
-
Component/s: Persistence Layer
-
Labels:None
-
Environment:Windows 7, Tomcat 6, Spring MVC, Oracle Express, JDK 6
Description
Hi everybody.
I have a problem with oracle profile.
When I execute queries with criteria or hsql i dont have problems.
But when execute sql queries, like this:
SimpleJdbcTemplate jdbcTemplate =
new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));
Table table = AnnotationUtils.findAnnotation(User.class, Table.class);
return jdbcTemplate.queryForObject(
"select password from " + table.name() + " where username=?", String.class, username);
The application throw the next exception: "Incorrect result size..." (more detail in the image).
WHat happend when use Oracle profile? With My SQL I dont have problems, but I must use Oracle.
Somebody can help me, please?
Thanks so much.
Sorry this issue is for 2.1.0-M2 version.