I'm designing a Java project to simulate a proxy server with authentication that has a single interface, inside which multiple internal frames are arranged. How to position a browser within this JFrame interface?
See the project templa...
When I try to save some city, it shows not-null error, but looking, I can not find a solution looking at the controller, I understand the error, but in my project.
Caused by: org.hibernate.PropertyValueException: not-null property referenc...
I've been testing various ways to write data to a variable in a text file (.txt), but I need to know if I can write this variable on a particular line, so I could organize multiple data in the same file by manipulating only the desired line.
p...
I have this list of 1 a 10 .
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Code:
List <Long> lista = new ArrayList();
for (long a = 1; a <= 10; a++) {
lista.add(a);
System.out.print(lista);
}
You would need a merged sum in t...
You're giving Syntax SQL error in from estoque where cod_rfid = 102 .
Note: 102 is the value that is in the RFID tag.
String dadoRFID = new String(readBuffer);
String Del_inc = dadoRFID.substring(0,1); //Pega o primeiro caractere...
I'm doing a pre-registration system, and I came across a problem that bothers me a bit:
As you can see in the picture, Curso has Disciplinas and Estudantes , only that each student needs to know in which Disciplinas...
I want to write a resident in my database via java when one of the searched parameters is NULL , but it turns out I can not figure out how to pass this command.
My code is:
public Usuario registraSaida(String nome) throws SQLException...
I am developing an application that aims to register a supplier, in which this supplier is generic (it can be a snack shop, building material store, a pharmacy ... etc) in which it will provide products on the web platform. However, for the fina...
I would like to retrieve the name of my tables in java with mysql database. I do not know if it is correct I get a hashcode: (1) model.Campanhas@b5cca49 (2) model.Campanhas@5c369e04
public ArrayList<Object> nameTables(){
try {...
Problem:
I'm trying to get a LocalDateTime of this input within a @Controller using a <form> that uses Thymeleaf.
<input class="form-control" id="dueDate" type="datetime-local" th:field="*{dueDate}"/>
But it alw...