[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3824: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3826: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3827: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3828: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Next Framework • Ver Tópico - @WHERE do hibernate não funciona no mestre-detalhe
Página 1 de 1

@WHERE do hibernate não funciona no mestre-detalhe

MensagemEnviado: Seg Mar 31, 2014 9:23 am
por JesterOfHell

Re: @WHERE do hibernate não funciona no mestre-detalhe

MensagemEnviado: Sex Abr 04, 2014 7:28 pm
por rogelgarcia
O next busca os detalhes apenas usando como referencia o FK do detalhe.

Se quiser que sua lista do detalhe seja personalizada, você terá que criar uma query que busque os items e configure o objeto master.

Porém, seria interessante rever essa lógica do where pois seria interessante que apenas pela referencia do detalhe se encontre o mestre.