[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....

[resolvido] expected one of [<INTEGER_LITERAL>, <FL....

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

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

Mensagempor albert » Qua Ago 25, 2010 7:50 pm

tem o link de algum tuto pra resolver esse problema do hiber?
obrigado
albert
 
Mensagens: 12
Data de registro: Qua Ago 25, 2010 5:19 pm

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

Mensagempor rogelgarcia » Qua Ago 25, 2010 8:00 pm

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

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

Mensagempor rogelgarcia » Qua Ago 25, 2010 8:08 pm

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

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

Mensagempor albert » Qui Ago 26, 2010 12:43 am

Mapear classe no hibernate?
mas na doc do next diz que o unico xml que mexe eh no web.xml...
como eu mapeio isso?
albert
 
Mensagens: 12
Data de registro: Qua Ago 25, 2010 5:19 pm

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

Mensagempor albert » Qui Ago 26, 2010 12:43 am

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!
albert
 
Mensagens: 12
Data de registro: Qua Ago 25, 2010 5:19 pm

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

Mensagempor albert » Qui Ago 26, 2010 12:59 pm

albert
 
Mensagens: 12
Data de registro: Qua Ago 25, 2010 5:19 pm

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

Mensagempor albert » Qui Ago 26, 2010 1:01 pm

albert
 
Mensagens: 12
Data de registro: Qua Ago 25, 2010 5:19 pm

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

Mensagempor rogelgarcia » Qui Ago 26, 2010 6:02 pm

rogelgarcia
Administrador
 
Mensagens: 674
Data de registro: Qua Jul 08, 2009 9:02 am

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

Mensagempor albert » Qui Ago 26, 2010 6:15 pm

albert
 
Mensagens: 12
Data de registro: Qua Ago 25, 2010 5:19 pm

Anterior

Retornar para Dúvidas

Quem está online

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

cron