[hibernate-dev] HHH 869 (Collections of value type in the Criteria API).
Steve Ebersole
steve at hibernate.org
Tue Jun 9 21:02:09 EDT 2009
On Tue, 2009-06-09 at 13:57 -0700, Daniel Pitts wrote:
> Hello,
>
> I'm new to the list, so please forgive me if I miss some common
> netiquette that is expected on this list.
>
> I'd like to try to create a patch to solve 869, as well as support
> querying of collections of composite types.
>
> First, are there any guidelines of what I should and shouldn't do?
> I'd love to clean up the implementation of CriteriaQueryTranslator
> while I'm working in there, but if that would disqualify my patch,
> then of course I should avoid that ;-)
It is best to isolate fixes and cleanup. That way we know what exactly
you did to fix an issue as opposed to cosmetic changes and can inspect
them separately. Feel free to attach both.
> Second, I'm having a little trouble finding the metadata I need to
> implement CriteriaQueryTranslator.getColumns() and
> CriteriaQueryTranslator.getType() for composite collections. By that
> point, I have access to: CollectionPersister, propertyName, and
> sqlAlias. CollectionPersister.getElementType() returns a CompositType
> that appears to be empty.
1) I assume you mean ComponentType (I don't know of a CompositType)
2) what do you mean by empty?
Is this a criterion/restriction you are trying to apply?
>
> Thanks,
> Daniel.
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Steve Ebersole <steve at hibernate.org>
Hibernate.org
More information about the hibernate-dev
mailing list