Posts by Jhonatan Colina • 1 point
5 posts
-
0
votes1
answer217
viewsA: Primary key composed of two foreign keys
I found the solution to my problem! Follow below for those who need: Classificacao. @Entity public class Classificacao implements Serializable { @Id ClassificacaoId id; String name; // getter and…
-
-1
votes1
answer217
viewsQ: Primary key composed of two foreign keys
Good afternoon to you all! I have a doubt in the structure of an Entity, I am using Hibernate+JPA. The class is a user rating, where one primary key will be the user (coming from the User class),…
-
0
votes1
answer110
viewsQ: Limit @Onetomany List
Good morning Guys! I have some problems in a list that in some cases do not need to return it completely @OneToMany(mappedBy="local", cascade=CascadeType.ALL, fetch = FetchType.EAGER)…
-
0
votes0
answers70
viewsQ: Insert/get multiple tables without Id
Good afternoon guys, I’m having a problem affecting me a few days already. The situation is as follows, I have a simple relationship: There are tables person, street, neighborhood, city, state,…
-
0
votes0
answers615
viewsQ: Neighborhood boundary using Google Maps API
Hello! I am creating a map to visualize a municipality with all the neighborhoods. Using the kmz provided by IBGE I managed to circumvent the municipality I want, but I did not find any kmz for the…