Hi, Yangyong. I've tried your pull request in my Spring Boot 2 demo and it
works well, great job!
I have a little question, can we put spring-boot2-starter-servlet into the
dependencyManagement of java-chassis-dependencies-springboot2 so that users
only need to introduce one dependency in
+1
Glad to see the way ServiceComb Community has matured so well in a short span
of time and ready for graduation. Congratulations to everyone who has made
this happen :-)
Regards
Asif
On 2018/09/12 13:51:51, Willem Jiang wrote:
> As ServiceComb community discussed for the
It sounds good, with the help of
ObjectOptimisticLockingFailureException, we could do the compare and
set (CAS) as the no-blocking algorithm does to the retry.
Willem Jiang
Twitter: willemjiang
Weibo: 姜宁willem
On Fri, Sep 14, 2018 at 10:54 AM 黎 先生 wrote:
>
> Adding a opmistic lock to the
Adding a opmistic lock to the entity class like this:
@Version
private Integer version;
When productDao.save(product) is invoked, hibernate (or any other
implementations) should generate sql like this :
update ... set ... where id = ? and version = ?;
If there is nothing to update, which means
+1
zhongyuan zhou 於 2018年9月13日 週四 下午2:36寫道:
> +1
>
> Bin Ma 于2018年9月13日周四 下午2:30写道:
>
> > +1, awesome!
> >
> >
> > Best Wishes & Regards
> > ---
> > Mabin
> >
> >
> >
> > yhs0092 于2018年9月13日周四 上午11:16写道:
> >
> > > +1 Great job!
> > >
> > >
> > > Yours sincerely
> >
I think that's normally done with @Version annotation on a version field.
And JPA will take care of concurrent update.
On 2018/09/10 07:44:05, Willem Jiang wrote:
> Yes, it should work, but I need to know how to write the code :)>
>
> Willem Jiang>
>
> Twitter: willemjiang>
> Weibo: 姜宁willem>
>
+1
Bin Ma 于2018年9月13日周四 下午2:30写道:
> +1, awesome!
>
>
> Best Wishes & Regards
> ---
> Mabin
>
>
>
> yhs0092 于2018年9月13日周四 上午11:16写道:
>
> > +1 Great job!
> >
> >
> > Yours sincerely
> >
> >
> > Yao Haishi
> > yhs0...@163.com
> >
> >
> > On 9/13/2018 11:08,Lance Ju
+1, awesome!
Best Wishes & Regards
---
Mabin
yhs0092 于2018年9月13日周四 上午11:16写道:
> +1 Great job!
>
>
> Yours sincerely
>
>
> Yao Haishi
> yhs0...@163.com
>
>
> On 9/13/2018 11:08,Lance Ju wrote:
> +1
> Great job!
>
> DeanLee <82529...@qq.com> 于2018年9月13日周四