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
passing random values
Phones
Changing Servers in a domain environment
Shortcut to run application with local admin privileges.
Access VBA - send email for each record in a table
Removing specific tags in dreamweaver
Using MySQL Workbench to Connect to Remote Server
How do I adjust the lockout time on a 2008 terminal server?
Exchange NDRs reports getting to the users mailboxes becasue spam
How to select items in field up to a certain character