we r using hibernate version 2.1.2.and our problem is ,when we fetch arrays through mapping.for example ...we have a class named BookMarkCategory and it has an array variable ,bookmarks and two tables ..one for category and other for bookmarks.so we need to get all the bookmarks for the particular bookmark category.we had tried the way in which the we created an index column for bookmarks table .named IDX and when we save a category with bookmarks in it...after adding other bookmarkcategories to table and then we save the the first bookmark category with bookmarks in it...now if we fetch the bookmarkCategory ,we are not getting all the bookmarks for that particular category..Could anyone help for that...
|