Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » can't create a new object (is it a bug?)
can't create a new object [message #651481] Mon, 31 January 2011 05:41 Go to previous message
Luiz E. is currently offline Luiz E.
Messages: 97
Registered: September 2010
Member
hi all Very Happy
first, sorry about my english Embarrassed
i don't know if its a bug or not, but here's my problem: ig have these three classes:

Cliente: http://pastie.org/1501994 (yes, cliente has id, but is not shown)
GrupoTelefone: http://pastie.org/1501995
Telefone: http://pastie.org/1501996

when i try to save a NEW 'cliente', eclipselink says that the fields to insert on grupotelefone table is null..so, looking at the grupotelefone table, it has only an Id, which is referenced in other tables...but, being a new grupotelefone, he hasn't id (the database generates a new one) and this way, all the fields (only id) is null...
is there a configuration to disable this verification or something like?
thanks in advice

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Multiple Mapping-Files in PersistenceUnit
Next Topic:stale data refreshed after a size()?
Goto Forum:
  


Current Time: Sun May 19 21:27:44 EDT 2013

Powered by FUDForum. Page generated in 0.01744 seconds