Posts by Kevin Eduard Piske • 96 points
7 posts
-
1
votes1
answer39
viewsA: How to change the executable icon generated from an E4 RCP product?
I was in two trouble: My file .ico was not being accepted by Eclipse, so I took the Eclipse icon, opened in GIMP and changed their respective images/layers to mine in PNG format. When exporting, I…
eclipseanswered Kevin Eduard Piske 96 -
0
votes2
answers2178
viewsA: Persisting a Spring Boot Relationship
You are saving an entity Patients, that entity has a relationship with the entity People through: @JoinColumn(name="idPessoa") @ManyToOne(cascade = CascadeType.ALL) private Pessoas pessoa; Because…
-
1
votes1
answer50
viewsA: Error Returning Query Using Like
Place the parameter number after the question mark. Example: SELECT u FROM User u WHERE u.name like ? 1
-
0
votes1
answer39
viewsQ: How to change the executable icon generated from an E4 RCP product?
I have an app standalone in Eclipse 4 RCP. When exporting it as a product, as shown below: The following structure is generated: How to change the application.exe executable icon? I have already…
eclipseasked Kevin Eduard Piske 96 -
6
votes1
answer1293
viewsA: How to use netstat command?
You can use this command: netstat-turnip You can also filter by adding some text | find "text". Example: netstat -nabo | find "8080" Or depending on the command prompt: netstat -nabo | findstr…
cmdanswered Kevin Eduard Piske 96 -
0
votes2
answers1197
viewsA: How to save to Date type in this format 10-10-2017 using Simpledateformat?
If I understand your doubt, it’s very simple: SimpleDateFormat formato = new SimpleDateFormat("dd-MM-yyyy"); System.out.println(formato.format(new Date())); Obs: as the colleague there commented,…
-
0
votes1
answer108
viewsA: Apache poi Spreadsheet
This happens because you are always overwriting the file data instead of loading and changing it. Example with xlsx file: Note that in the first line I instate a Workbook based on an existing file.…