Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects versions: 3.0.5
    • Fix versions: None
    • Components: hibernate-core
    • Labels:
      None
    • Environment:
      hibernate 3.0.5 , Oracle
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      I tried to excute this query

      select a.timeHrs|| ' : ' ||a.timeMins from CreatedTIme a

      instead of getting a result like this 8:30 iam getting an exception

      org.hibernate.QueryException: Not all named parameters have been set: [] [select a.timeHrs|| ' : ' ||a.timeMins from CreatedTIme a]
      at org.hibernate.impl.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:115)
      at org.hibernate.impl.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:102)
      at org.hibernate.impl.QueryImpl.list(QueryImpl.java:70)

      the string ' : ' is being taken as a named parameter declaration instead of a string

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: