Ok I can see that, but if I am setting the ID will it use that
instead? If I remove the version column and do what I am doing it all
works fine. The issue is when the version column is there, I read in
the doco that the version should never be null as it will be
transient.

I guess my main thing was to see how others are doing something like I
am trying to do.


Cheers

On Sep 14, 10:23 pm, "Fabio Maulo" <[EMAIL PROTECTED]> wrote:
> You are using "native" as generator but you are assigning the Id (take care
> with it), you are using unsaved-value=null for version so... if the version
> is null the entity is transient.Bye.
> Fabio Maulo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to