Posts by Bruno Santana • 355 points
8 posts
-
5
votes2
answers352
viewsQ: Doubt with datatable and/or JSF/JPA modeling
Good evening, I have the following problem... at first it seems kind of silly, but honestly I can’t get out of it I want to create a table where the columns are Sunday, Monday, Tuesday, Wednesday,…
-
0
votes2
answers472
viewsA: @Autowired bean in Filter
<context:component-scan base-package="br.com.academia.beans, br.com.academia.servico.impl" scoped-proxy="targetClass"/> solved my problem
-
3
votes2
answers472
viewsQ: @Autowired bean in Filter
I’m trying to inject a bean in a filter but without success, the same always remains null causing error. Below follows the code of bean: @Named @Scope("session") public class LoginBean { Of filter:…
-
2
votes0
answers160
viewsQ: JPA(Hibernate) update entities automatically
I have the following question: I realized that when using JPA (Hibernate) + Spring in a JSF (Primefaces) application my entities are not updated immediately when performing a registration, for…
-
11
votes4
answers634
viewsQ: JPA List<Map mapping.. >
I have the following problem and I would like some advice on the best approach: Let’s assume you have a system that manages a school and would like to have the option for the system administrator in…
-
0
votes1
answer778
viewsQ: Dynamic update in Primefaces component via autocomplete
A simple question, is there any easy way to use the autocomplete component of the first faces, and so when selecting some option make a component (for example a dataScroller) be updated??? I tried…
-
3
votes1
answer686
viewsQ: HQL query with ENUM list as parameter
Hello, I have the following problem, follow an example: I have an entity Banda which has as attribute a list of generos List<Generos> generos, Generos is an ENUM with the following values:…
-
1
votes1
answer340
viewsQ: Problem with @Autowire Spring + Hibernate and Junit
Good evening, I’m trying to create a project using Hibernate and Spring, I was successful creating some configurations, including I was able to generate the database by booting the application using…