troubleshooting Question

Invalid sql error in Hibernate

Avatar of prsubject
prsubjectFlag for India asked on
Java EE
11 Comments1 Solution3900 ViewsLast Modified:
 My Named query -->            <sql-query name="validateAccount">
                                                     FROM  Acct a WHERE  a.acct_Nbr= :acctnum

    Acct a
    a.acct_Nbr= ?
2203 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 900, SQLState: 42000
2203 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00900: invalid SQL statement
Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros