HHH-6916 - Improper handling of primitive arrays in AbstractQueryImpl.registerParameterBinding
This commit is contained in:
parent
097e157329
commit
ef79491a8f
|
@ -26,6 +26,7 @@ package org.hibernate.ejb.criteria;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
import org.hibernate.annotations.GenericGenerator;
|
import org.hibernate.annotations.GenericGenerator;
|
||||||
|
|
||||||
|
@ -36,6 +37,7 @@ import org.hibernate.annotations.GenericGenerator;
|
||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
|
@Table(name="ENT_W_MANY_COLS")
|
||||||
public class MultiTypedBasicAttributesEntity {
|
public class MultiTypedBasicAttributesEntity {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue( generator = "increment" )
|
@GeneratedValue( generator = "increment" )
|
||||||
|
|
|
@ -32,8 +32,6 @@ import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.hibernate.Hibernate;
|
import org.hibernate.Hibernate;
|
||||||
import org.hibernate.criterion.CriteriaQuery;
|
|
||||||
import org.hibernate.ejb.criteria.MultiTypedBasicAttributesEntity;
|
|
||||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||||
import org.hibernate.ejb.test.Distributor;
|
import org.hibernate.ejb.test.Distributor;
|
||||||
import org.hibernate.ejb.test.Item;
|
import org.hibernate.ejb.test.Item;
|
||||||
|
@ -573,8 +571,7 @@ public class QueryTest extends BaseEntityManagerFunctionalTestCase {
|
||||||
return new Class[]{
|
return new Class[]{
|
||||||
Item.class,
|
Item.class,
|
||||||
Distributor.class,
|
Distributor.class,
|
||||||
Wallet.class,
|
Wallet.class
|
||||||
MultiTypedBasicAttributesEntity.class
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue