Questions tagged as 'java'

0
answers

GooGooStatementCache - Multiply prepared statement!

Hello, when I change an object and save it, I'm experiencing problems with slowness and at times it even completely blocks my application. By persisting I am returning only this information, but I could not identify what it could be.    stmt....
asked by 16.09.2016 / 13:12
2
answers

JSON format in LocalDate field

Personal I have the following record being returned by a query using SpringData : page = grupoService.findByNomeStartingWithOrderByNomeAsc(2, pageable); If I run the following code: System.out.println(page.getContent().get(0)); I...
asked by 26.08.2016 / 19:44
0
answers

Android ListView does not display the first item

First of all thank you for trying to help, come on! I own a project made in Android Studio where it contains a custom ListView that I used along with my INTERNAL database. After the project has evolved, I've moved my database to EXTERNAL, and...
asked by 27.08.2016 / 21:39
1
answer

Count the number of notes

The program needs to enter the note value. When typing, the program should return number of notes of 20,10,5 1 /* Code in Java */ import java.util.Scanner; class HelloWorld { public static void main(String[] args) { Scanner sc =...
asked by 27.08.2016 / 21:24
1
answer

How to create models in iReport?

I wonder if there is any way to use a template I created in other reports? I want all my system reports to follow a pattern, but how do I do this?     
asked by 25.08.2016 / 13:48
0
answers

Access Remote EJB inside another EJB

Good afternoon everyone. I'm in a project that needs to do a lookup of a remote EJB inside another EJB in a different container. TheproblemiswhenItrytodothelookuptheInitialContextisgivingthefollowingerror.11:12:15,377ERROR[stderr](http-lo...
asked by 24.08.2016 / 22:41
1
answer

Error making android route: AndroidHttpClient: Leak found

Personal I have the following error: 08-24 22:52:53.529 9872-9880/br.com.anjodarua E/AndroidHttpClient: Leak found java.lang.IllegalStateException: AndroidHttpClient created an...
asked by 25.08.2016 / 13:45
0
answers

Foreign key problems

Hello everyone. I am creating a system that controls user registration and I am having a problem with a foreign key that is imported from another class into the Users class. When I change the state's combobox, a COULD NOT EXTRACT RESULTSET error...
asked by 22.08.2016 / 04:30
1
answer

Transparent Toolbar on Android [closed]

I need to make my toolbar transparent, or at least remove that shaded line below it. Has anyone ever been in a similar situation?     
asked by 22.08.2016 / 13:20
1
answer

Add Primefaces to the project

What is the procedure (step by step) for me to add primefaces to my project? I already have the jar on the machine, but is this jar inside the Maven dependencies? do I have to make changes to the web.xml and pom?     
asked by 12.08.2016 / 15:39