Microsoft
Software
Hardware
Network
Question : Invalid sql error in Hibernate
My Named query
--> <sql-query name="validateAccount">
FROM Acct a WHERE a.acct_Nbr= :acctnum
</sql-query>
Output
FROM
Acct a
WHERE
a.acct_Nbr= ?
2203 [main] WARN org.hibernate.util.JDBCExc
eptionRepo
rter - SQL Error: 900, SQLState: 42000
2203 [main] ERROR org.hibernate.util.JDBCExc
eptionRepo
rter - ORA-00900: invalid SQL statement
Answer : Invalid sql error in Hibernate
I changed <sql-query...> to <query...> for it to be HQL, not SQL query.
Random Solutions
Animate div not working correctly
How do I prevent the Reporting Services Parameter Bar disappearing?
excel checking unique values
Free Alternative Of Ms Sharepont Server
Movie Clip onRelease functions
Excel Drop Down Lists
html, select a default option in the <select>
empty date field
Help with Cisco bonded ADSL
Blackberry server ver 5 - how to setup sub folder sync for the user?