From: Gavin K. <ga...@ap...> - 2002-09-20 09:04:51
|
Ah ... I sort of got killed by line wrapping. I was trying to demonstrate that an arithmetic and path expression could be nested inside a path expression containing a [] ----- Original Message ----- From: "Gavin King" <ga...@ap...> To: <hib...@li...> Sent: Friday, September 20, 2002 6:57 PM Subject: [Hibernate] collection indexing in query language > I just finished implementing support for this kind of thing (in queries): > > from foo in class Foo where foo.bars[4].baz = 10 > from foo in class Foo where foo.map['baz'].name = 'foo' > from foo in class Foo, fum in class Fum where fum = foo.bars[ (3 + 10) * > 2 ].baz.fum > from foo in class Foo, fum in class Fum where foo.bars[ > fum.fee.map['fi'].count ].baz = 12 > > This is not especially well tested yet, so would people try it out and see > how it goes please..... > > its in CVS > > I might sneak this into 1.1 or maybe leave it for 1.1.1 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |