Junho de 2010 4:12:31
Assunto: Re: Res: Res: session.persist saves object with id 0
Hello list,
Thanks for all the replies :)
I've actually created the entities and the xml + annotations mappings using the
eclipse hibernate plugin, I've just added the tapestry annotations.
For example
On Wed, 09 Jun 2010 09:16:55 -0300, Everton Agner
everton_ag...@yahoo.com.br wrote:
I'm not a Hibernate advanced user, but you're using a XML and Entity
class annotations to configure your Entity?
I haven't noticed that. Ewerton is right: no need to use XML mappings when
you use
De: Everton Agner everton_ag...@yahoo.com.br
Para: Tapestry users users@tapestry.apache.org
Enviadas: Quarta-feira, 9 de Junho de 2010 9:16:55
Assunto: Res: Res: Res: session.persist saves object with id 0
I'm not a Hibernate advanced user, but you're using a XML and Entity class
Al 09/06/2010 14:27, En/na Thiago H. de Paula Figueiredo ha escrit:
On Wed, 09 Jun 2010 09:16:55 -0300, Everton Agner
everton_ag...@yahoo.com.br wrote:
I'm not a Hibernate advanced user, but you're using a XML and Entity
class annotations to configure your Entity?
I haven't noticed that.
On Wed, 09 Jun 2010 11:18:16 -0300, Genís Pujol gpu...@ngeografics.com
wrote:
The database (Oracle 10g) has an index so it knows which Id to assign
next to the new record, but instead of this the new object gets Id = 0
(the next one Id=1 and so forth).
It should be the db who assigns the
Al 09/06/2010 16:24, En/na Thiago H. de Paula Figueiredo ha escrit:
On Wed, 09 Jun 2010 11:18:16 -0300, Genís Pujol
gpu...@ngeografics.com wrote:
The database (Oracle 10g) has an index so it knows which Id to assign
next to the new record, but instead of this the new object gets Id =
0 (the