Re: [Hibernate] Bag example

2003-08-26 Thread Konstantin Priblouda
--- Prasad Iyer <[EMAIL PROTECTED]> wrote: > Hi > Does anyone have the example which uses bag in > mapping file. > > I am facing this problem with the query. > following is the code. Which always prints 0 for the > size but in table there are 10 messages > > Session session=factory.openSession()

[Hibernate] Bag example

2003-08-19 Thread Prasad Iyer
HiDoes anyone have the example which uses bag in mapping file.I am facing this problem with the query.following is the code. Which always prints 0 for the size but in table there are 10 messagesSession session=factory.openSession();InBox inbox=(InBox) session.find("from InBox inbox where in