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
Anti Virus/Maleware softwares used in business environment (cleaning client machines)
OWA 2010 published through TMG 2010
HP Pavilion Slimline not powering on
How can I run a stored procedure in ms sql server 2008 from excel 2003 vba
Help with top 1 relational query
How to write stored procudure so it doesn't time out
Plasma vs. LCD
Simple VBA question
Was Noach's wife idolizer woman?
Windows 7 Explorer Not showing all image icons/thumbnails