I'm developing a web application that has the following mapping:
A user has a category;
A category has several subcategories;
a subcategory has several products.
As the image below:
WhatIamtryingtoimplementis:whentheadminregistersanewsupplierhe...
I have the following scheme:
JdbcRowSet myrs = new JdbcRowSetImpl();
myrs.setUrl("jdbc:postgresql://localhost:9999/teste");
myrs.setUsername("postgres");
myrs.setPassword("");
myrs.setCommand("select count (*) from pessoas where cpf = '12345'...
I'm trying for some time a solution to my problem. I have researched a lot but nothing explains me clearly what I need.
So I created an example application and I'm making it available from this link:
Appliance
To run this application, si...
Work in a company doing bug fixes. Some clients deploy the system to computers on their internal network, so it is not possible to remote debug.
Clients' computers usually have Internet access.
I wonder if there are any tools that would al...
Good morning, guys.
I would like to know how to do this in java to see if the response received from the server was successful or not.
Can anyone help me with this?
The java.nio API is part of the Java SE platform since its 1.4 release. Now, starting with Java 7, we have a number of new enhancements in this API and new features, which provide better file system management ( file system ) utility methods...
Is there any difference between initializing an attribute like this:
public class Turma {
private List<Aluno> alunos = new ArrayList<Aluno>();
}
Or so:
public class Turma {
private List<Aluno> alunos;
//Co...
How do I place a vector in descending order?
public static void vetor() {
int[] vet = {
7,
4,
10,
8,
2,
5
};
Arrays.sort(vet);
//Comando para colocar em or...
I'm connecting to the SQLite database with the following code:
public SQLiteConnection conn() throws SQLException{
String path = System.getProperty("user.dir");
try {
return new SQLiteConnection(path, "DadosPastas.s3db");...