Questions tagged as 'java'

0
answers

Search on the system using angularjs and java

I have a Java backend: JPA, HIbernate. Entities working correctly, I even have a SearchResource class @Path("/search") @ApiDefinitionBase @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) @Api(value = "Search", prod...
asked by 28.11.2018 / 18:38
1
answer

Primefaces, p: fileDownload ajax="false" nullPointerException

Hello, I'm new here, I already searched for Google's life and here on the Stack something similar but did not find. I am not as experienced as DEV so who can help ... The problem is p:DownloadFile . At least I think it's there. It gives...
asked by 21.08.2018 / 16:47
1
answer

Daily notifications at a specific time set by the user

I've created a method to send a notification to the user with the name sendNotification() using NotificationCompat.Builder and NotificationManager . I need this notification to be launched every day at 07:30 AM , and th...
asked by 10.03.2017 / 18:16
0
answers

XSD with Schema with restriction "pattern, enumeration, max and min" Java

I'm trying to generate a wsdl where it will generate xsd reflecting entity classes. The problem is that I can not generate the restriction in xsd as needed by each property of the appropriate classes. What I'm generating: <xs:co...
asked by 23.08.2018 / 16:08
0
answers

Android Studio - Error using BottomNavigationViewEx methods

Good afternoon, I'm using the BottomNavigationViewEx lib to make a navigation bar for an Android application, but when I use the methods "enableXXXX" and "setTextVisibility" it gives the error below. Does anyone know why and how...
asked by 31.07.2018 / 19:11
0
answers

JPA - CascadeType.REMOVE after entity is deleted by orphanRemoval = true

public class PrimeiroNivel { @OneToMany(mappedBy="primeiroNivel", orphanRemoval=true) private List<SegundoNivel> niveisSecundarios; } public class SegundoNivel { @JoinColumn(name="primeirNivel") @ManyToOne pri...
asked by 24.07.2018 / 20:10
2
answers

Java.lang.NullPointerException because of a list

Well, I'm studying java and I was seeing composition, so I decided to do some things:    System overview : You want to make a bank account registration system, and each account has a holder name, password, number   of account and balance. "U...
asked by 05.01.2019 / 01:23
1
answer

AngularJS image upload with Java server

I'm having a problem uploading a web image, I'm using the angular file upload , when I upload it it writes the image to the Frame - > images of the browser, and when I read the inputStream there on my server it does not return the i...
asked by 29.01.2014 / 13:21
1
answer

When I use the @Transactional annotation, the Autowired variables are null

When I use the annotation @Transactional in a method annotated with @RequestMapping all variables annotated with @Autowired are getting null . Has anyone ever gone through this? Could you give me some direction to t...
asked by 10.08.2018 / 01:57
1
answer

How to show the contents of an SMS received in Android in a text dialog?

I'm developing an Android application that sends an SMS request to a remote device and receives a reply, also via SMS, which should be presented to the user. In order to receive SMS I used the following code, which implements SmsReceiver...
asked by 19.03.2014 / 14:52