Posts by Josemar Sabino • 77 points
11 posts
-
0
votes1
answer350
viewsQ: Error When Putting Application in Production with Command - mvn spring-boot:run
After generating the build which went all right, I am trying to run the command mvn spring-boot:run Inside a folder I’m only with the file comunicacaolegado-0.0.1-SNAPSHOT. jar When executing the…
javaasked Josemar Sabino 77 -
0
votes2
answers72
viewsA: Using Database in Production Postgres - Not Accepted Using Table with Camelcase
Guys, solution found was. In the application.properties settings spring.jpa.hibernate.naming.implicit- strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl…
javaanswered Josemar Sabino 77 -
0
votes2
answers72
viewsQ: Using Database in Production Postgres - Not Accepted Using Table with Camelcase
Good morning to all. I’m trying to communicate with a Postgress database and so far so good. Inside the bank I have a table called Clientelegado. But every time the application goes up a legacy…
javaasked Josemar Sabino 77 -
0
votes1
answer27
viewsQ: Hibernate Does Not Create Schema Tables
What I realized is that Hibernate doesn’t seem to create tables the way they should be presented in the database. I’m using Mysql and realized the following: Example of the structure: Table Course…
-
2
votes1
answer67
viewsA: How to Hibernate Create a Foreign Key Elegantly
One of the ways it worked this below : @ManyToOne @JoinColumn(name = "cur_profcodigo", referencedColumnName = "prof_codigo", foreignKey = @ForeignKey(name = "CUR_PRO_FK")) private Professor…
javaanswered Josemar Sabino 77 -
2
votes1
answer67
viewsQ: How to Hibernate Create a Foreign Key Elegantly
I’m studying Ibernate, how his technology works to create tables and fields. I noticed that when it comes to a Foreign key, it creates an unrepresentative name, which is calculated in some way. With…
javaasked Josemar Sabino 77 -
0
votes1
answer432
viewsQ: Hibernate Does Not Change Automatically in Database
I’d like Hibernate to not make any changes directly to the database, which means I’d like him to follow what’s in the database. Example : If in my entity I have the following situation @ManyToOne…
javaasked Josemar Sabino 77 -
1
votes1
answer40
viewsQ: Difference in Declaration of a @Generatedvalue Class
What’s the difference when I declare a class informing the @GeneratedValue(strategy = GenerationType.IDENTITY) and not informing, since the database manager will coordinate the primary key? I’m…
javaasked Josemar Sabino 77 -
1
votes1
answer3340
viewsQ: Method Difference with Getmapping and Requestmapping
Good morning guys. What’s the difference between the methods below and what should I be following in developing Java Web applications…
-
-1
votes1
answer703
viewsQ: Make Application Work on Local Network Only - Localhost
Good morning to all. Guys, I have a network in a client of 3 computers. As there is no internet on the server works with the following address the registration of users.…
-
0
votes2
answers190
viewsQ: Vertical Barcode Reader Activation - Zxing
I developed an android application where activates the barcode reader to read barcode products. What I’m finding strange is that when activating the scanner it changes its position to horizontal,…
androidasked Josemar Sabino 77