[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

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

Não deixe de perguntar, solucione aqui suas dúvidas...

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

Mensagempor JesterOfHell » Seg Mar 31, 2014 9:23 am

JesterOfHell
 
Mensagens: 16
Data de registro: Seg Mar 31, 2014 9:06 am

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

Mensagempor rogelgarcia » Sex Abr 04, 2014 7:28 pm

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.
rogelgarcia
Administrador
 
Mensagens: 674
Data de registro: Qua Jul 08, 2009 9:02 am


Retornar para Dúvidas

Quem está online

Usuários vendo este fórum: Nenhum usuário registrado online e 7 visitantes

cron