Questions tagged as 'java'

0
answers

Error Handling for foreign key violation-java-postgreSql

I have created a table enrollment , and 5 subject tables, the two are linked by foreign key, and inside my program has a screen to simulate a student enrollment, where one of the steps is choose the disciplines, being able to choose at most 5 a...
asked by 02.05.2016 / 09:58
0
answers

Doubts Jboss Data Virtualization

Good evening, I'm with a project where I have to consume tables generated in star format, for BI use, the company bought a paid tool, but does not want to spend much with licenses. So a user interface will have to be created, so using jdbc to lo...
asked by 03.05.2016 / 03:09
0
answers

Is there any self help api [closed]

I would like to know if there is any self-help api where it shows information about the content of the field something like a detail about how the user should add information in that field? Anyone know anything?     
asked by 02.05.2016 / 15:30
0
answers

Tomcat stops working on a pc after a short time

So, I have a web application (Java + Spring + JPA) in TomCat 9.0 and several machines connected to it, cell phones and notebooks all working perfectly. However, there is a notebook (i5, Windows 10 Pro) that connects and can use all the featur...
asked by 02.05.2016 / 19:46
0
answers

JDateChooser Validation

I need to validate three dates that are of type JDateChooser . These dates are: date of birth, date of admission and date of dismissal. The date of birth can not be greater than the date of admission and no more than the date of dismiss...
asked by 20.03.2016 / 03:59
1
answer

Browser request works, but Java gives error 301

When I perform an HTTP request for
asked by 27.03.2016 / 04:41
1
answer

Check if TAG XML exists

I am writing a code that reads data from an XML returned by hardware, but some TAG now has not and can not check the existence of it. Follow the code used to read the XML and use the data. public void lerXml(String xml) { Strin...
asked by 28.03.2016 / 20:21
1
answer

Maven Spring Project MVC + JPA

I'm new to Spring MVC, I created an Maven sample project for Spring MVC using Hibernate and JPA. I found some problems when setting up persistence.xml but I was not able to use dartasource managed by jboss, I left that aside, now when I try to g...
asked by 13.03.2016 / 22:34
2
answers

What is the purpose of the super command when used in the parameter declaration of a method?

In Java the command super has the function of calling the superclass constructor. However, in the declaration of method forEach() of class ArrayList it is used in a different way than usual, see the signature of the method t...
asked by 12.03.2016 / 02:45
0
answers

Error passing request attribute to an angular directive

I have to pass an array of objects to an angular directive, but I have the error below. How do I solve it? angular.js:12330 Error: [$parse:ueoe] Unexpected end of expression: [{ http://errors.angularjs.org/1.4.3/$parse/ueoe?p0=%5B%7B at an...
asked by 23.03.2016 / 18:20