Re: [Hibernate] Selecting rows only from a particular table

2007-04-25 Thread The Rhythmic
Thanks to all for your replies. Lazy loading does the trick! On 4/24/07, Dmitri Colebatch <[EMAIL PROTECTED]> wrote: Hi, I think you'd be better off here: http://forum.hibernate.org/ The answer to your question is lazy loading, see http://www.hibernate.org/hib_docs/v3/reference/en/html/per

Re: [Hibernate] Selecting rows only from a particular table

2007-04-23 Thread Dmitri Colebatch
Hi, I think you'd be better off here: http://forum.hibernate.org/ The answer to your question is lazy loading, see http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-fetching-lazy cheers, dim On 4/23/07, The Rhythmic <[EMAIL PROTECTED]> wrote: Hi, Am using

[Hibernate] Selecting rows only from a particular table

2007-04-23 Thread The Rhythmic
Hi, Am using Hibernate with Java Persistence API. The question, in short is: How do I restrict the Java Persistence API to access rows only from one table & not from any other table i.e. Even though it might require access to other tables, it should access rows only from one particular table. Ho