Posts by Edison Luis Werle • 101 points
4 posts
-
4
votes1
answer4901
viewsQ: Locale p-Calendar primeng Angular
Hello! I am using the componet p-Legend of the primeng and setting its locale to en as below: <p-calendar [(ngModel)]="filtro.dataEmissaoIni" dateFormat="dd/mm/yy" name="datai" [locale]="pt"…
angularasked Edison Luis Werle 101 -
2
votes3
answers813
viewsA: How to find Session in Hibernate 5.2.3.Final
My problem was with CDI. I have a production method of Nager entityManager that was annotated with @Requestscoped. Even in the previous version of Hibernate everything worked, in form. After…
-
1
votes3
answers813
viewsQ: How to find Session in Hibernate 5.2.3.Final
hello! Guys I’m changing my Hibernate from version 4.3.8.Final to 5.2.3.Final. Now I’m not getting the Hibernate Session like I used to, like this: (Session) manager.unwrap(Session.class); Gives…
-
3
votes1
answer61
viewsQ: Hibernate Cache with select Count
Hello! I have a JPQL consultation, with count: public Long quantidadeFaturasAbertasAssinante(Integer idAssin){ return manager.createQuery("select count(f) from Fatura f where f.dataLiquidacao IS…