Posts by Armando K. • 392 points
10 posts
-
2
votes2
answers184
viewsA: How to interrupt the database query using time out in Hibernate?
Complementing Jean’s answer, in Hibernate you have the method .setTimeout() where you can set the maximum time a particular query will be able to execute. Example: Query suaQuery; // Tempo do…
-
10
votes4
answers8564
viewsA: What good is a gists on the github?
Gists are used to keep chunks of code (snippets) that are not specific to any application or are not so important to have a repository just for them. Usually people use the gists to share (or…
githubanswered Armando K. 392 -
-2
votes1
answer84
viewsA: Is there any way to get information about a particular street?
Yes, the function Geocoding Service does what you need, and yet returns more information than you need. I’m guessing you have latitude and longitude (they are necessary to perform this research).…
google-mapsanswered Armando K. 392 -
2
votes1
answer243
viewsA: How to use Google Chart radar?
To add more lines just add values to each item of the previous date. For example: "dataProvider": [ { "name": "Item 1", "value": 5,, "novoNome": "Novo Item 1", "novoValor": 2 } And where you define…
-
1
votes1
answer14
viewsA: Plugin shortcut, incompatibility
I recommend the Keyboardjs. I have already used in some projects and it is very simple to use. If you do not like this library or do not suit it, I recommend this one Ḿousetrap…
-
2
votes2
answers1047
viewsA: How to force an html document to always be opened by the browser?
I don’t think this is possible mainly because, by doing this, you would be taking away the power of the user to control the actions that happen on their own computer. Following usability standards,…
-
1
votes1
answer54
viewsA: Send newsletter
One simple way to do this would be to perform a query in the database with this query and use the return list/array to fill in addRecipient. In the example below I am using jdbc and postgres, but…
-
2
votes2
answers2315
viewsA: How to send two actions in a single form?
By the standard of W3C, since Voce submits a form, Oce has already navigated and can no longer submit exactly the same form, why Voce defines only one target in the action. A workaround for your…
-
1
votes1
answer37
viewsA: Appstore renewal
The maximum time they give for renewal is 48 hours and, when it takes longer than that (or when Oce needs to speed up the process), da para mandar email or call Apple that the attendants solve…
-
4
votes1
answer3271
viewsA: How to change the icon of a . jar file?
I don’t think you can change the archive icon. jar, since who defines this is the OS itself (you can even change the icon without using java, but that would change for all . jar that exists on the…
javaanswered Armando K. 392