Posts by Rodrigo Nantes • 143 points
18 posts
-
-3
votes2
answers450
viewsA: What is Aggregate in Mongodb?
I’m no expert but I’ve used Agregate to optimize the processing and performance of my application queries. The Aggregate allows you to pass the parameters you want to yourself, preventing processing…
-
0
votes0
answers27
viewsQ: Focus tooltip vuejs
Good evening, you guys. I’m trying to give FOCUS a tooltip when the result of a query made by the user returns empty. When the user types something in the text field, I perform a validation upon the…
-
0
votes1
answer66
viewsA: fontawesome with vuetify
Well, I figured it out this way. This is because there is a compatibility problem with the latest versions of Vue and vuetify. So I downgraded Vue and Vue-template-Compiler to version 2.6.10, as it…
-
-1
votes1
answer66
viewsQ: fontawesome with vuetify
I’m initiating a VUEJ+vuetify project. I implemented the fontawesome package to use the free icons they made available. however, all the components rendered in the browser that use some icon, I’m…
-
1
votes3
answers596
viewsQ: Vue component Mask is only applied when stirring the field
I’m learning to use vue and vuetify and I’m using a library to make fields with masks. The bike in question is Vue-Mask. When loading the component, the mask is not applied automatically unless I…
-
0
votes1
answer119
viewsA: Structure of Java projects
Design patterns are also known as Design Patterns, so when you hear this term, you can be sure you’re referring to the same theme. The goal of design standards or Patterns design is to make reusable…
-
1
votes0
answers78
viewsQ: Putting dynamic legend on graphics with Chartjs?
I am trying to put subtitles dynamically in my graphic, however all the examples I have seen on the Internet so far are directed to the frontend part (with HTML or Javascript), while in my case the…
-
1
votes1
answer574
viewsA: Java Web login/authentication screen
Man, put a break point at the beginning of the method autenticar, See if he’s being triggered. Put a tryCatch in the method. and a review in this query query = "SELECT employee FROM Functionwork…
-
3
votes3
answers67
viewsA: Every time I run always print Invalid login
Try it this way : public static void main(String[] args) { Scanner sc = new Scanner(System.in); String login = "admin" ; String senha="1234"; int count = 1; String digite; while (count<=3) {…
javaanswered Rodrigo Nantes 143 -
0
votes1
answer97
viewsQ: Limit the size of Linkedhashmap
I need to limit the output size of my Linkedhashmap: It receives an undetermined number of information that needs to be reduced to no max 20 records: I put a limit on the function below, but I had…
javaasked Rodrigo Nantes 143 -
0
votes2
answers85
viewsA: JPA Hibernate with Postgres - 2 transactions
I don’t think you need that line: em.getTransaction().begin();//nova transacao para registrar o movimento, Your transaction is already open before you enter Try, and when you enter it, it’s still…
-
1
votes2
answers122
viewsA: Check password fields with each other in java in spring
Do more or less like this man. campo1.getText(); campo2.getText(); if(campo1.equals("campo2")){ //Executa função para senha igual }else{ //Executa função para senhas diferentes }…
javaanswered Rodrigo Nantes 143 -
1
votes0
answers188
viewsQ: Custom authentication page Spring security
I added the spring security dependency to my POM.XML, after which I created a new custom page for user authentication and configured webSecurityConfig to search my custom page, but when running the…
-
2
votes1
answer316
viewsQ: Change label color Bootstrap
How do I change the label color of my button depending on the value it has? On my form, in the field status, I need that when the value is in "open", green, when "finished" is in blue, and when…
-
2
votes0
answers256
viewsQ: localhost redirected it too often
Good afternoon, I am trying to direct a system user to an error page in case something goes wrong with the session or if the user is denied access to a particular page etc... I’m using Spring…
-
1
votes0
answers67
viewsQ: Problem to update data
Good morning friends, I am about 3 days with difficulties in an error that has been occurring in my application. I have two entities, CUSTOMER and VEI. I did the mapping bidirectionally saying that…
-
0
votes1
answer66
viewsQ: Error to play search screen data for registration screen for editing
Gentlemen, I’m having a hard time getting the objs from my customer search screen, and playing it on the sign-up screen for editing it. My search screen is with a button with a <p:button…
-
0
votes2
answers81
viewsA: 'javax.persistence.Rollbackexception' received when invoking action listening '#{}
Right, however, the value Cpf and all others are informed on the page! An example of this is the debug placed in the save method you have in my Customer Registration class. As you can see the value…