Questions tagged as 'java'

0
answers

Compare year and make the count registered in the bank

I wanted to count clients registered in my bank, born in the year 1930 to the current year (2017). In my bank I have registered as date , the date of birth ex: 2000-10-01 So I wanted to make a for comparing the year 1930 with...
asked by 23.03.2017 / 11:48
1
answer

I have 2 problems when trying to submit the form

Well I'm having a little problem here on my form, in reality it would be 2 problems. 1 - I'm using an autComplete, so I can get my object through the search, but at the time of submitting my form it simply deletes what I had completed. 2 -...
asked by 22.03.2017 / 23:51
0
answers

Difficulties with Logic

Well, the scenario is the following I am trying to develop an electronic point through my application, but I worked on the authentication logic of the following dates and working hours in the logic that I have at the moment it authenticates the...
asked by 04.04.2017 / 15:47
0
answers

Doubt monitoring TomCat with Java VisualVM

In my jdk Bin folder I accessed "jvisualvm.exe", it is not in the machine's environment variables, but after that I set up tomcat 8: -Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremo...
asked by 04.04.2017 / 14:49
1
answer

Object is not filled

I have the following form from my page: <h:panelGrid columns="3"> <p:outputLabel value="Código" for="codigo"/> <p:inputText id="codigo" value="#{encomendaController.encomen...
asked by 20.03.2017 / 17:16
2
answers

My program gives error when array value is null

I have a program that pulls reports from a system, I'm including one more table in the program. The data that is read comes from an array but sometimes it is empty, and when it does, the program gives error. I put an if to check if the vari...
asked by 20.03.2017 / 17:57
0
answers

Problem using a combo box numeric variable with decimal places in GX Ev3 u11

I have identified a bug when using a numeric combo box with decimal places in GX Ev3. In versions Ev1 and Ev2 the same example works perfectly. I'm not good at writing, but I'll try to describe the problem. If someone does not understand I'll...
asked by 20.03.2017 / 21:49
1
answer

Two-dimensional array size not being defined

I created an array and put it to initialize with the values passed in the constructor, but it is not initializing. I created the object, I threw the values, but when I call the method to show the matrix, it does not appear, as if it had not been...
asked by 16.03.2017 / 21:12
1
answer

MySQL Web connection error

Hello, I am trying to connect a java class with a MySQL BD from the db4free.net host but it is returning the error below: SQLException: java.sql.SQLException: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long...
asked by 15.03.2017 / 03:24
2
answers

Problem with relationship ManyToMany - Java

Good evening people, I was doing a chart that lists the doctors and how many patients they have, but at the time of the print only the doctors come, it does not come with the Patient List. Patient Classes: package entity; import java.util....
asked by 15.03.2017 / 01:29