] 
Henri Yandell commented on HHH-2691:
------------------------------------
This one looks like it's a duplicate of HHH-2692 and can be closed.
 Insert Into Select command outputs incorrect exception
 ------------------------------------------------------
                 Key: HHH-2691
                 URL: 
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2691
             Project: Hibernate3
          Issue Type: Bug
          Components: query-hql
    Affects Versions: 3.2.4.sp1
         Environment: Hibernate 3.2.4.sp1 with Annotations 3.3.0 And Validator 3.0.0
 MySQL 5.0.42
            Reporter: John Aylward
 receive following exception:
 org.hibernate.QueryException: number of select types did not match those for insert
[INSERT INTO ProviderInvoiceLineItem
(amount,billingAccount,circuit,description,invoice,type) SELECT
pili.amount,pili.billingAccount,pili.circuit,pili.description,:newInvoice,pili.type) FROM
com.cicat.bedrock.billing.model.ProviderInvoiceLineItem pili WHERE pili.invoice =
:oldInvoice]
 exception should be that token ')' is not excepected near "pili.type"
 Should not have gotten as far as it did, should have blown up on parsing the HQL 
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: