Re: 2 Way 1-1 relationship

2009-01-21 Thread Petr V.
Thanks Ingmar Lötzsch for the reply. Actually I was simplifying the context from 1-M to 1-1 for discussion so left groupBy attribute mistakenly. The problem at hand is that Teacher has students (1:M). Student must have some teacher assigned to him but teacher does not necessarily need to have s

Re: [SURVEY] How many connections are in your pool?

2009-01-21 Thread Giovanni Cuccu
Hi all, even after reading all the replies I'm still not convinced that there must ba relation between the pool size and the core/cpu number. IMHO the storage subsystem plays an important role. I think that it's more important focusing on the average db call duration and calcultating the poo

Re: 2 Way 1-1 relationship

2009-01-21 Thread Ingmar Lötzsch
Petr V. schrieb: > I want to have two way relationship like Teacher contains reference of > Student and Student contains reference of Teacher. Is it even possible > in iBatis ? > > class Teacher { > Student sid; > > } > > class Student { > Teacher teacher; > > } > >