[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/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/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/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 - [resolvido] expected one of [<INTEGER_LITERAL>, <FL....
Página 2 de 2

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qua Ago 25, 2010 7:50 pm
por albert
tem o link de algum tuto pra resolver esse problema do hiber?
obrigado

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qua Ago 25, 2010 8:00 pm
por rogelgarcia
Bem.. tutorial para resolver não..mesmo porque cada situação é uma .. e ficaria dificil fazer um tutorial que funcionasse para todas...

O que tá acontecendo é que o mapeamento não está correto.. se as classes estao conforme voce me passou o problema pode estar no deploy que está com versao antiga...

Estou fazendo testes aqui no jboss sobre o erro do jsp...

[Abra um outro post, com a pergunta relativa ao hibernate, e poste suas classes e o stack trace, fica mais fácil resolver cada problema num post separado]

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qua Ago 25, 2010 8:08 pm
por rogelgarcia
O erro do Hibernate pode ser porque você está colocando o @Id no atributo e não no getter...

Coloque as anotações apenas nos getters e teste novamente...

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qui Ago 26, 2010 12:43 am
por albert
Mapear classe no hibernate?
mas na doc do next diz que o unico xml que mexe eh no web.xml...
como eu mapeio isso?

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qui Ago 26, 2010 12:43 am
por albert
e outra... pela logica se fosse mapeamento do hibernate nao iria listar, nem incluir nada...
mas as telas estao todas funcionando... o unico problema eh esses...
valeu pela ajuda dr!

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qui Ago 26, 2010 12:59 pm
por albert

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qui Ago 26, 2010 1:01 pm
por albert

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qui Ago 26, 2010 6:02 pm
por rogelgarcia

Re: expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>

MensagemEnviado: Qui Ago 26, 2010 6:15 pm
por albert