And so it begins - I eliminated about 100 lines of code by passing in a List of longs, vs. a List of objects with their id's set. Thank you from the bottom of my heart ;)
Matt ------------- Forwarded message ------------- > This *looks* to be exactly what I'm looking for, however, I'm getting an > "inconsistent datatypes" error from Oracle. Is there something I need to do > to get :id_list to be recognized as Longs? Well, by the looks of your code, you aren't *actually* passing in a List of Longs....it looks like you're passing instances of Headend. If you pass a List of java.lang.Long I would expect it to work. Alternatively you could use: q.setParameterList( "id_list", headends, // a list of Headend instances Hibernate.association(Headend.class) // the Hibernate Type for Headend ); Gavin --------------------------------------------------------------------- Never lose a fax again, receive faxes to your personal email account! Visit http://www.mbox.com.au/fax ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel -- Matt Raible, Raible Designs, Morrison CO US -- Tel: +1 303 979-5340 -- Mob: +1 720 560-8460 -- Fax: +1 508 256-6471 -- Web: http://www.raibledesigns.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel