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
HDD partition
"AC" colum has mac address if it does not have a - hyphen place one. If it already has do nothing.
DB2 Procedure
Call javascript function when reguular expression validator on the textbox fails!
remove part of an asp string
Migration from win 2008 sbs to one win 2008 dc\file server and one win 2008 exchange server.
VMX fto multiple machines
Fire Fox Portable - leave traces on host pc?
Oracle administrative group
Home drive showing root share instead of user share