Posts by Gabriel Martins • 41 points
7 posts
-
-3
votes1
answer87
viewsQ: OCA Java 8 certification, does it exist in Portuguese? Where should I pay for the test and at what institution?
Good afternoon my comrades. I am interested in making the JAVA 8, OCA certification test, only I do not speak English, there is proof in Portuguese, if there is where I must pay and in which RJ…
-
0
votes1
answer150
viewsA: How do I leave a JPA transaction with Spring open?
I found the solution to my problem, missing a property to be configured. My JPA configuration file package config; import java.util.Properties; import javax.persistence.EntityManagerFactory; import…
-
0
votes1
answer508
viewsQ: How to return validation errors of subobjects, attributes(objects), lists, to spring?
Today I can validate attributes errors of my class that are not complex objects (other objects of my model that are related to it), but what happens is that the "validation bean" validates the…
-
-2
votes1
answer150
viewsQ: How do I leave a JPA transaction with Spring open?
I would like to know how to leave a JPA transaction with spring open, today I use the annotation @Transaction what happens is that every time I want to carry some attribute that is not like EAGER…
-
3
votes1
answer145
viewsQ: Entities marked as FETCH LAZY are returning "null" even after a call to the GET method
Hello, good morning friends, Why my entities marked as fetch Lazy are returning "null" even when they are invoked through a get? What I learned in several courses is that when making the first call…
-
0
votes1
answer514
viewsQ: What would be a service class in a Java MVC project?
You could tell me the difference between classes in the package "control" in a MVC project and service classes?
-
-7
votes1
answer190
viewsQ: How to exclude a parent entity without excluding the daughter entities?
How do I, by Annotations or methods to delete, or effect a update in a parent entity without being obliged to exclude the daughter entity, ex: public class Produto{ @Id @GeneratedValue int id; //...…