Tag Archives: java

Ebean and the OptimisticLockException

I encountered today a strange Exception with PlayFramework 2.0 / Ebean when updating an entity: javax.persistence.OptimisticLockException: Data has changed. updated [0] rows At first sight, this exception is quite cryptic and it took me some time to understand why it … Continue reading

Développement web , , ,

Play Framework 2.0 – Premières impressions

Cet article à été publié sur le blog de Clever Age. Vous pouvez le retrouver à cette adresse. Tweet

Développement web , , ,

Unit testing tricks for Play 2.0 and Ebean

Basic Ebean model testing When you want to execute some tests that interact with your Models, you need to use a Play FakeApplication. This is described in the Java section of the Play 2.0 documentation. Here is how the code … Continue reading

Développement web , , , ,

Appels asynchrones avec Play Framework

L’intégration de nouveaux composants permettant la gestion des appels asynchrones dans Play Framework a été récemment annoncé sur la mailing-list par Guillaume Bort. Ils ne sont pour l’instant pas disponible sur la version stable de Play, il faut donc récupérer … Continue reading

Développement web , , ,

Utiliser Envers avec Play Framework

Ça fait un petit moment que je “joue” avec Play Framework (ok, elle était facile…) et ce que j’apprécie dans cet outil, c’est sa dualité. Pour la majorité des besoins, on a tout ce qu’il faut sous la main et … Continue reading

Développement web , ,