My index was not zero based, it was essentially an identity column -- I should have checked that. Switching to a map worked fine.
>>> "David Morris" <[EMAIL PROTECTED]> 11/21/2003 11:56:51 AM >>> While testing a mapping statement I keep getting an out of memory error (those don't give much information on what when where). Stepping through the code in debug with Eclipse I get no error. I do get the error if I try to step over the getListIterator(). This is a lazy list that hits the initialize for the session. If I set logging to trace, I can see that it gets my keys, reads the related record (one in this case), sets the List index. Next BatcherImpl closes the PreparedStatements and the final message I get is BatcherImpl - -closing statement then java.lang.OutOfMemoryError. I can profile this and narrow down where it is happening through logging but am wondering if there is something obvious I should check first. Thanks, David Morris ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel