Problem with @ElementCollection(targetClass = byte[].class, fetch = FetchType.LAZY)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When switching from QueryDSL 2.1.2 to QueryDSL 2.2.x we experience the following exception when generating the QueryDSL metamodel:
type parameter com.mysema.
The corresponding snipped of our Entity class is:
@Entity
public class BinaryFile implements IDomainClass {
/** file content (split into chunks of {@link #chunkSize} bytes) */
@ElementColle
@CollectionTa
@OrderColumn(name = "partNo")
@Column(name = "content")
@Lob
private List<byte[]> contentParts = new ArrayList<
}
The metamodel is generated as
@Generated(
public class QBinaryFile extends EntityPathBase<
public final ListPath<Byte[], ArrayPath<Byte[]>> contentParts = this.<Byte[], ArrayPath<
}
Fixed in master.