Questions tagged as 'java'

1
answer

@PreUpdate with @Transient - EclipseLink

I need an @PreUpdate method to be called when an @Transient attribute is modified. This @Transient will always be modified, so yes @PreUpdate would always have to be called. Since it will always have to be called, I looked for an option similar...
asked by 22.11.2017 / 19:13
0
answers

Upload .so files on Xamarin Android

I'm trying to convert a class Java to C# into Xamarin.Android . The class Java is this: private native boolean OpenDeviceCtx(Object obj); public native boolean CloseDevice(); public native boolean GetDiodesStatus(...
asked by 22.11.2017 / 12:57
1
answer

Code in infinite loop

I have developed the following código to get the content of a certain webpage: import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; Logger logger= Logger.getLogger("org.bonitasoft"); URL url...
asked by 07.11.2017 / 14:14
0
answers

InputStream can not find file

I'm following the example below, trying to read a file txt : public void ler(String caminho) { try { AssetManager assetManager = getResources().getAssets(); InputStream inputStream = assetManager.open(cam...
asked by 25.04.2018 / 15:22
0
answers

glClear emulator: 416 GL err 0x506

When I try to run the app in Android Studio to see the preview of how this error is getting, I've tried using another emulator, even different from Nexus api     
asked by 30.10.2017 / 20:16
2
answers

Passing AJAX parameters

I'm developing a web application and I'm using AJAX and JSP would like that when I register the client data send by parameter to another page the name and the email of the client plus it sends with an error, it even sends the parameters but with...
asked by 29.10.2017 / 02:40
0
answers

Pick up time and tell the user

I created this code in Android Studio to inform bus time from here in my city but I wanted the app to tell you what the next bus you could get as soon as it accessed the list view and I have no idea how to do it . Here is the code for the lis...
asked by 30.10.2017 / 00:29
0
answers

ManyToMany Hibernate error

Hello, I have a% bidirectional% co_related relationship between the class @ManyToMany and Pessoa , where for these, I have the tables in the database for person, address and the table for the relationship between them, Endereço...
asked by 11.01.2018 / 21:51
0
answers

JAR Executable much slower than running by Netbeans

Good morning, I have a netbeans project that uses maven to build an executable jar, so that's fine. The problem is that when I run the project through ".jar" which is generated by maven, execution takes a lot longer to execute certain functio...
asked by 12.01.2018 / 14:48
2
answers

API method fetches information but does not appear on the front end

I have a method of my API that searches the database @RequestMapping(method = RequestMethod.GET, value = "/entidadesUsuarioPermissao/{id}", produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity<Collection<PermissoesPagin...
asked by 24.10.2017 / 13:29