[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 - Classe com Fk String
Página 1 de 1

Classe com Fk String

MensagemEnviado: Qua Nov 28, 2012 4:13 pm
por pliniomarcos

Re: Classe com Fk String

MensagemEnviado: Qua Nov 28, 2012 9:41 pm
por rogelgarcia
Fala Plínio, bao?

É possível que esse FK String cause algum problema. Mas nesse caso exatamente o CedenteSite possui um CedenteSiteDAO? Se não, esse é o problema.

O Next só busca as informações automaticamente se a entidade possuir um DAO.

Re: Classe com Fk String

MensagemEnviado: Qui Nov 29, 2012 8:59 am
por pliniomarcos
Exatamente isso Rógel! Vacilo total o meu! Obrigado!

Re: Classe com Fk String

MensagemEnviado: Qui Nov 29, 2012 11:44 am
por rogelgarcia
Tranquilo.. já fiz isso várias vezes.. hehehe

Acho até que vou colocar um registro de DAO automático para quem não tem...

Re: Classe com Fk String

MensagemEnviado: Qui Nov 29, 2012 11:47 am
por pliniomarcos
Mas isso é básico demais né hehehehehe...
Isso ajuda. Não sei em qual versão que eu trabalhei que ele gerava uma exceção ao iniciar o servidor. Isso também ajuda.