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
Wanted: Distribute emails based on their email-address
Submit form with link asp / javascript
How to correct the XPath Query in OpenXML statement to get the state for each row.
How to put a view on the back button of navigation bar?
Need to tie to Oracle tables v$sesstat and v$sqlarea
Looping through Emails in an Outlook folder using For next loop in C#.net
Dell 1737 Keyboard removal and replacement
see mode of database
We are unable to access database using following parameters.
Intel NIC Team failure after installing Windows Server 2003 SP2 on Dell PE 2850