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
social networking content management system
How to know if SCR replication is set up on Exchange 2007?
Save As box does not show "Desktop" icon as option
Can’t run GUI using ssh –Y
Access 2007 --- Run-time 2455: You entered an expression that has an invalid reference to the property LinkChildFields.
Sahi scripting for testing web pages
Access query
Laptop action keys not functioning on debian
How to install CURL on a Dedicated Windows Server
Formatting a Hard Drive with sensitive data