Posts by Pedro • 149 points
22 posts
-
0
votes2
answers47
viewsA: I a select where the same is starting to get too slow, Would you have any solution to improve your speed?
You have many table links using the LEFT JOIN tries to create a media for each table and makes the union only of the ID’s. CREATE INDEX [index] ON table name ON [PRIMARY] in almost everything has…
-
0
votes2
answers65
viewsA: Vertically indent code in Visual Studio?
There is the VS own indentation by right-clicking and selecting "Format Document", another way is by pressing : "ALT + SHIFT + F" . None of those options suit you? If not answer take a look at the…
visual-studioanswered Pedro 149 -
0
votes2
answers185
viewsA: Visual Studio Code - Debug by Chrome
One option would be to place a "console.log();" in your code by passing the parameter you want to inspect. With this using the F12 of Chrome you access the console tab, and there is the item you…
-
1
votes3
answers750
viewsA: SQL Inner Join 3 tables
SELECT * FROM Table 1 INNER JOIN Table2 ON Table2 . id = Table1.id INNER JOIN Table3 ON Table3 = Table1 . id
-
3
votes1
answer2019
viewsQ: Automatic backup with Mysql
Is it possible to perform automatic backup in mysql? Example: I direct a folder that Mysql will generate every day at 18:00 the backup of the database.
-
0
votes1
answer2299
viewsQ: Storage capacity Mysql
I have a table in Mysql that I backup daily, I have 552 records in it today, but the last two times I backed up realized that they were only saving 487 records. How do I increase the storage…
-
1
votes1
answer65
viewsQ: Lock the enter key inside the <p:editor>
I’m using java, JPA and Primefaces with Wildfly. I have one from Primefaces that I want to block when the user presses the enter key there is no action. How should I proceed?
-
1
votes1
answer193
viewsQ: Export datatable to PDF
I’m using Java,JPA,Primefaces,Wildfly, I have a datatable that I need to export to PDF,in excel just add the poi.jar that works but in PDF I don’t know which poi I should add, someone could help me?…
-
1
votes1
answer1546
viewsQ: Change the line color of a datatable
I am using JAVA,JPA,Primefaces, I have a datatable that summarizes a stock.I want to color the rows of the table if the check value to the minimum of each product, I do not know how to proceed,…
-
0
votes2
answers110
viewsQ: Access JAVA web application from other machines
I am using JAVA,JPA, with Wildfly,e primefaces. I have the link of my application http://localhost:8080/Sicoob/faces/cadastre I would like other machines to access this application, I already…
-
1
votes1
answer444
viewsQ: Sum values of equal items in a table
I am using JAVA, JPA, Wildfly and Primefaces, but I would really like someone to help me in a java method to sum values of equal items of a dataTable.Example: I have two columns PRODUTO and…
-
-1
votes1
answer2491
viewsQ: Send email with java
Good afternoon. I’m using java, JPA, wildfly and primefaces. You need to send a notification email after the user clicks on the send button. How do I send emails through java?
-
1
votes1
answer633
viewsQ: Select Returning Null from Database
I am trying to make a Login page and am using JaVA,JPA,WIldfly,Primefaces and in the database MYSQL. I’m passing the name and password, but at the time of inspecting it returns me null, by playing…
-
0
votes1
answer57
viewsQ: Write data from one inputText into another inputText
Guys I’m using JAVA, JPA, Primefaces... In my view (xhtml) I have a login screen, how do I pick the name the user typed and write in another inputText field?
-
0
votes1
answer113
viewsQ: Show Complete string in modal
I’m using Java, JPA, Wildfly and Primefaces.I have a table that displays a text, but this text is being cut in the display by table size. I decided to create a boão that calls a modal to display the…
-
0
votes1
answer298
viewsQ: Print table row "datatable"
I’m using Java, JPA, Wildfly and Primefaces. I have a table with several columns and rows, how do I print (report) each row of the table? each line will have its print icon and I would like to know…
-
3
votes1
answer110
viewsQ: Data is not saved in the database
I’m using Java, JPA, Primefaces, Wildfly and Mysql, not much to do, but it’s good to inform. I fill in all the fields, all right the check is performed. When I click save the success message is…
-
0
votes0
answers1178
views -
1
votes1
answer78
viewsQ: View does not communicate with MB
I’m using Primefaces, Javajpa,and Wildfly, there’s not much there but my doubt is the following: my view is not seeing my MB, when I rotate gives the following error: Target Unreachable, Identifier…
-
1
votes1
answer320
viewsQ: Add Primefaces to the project
What is the procedure (step by step) for me to add the first faces to my project? I already have the jar in the machine, but this jar it stays inside the Maven dependencies? I have to make which…
-
0
votes0
answers75
viewsQ: Project does not run, error "404 - Not Found"
I’m using Java JPA, with Wildfly and Primefaces and the database I’m using Mysql. I’m with I have all layers already configured (view(xhtml),DAO,Entity,MB). The wildfly datasouce is configured…
-
1
votes1
answer67
viewsQ: Error in environment configuration
I’m using java JPA, with Wildfly and Primefaces and the database I’m using Mysql. I have all layers already configured (view(xhtml),DAO,Entity,MB). The wildfly datasouce is configured correctly,…