[hibernate-dev] support for non-JDK collections

2014-08-08 Thread Gavin King
Hi all, I have a question: I seem to remember that back in the day Hibernate had some level of support for integrating associations based on custom collection types. Is that abstraction still there? That would be one of the things we need to make Hibernate work on Ceylon. Thanks. -- Gavin King

Re: [hibernate-dev] support for non-JDK collections

2014-08-11 Thread Gavin King
tionType / > org.hibernate.usertype.UserCollectionType contracts > > > On Fri, Aug 8, 2014 at 2:24 PM, Gavin King wrote: >> >> Hi all, I have a question: I seem to remember that back in the day >> Hibernate had some level of support for integrating associations based >> on custom collection

Re: [hibernate-dev] support for non-JDK collections

2014-08-11 Thread Gavin King
Yes, right. On Tue, Aug 12, 2014 at 12:06 AM, Steve Ebersole wrote: > That's the org.hibernate.collection.spi.PersistentCollection > > > On Mon, Aug 11, 2014 at 4:47 PM, Gavin King wrote: >> >> OK, thanks. Now I'm sorta remembering how this stuff works. You

[hibernate-dev] UserCollectionType mapping for Ceylon

2015-11-21 Thread Gavin King
Hi Folks, so I'm making some first baby steps toward implementing support for Ceylon's collections in Hibernate by trying to make use of the existing UserCollectionType stuff. Of course this is surely the ideal way to handle this, but bear with me for a sec because I would like to know why what I

Re: [hibernate-dev] UserCollectionType mapping for Ceylon

2015-11-21 Thread Gavin King
On Sun, Nov 22, 2015 at 1:56 AM, Gavin King wrote: > Of course this is surely the ideal way to handle this, but bear with > me for a sec because I would like to know why what I tried didn't > work. I mean "surely *not* the ideal way". -- Gavin King ga

Re: [hibernate-dev] UserCollectionType mapping for Ceylon

2015-11-22 Thread Gavin King
> https://hibernate.atlassian.net/browse/HHH-4417 > > So, even when specifying a @CollectionType, the return type must be a > List/Set: > > @OneToMany(...) > @CollectionType( type="MyCustomListType" ) > public List getOrders() > > Vlad > > On Sun, Nov 22,