I'm trying to extend findAll from my JPA repository to make custom filters.
I did some research and found some ideas of use with Predicates and related but did not identify something that worked in a practical way.
I would like to know if...
I'm trying to install and run Spring Roo. I downloaded it, unzipped it in the opt folder, gave the permissions on the folder, and created the links.
But when you run the command "roo" a big error appears and it locks the program having to clo...
Good afternoon everyone.
Personally, I have a problem that I should probably be missing or forgetting the order of something.
My case is that I have a two controllers. One is DestinationController.java and the other is FileController.java....
In my current Spring project, I'm facing the following issues when trying to save an entity that references another (with foreign key), with this:
@Entity
@Table(name="pagina")
public class Pagina {
@Id
@Column(name = "id")
@Gener...
I'm starting a web project and I'm thinking of using java with mongoDB and Spring data. In this web project, each user would have their own bank. That is, when the user logs in (this would be a shared bank, where it would contain only the login...
Let's say I have the following Pojos
public class Pedidos{
private Strig codigo;
private String nomePedido;
private List<Dados> dadosPedido;
//getters e setters}
}
E
public class Dados {
private String nome;
private...
Hello,
I'm starting my study in SpringBoot, where I arrived in a part that I could not solve due to an exception, where I already saw in several topics how to solve, and none worked for me.
I created two Person and Cell entities and did th...
Good morning, I need to make a query via REST where multiple IDs will be sent for example (ID: 1, ID: 2, ID: 3, etc).
To search only for an ID I use findById(codigo) , but I do not know how to use multiple data.
As I'm using RESTFull, how...
I'm trying to set up a sample project using Spring Data JPA with Hsqldb
I made the person class that would be model , the interface repository and a main class to run.
I did not create the database because I have a question if...
I have the following query:
SELECT tab1.nom_shopping,
tab1.nom_fantasia,
tab1.luc,
tab1.dat_vencimento,
tab1.num_boleto,
tab1.val_saldo_aberto,
tab2.num_cpfcnpj negativado,
tab2.id_pessoa_vinculo_loja [IdPessoa],...