Комментарии:
Awesome!
Ответитьsir, code generate plugin name where you use in ur IDE
ОтветитьThanks for this great presentation!
I was trying to combine what i've learned so far from the series and a question come up to my head...
I was wondering what if i have for example:
One base entity with inheritance strategy SINGLE_TABLE (let's call it class A)
Two classes that extend class A having some discriminator values (let's call them B and C)
And now i want to create a new entity which has a @OneToMany relationship both with B and C. (2 lists)
Is this possible? Will hibernate do 2 selects in this case having different where clause for the discriminator column? What if i want to load both lists with only one query?
Thanks in advance! :)
can you please share the github link for code?
ОтветитьThe best...Thanks a Lot...regards from Mexico
ОтветитьLegend!
Ответить