namedparameterjdbctemplate issue [DATAJDBC-117] #351
Labels
in: repository
Repositories abstraction
status: declined
A suggestion or change that we don't feel we should currently apply
type: bug
A general bug
rajashekar opened DATAJDBC-117 and commented
hi,
i am using the namedparameterjdbctemplate in my DAO for reading one table data and insert into another table.suppose here two student and student_details.
"insert into student_details (id,name,age,fees)"+
"select * from student(id,name,age where name=:name order by studentid ASC)
the problem here when I run query this in the database it is saving
id
1
10
11
12
2
20
21
but expected output:
id
1
2
3
4
5
"select * from student(id,name,age where name=:name order by studentid ASC)
the above query successfully working in Oracle database.
can you please help me to understand how to write the query to get the expected result
No further details from DATAJDBC-117
The text was updated successfully, but these errors were encountered: