Posts by Isdeniel • 365 points
21 posts
-
0
votes1
answer54
viewsA: Provided id of the Wrong type for class - [JPA] Embeddableid formed by another Embeddable
After a night’s sleep I found the solution. The reason of the error was that the primary key type of the class used in the relation @PrimaryKeyJoinColumns (in the case, the class Table) has to be…
-
0
votes1
answer54
viewsQ: Provided id of the Wrong type for class - [JPA] Embeddableid formed by another Embeddable
On the bench I have two tables called Table and Tabub. To Table is composed of a primary key, which is composed of 3 attributes. To Tabub is composed of a primary key, which is composed of 3…
-
0
votes4
answers2676
viewsA: Problem with Beans in spring : No Qualifying bean of type
What may be happening is that when the controller tries to instantiate the class AgrupamentoTaxonomiaServiceImpl it cannot because there is only one constructor method in this class, which requires…
-
1
votes1
answer189
viewsQ: function equals of object is not called during unit test
I’m developing unit test of a class with Junit and Mockite, and to facilitate the creation of a spy of this class I created a function that builds and returns this spy. The problem that is occurring…
-
0
votes3
answers110
viewsA: Does the File(String) constructor create a file?
Based on the comments of the publication and on a few minutes I spent thinking about it, I came to the conclusion that the constructor File(String path) does not create a file. I can say this…
-
0
votes1
answer133
viewsA: How do I show the randomized quicksort step by step?
Unlike higher-level languages, such as Python and Javascript, which can take any type of data and turn it into something readable to the user when printing, in C the only way to display the data…
-
6
votes3
answers110
viewsQ: Does the File(String) constructor create a file?
When we use the constructor method File f = new File(aquiVemOEnderecoDoArquivo), if the file does not exist, it is created?
-
0
votes1
answer41
views -
3
votes2
answers671
viewsQ: What should I use to make one grid system within another?
I’m doing a Carousel that will show some ads from recently posted posts. A div containing the Carousel is a container, and Carousel elements are also of the container. When I am creating grids…
-
0
votes1
answer88
viewsQ: Service in Jboss does not log and does not work properly
I have a service that is deployed inside my Jboss EAP 6.4, when I try to access the end-points of the service is returned a replacement, along with the status 500, but nothing is logged in the…
-
0
votes1
answer443
viewsQ: How do I pass a lambda function as a parameter?
I’m doing a college project where I have to develop a calculator with Java. I am trying to find a way to pass lambda functions as a parameter so that it is possible to put these functions inside a…
-
0
votes0
answers42
viewsQ: How do I declare an integer with a storage capacity of 30 bytes?
My question is the following: I know that the Python language interpreter is done in C. In Python the numerical variables have no size restriction, that is, the more we add value to variable, plus…
-
0
votes1
answer178
viewsQ: How do I set the call timeout of an EJB function?
At the end of a service my project has a function that takes an EJB from another project that is installed on the same server, and accesses one of its functions. My function that takes the EJB and…
-
0
votes1
answer32
viewsA: Result Search not located
What function is called when you click the search button? Just go to this function that is active when you click on the search button and make that when the return of the search is null, it is…
-
6
votes1
answer292
viewsQ: What’s the use of padding Bootstrap’s container?
What’s the point of padding of container of Bootstrap if the row has a margin negative that cancels this padding? If I want my entire page to have one padding so it doesn’t stick to the edge like I…
-
-2
votes1
answer658
viewsQ: How to mock a private function in Junit
I have a main class Usuario extending (extends) an abstract class called Sessao, and uses a function of Sessao calling for obterDados() that takes session data and returns to an object SessaoTO. I…
-
-2
votes2
answers931
viewsA: Rename the process
For all being in .bat it should not be possible to generate different processes, since all are interpreted by cmd. I suggest you create executable files .exe to generate different processes. This…
-
0
votes1
answer89
viewsQ: Can I put one controller inside another in html?
let’s assume that my site made in Angularjs has a ng-include from a modal (a floating part of the screen) I can define a controller in this HTML file to control the part that will be included even…
-
1
votes1
answer3765
viewsQ: Error while running default springboot project
I am trying to run the default springboot project that I acquired here. The project has the following dependencies: <groupId>br.com.fc</groupId> <artifactId>api</artifactId>…
-
0
votes0
answers351
viewsQ: Error when viewing API in Angular
Good morning, I’m trying to access my API through the angular method get of the http module, my files are in my repository github in case anyone wants to take a look. I am following this tutorial…
-
4
votes2
answers1210
views