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
Bottom border of web page in middle of page
.Net XML Serialization of complex objects
Export Table and Exclude a field in the export
DataGridView in Virtual Mode flickers when adding rows.
wiping ultra320 scsi drives
asp.net Can I put more that one mssql table 'field' in one GridView Column?
SNMP v3 on Cisco ASA
Does VOIP make sense for a small organization?
How to provide an additional/extra dll file when deployin a feature in sharepoint?
Converting GMT to EST