Anyone? On Mon, Jun 13, 2011 at 9:23 AM, Pavel Byles <[email protected]> wrote:
> ?? > > > On Sat, Jun 11, 2011 at 12:20 AM, Pavel Byles <[email protected]>wrote: > >> Sorry, DataNucleus. >> >> >> On Fri, Jun 10, 2011 at 5:44 AM, Juan Pablo Gardella < >> [email protected]> wrote: >> >>> So, what implementation of JPA are you using? EclipseLink, OpenJPA, ... >>> >>> >>> 2011/6/10 Pavel Byles <[email protected]> >>> >>>> Not using hibernate. >>>> >>>> >>>> On Thu, Jun 9, 2011 at 11:33 PM, Juan Pablo Gardella < >>>> [email protected]> wrote: >>>> >>>>> Hibernate? >>>>> >>>>> >>>>> 2011/6/9 Pavel Byles <[email protected]> >>>>> >>>>>> 3.0-1.1.1 >>>>>> >>>>>> >>>>>> On Thu, Jun 9, 2011 at 8:56 PM, Juan Pablo Gardella < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> What implementation of JPA are you use? >>>>>>> >>>>>>> 2011/6/9 Pavel Byles <[email protected]> >>>>>>> >>>>>>>> anyone? >>>>>>>> >>>>>>>> On Wed, Jun 8, 2011 at 10:46 PM, Pavel Byles >>>>>>>> <[email protected]>wrote: >>>>>>>> >>>>>>>>> I'm getting the following error when I'm using requestfactory with >>>>>>>>> locators: >>>>>>>>> >>>>>>>>> >>>>>>>>> The persisted entity with id 152 has a null version >>>>>>>>> >>>>>>>>> I have a version column in my datastore and the following in my >>>>>>>>> Entity: >>>>>>>>> >>>>>>>>> >>>>>>>>> public Integer getVersion() { >>>>>>>>> >>>>>>>>> return this.version; >>>>>>>>> >>>>>>>>> } >>>>>>>>> >>>>>>>>> >>>>>>>>> public void setVersion(Integer version) { >>>>>>>>> >>>>>>>>> this.version = version; >>>>>>>>> >>>>>>>>> } >>>>>>>>> >>>>>>>>> I also have this in my locator: >>>>>>>>> >>>>>>>>> @Override >>>>>>>>> >>>>>>>>> public Object getVersion(Country domainObject) { >>>>>>>>> >>>>>>>>> return domainObject.getVersion(); >>>>>>>>> >>>>>>>>> } >>>>>>>>> >>>>>>>>> If I return 1 all the time for getVersion, everything works fine. >>>>>>>>> >>>>>>>>> I have looked at all the examples I could but there aren't many and >>>>>>>>> tried to figure this out for a while. Things look right but doesn't >>>>>>>>> seem to >>>>>>>>> work. >>>>>>>>> >>>>>>>>> Any ideas? >>>>>>>>> >>>>>>>>> -- >>>>>>>>> -Pav >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> -Pav >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> -Pav >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en. >>>>> >>>> >>>> >>>> >>>> -- >>>> -Pav >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google Web Toolkit" 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/google-web-toolkit?hl=en. >>> >> >> >> >> -- >> -Pav >> > > > > -- > -- > Pav > -- -- Pav -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en.
