Questions tagged as 'java'

2
answers

Change an entity by passing a list

Hello, I have a class teacher registered and I want to change it by passing an array of materials. I have the following code: class teacher: //... atributos não importantes ao problema @ManyToMany @JoinTable(name = "teacher_x_le...
asked by 11.11.2018 / 17:06
1
answer

Search in Array returning Default object

Good evening, my registration system there is an option (4 in the Menu) to search for the data of the Object with the lowest age between a range that I declare in the option (minimum age and maximum age), however when bringing the result it back...
asked by 11.11.2018 / 23:38
0
answers

Pass recovered image from firebase to another Activity

I have a class that generates a feed of photos downloaded from firebase, and I have another class for comments, I would like to retrieve these photos from the feed in the comments for a preview: First class: public class FeedFragment exten...
asked by 11.11.2018 / 21:36
0
answers

block access with Spring

Beauty, in the configuration I made I can not block access to the pages that are inside another folder inside my views folder. IncaseI'mtryingtoblockaccesstoeverythingwithinthecontrolfolder. My setup is this way and it seems all right...
asked by 12.11.2018 / 11:47
2
answers

Java declaration of variable doubt

I do not know what the subject of this part of java is, but I did not understand it: Carro carro; I know that when declaring the variable we do: String carro; Why is there a car type ??? being the types integer, boolean, string, float,...
asked by 10.11.2018 / 07:11
1
answer

How to limit and display the number of characters in a JTextArea

I have a supplier registration window, and I would like to enter a jTextArea so that the user has the option to enter any comments about the supplier. The idea is to limit the number of characters to be typed and show the amount...
asked by 14.07.2016 / 20:15
0
answers

How to send a query to an arrayadapter?

I'm trying to pass a query from an sqlite to an arrayadapter that will consume the query as a string, but I'm not getting the arrayadapter to populate my view. follow view code: <?xml version="1.0" encoding="utf-8"?> <RelativeL...
asked by 08.11.2018 / 14:56
1
answer

Service in JBoss does not log and does not work right

I have a service that is deployed inside my JBoss EAP 6.4, when I try to access the end-points of the service it returns a padded response, along with the status 500, however nothing is logged into the console and I can not either debug the rout...
asked by 07.11.2018 / 17:33
0
answers

EJB and methods within the same class

I'm studying EJB and I had two questions regarding the type of transaction: The% w / w of the following code has metodo1 , will TransactionAttributeType also assume the same behavior as metodo2 since it is being called w...
asked by 07.11.2018 / 14:41
0
answers

Hamcrest - Is there any way to ignore fields when we use a file as the basis for response body validation?

Hello, I'm starting in the automation world and I was left with a question, in case I'm validating the POST insertion in a REST API that returns information to me in the response body, but some of these fields in the response body change (ID and...
asked by 08.11.2018 / 01:34