Questions tagged as 'java'

0
answers

Intercept SQL's in a custom JDBC

Is it possible to create a custom implementation based on JDBC to intercept all sql's executed in the application? I did not find anything very concrete about this in Google, I did a simple test just inheriting the interface of the driver I...
asked by 01.04.2016 / 02:45
1
answer

Select hibernate + ifrebird

I'm not sure what to do. follows the class and error Advertência: #{mbeanUsuario.Vusuario}: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not prepare statement javax.faces.FacesException: #{mbeanU...
asked by 22.01.2016 / 14:10
1
answer

How to save String [] in MySQL

Hello, I would like to save a String[] in MySQL, but I do not know the type of datatype that saves String[] , nor what method I use to store this information.     
asked by 17.05.2016 / 18:52
1
answer

Android SharedPreferences with RadioButton

I have two RadioButtons, I want to select one of them, close the app and when I open load the last selection. Can you help me? I can not find a clear tutorial explained. Thank you.     
asked by 11.05.2016 / 22:00
1
answer

Adding classes to software at runtime

Question    Is there a feature that some language makes available to be able to add a class to the running software, that is, the software to be recognized in order to instantiate objects of this class and manipulate them? Let's imag...
asked by 15.07.2016 / 19:46
1
answer

JasperReport execution error

I'm having a problem with JasperReport , I'm developing an application for study, where I have a frontend that connects to a db (sqlserver) for registers, queries and reports. In the report part, when I go to run, it gives the following error:...
asked by 18.07.2016 / 16:03
0
answers

Use vraptor-brutauth in jsps

Expensive, I have a problem that when I put a rule with @GlobalRule , I can not use it in jsps .. When I put only ${rules} to list the rule map, the one with @GlobalRule does not appear. When I shoot it it reappears ....
asked by 12.12.2015 / 19:42
1
answer

Error creating Thread inside a Handler

I need to give a delay of 5 seconds in one of the parts of my application: final Runnable runnable = new Runnable() { @Override public void run() { // Encadeia trabalho serializado jobChain.append(new Job() {...
asked by 16.12.2015 / 21:23
1
answer

I want to put more than one paragraph in my android xml, how?

I want to do something very simple. I want when the user press the "msg" button a message appears with at least two short paragraphs just below the button, but I'm finding it difficult to put the information inside a TextView because it does not...
asked by 03.12.2015 / 21:47
0
answers

Request GET OkHttp Java

I'm using Postman , and when I make a request GET , everything happens in a good way and returns the JSON with the data. But by taking the code in java (below), of that request and executing it, I get the following message...
asked by 02.10.2017 / 22:29