Questions tagged as 'java'

1
answer

JPA + Hibernate launching update alone

Hello, I have an object that is managed by Hibernate. On screen, an attribute of this object updates the value and Hibernate immediately fires an update in the database, without even going through methods in the controller or data persistence...
asked by 19.10.2016 / 20:29
1
answer

Show emoticons with keyboard-independent button

I'm developing an application in which I created a button that I would like to do the same function as showing the emoticons on the keyboard. This image: btnMostrarEmoticons.setOnClickListener(new View.OnClickListener() { @Ove...
asked by 21.10.2016 / 05:01
1
answer

java library error in project

The libraries of my project are not importing the classes of * util and several others too, I do not know what is happening, because when I create a new project these classes and libraries work. Below an error print. I've tried to clean the e...
asked by 24.10.2016 / 19:58
1
answer

Inheritance problem with HIBERNATE

Well, my problem is this: I have an abstract Employee class and two Attendant and Dentist subclasses that inherit from employee. I also have a User class, which has login attributes, ..., ...., ... and an employee linked to it. My...
asked by 27.11.2016 / 23:51
2
answers

WebService + SOAP for android

Good morning, I created a web service with soap and tested it on the SoapUI tool. This tool works cool. In android to using Ksoap and when I command to list the data in Logcat this is bursting an exception:    SoapFault - faultcode: 'soap...
asked by 02.09.2016 / 18:09
1
answer

Fragment being used by two different activties

I have a fragment that is inflating a recycler view, so far so good. The problem is that this fragment needs to inflate in two different navigation drawer, and at the time of casting, I can only cast one. Is there any way to cast it, to ident...
asked by 31.08.2016 / 03:01
0
answers

Java Swing program does not open window outside of NetBeans, but remains open in processes

My problem is that I did a Java program in NetBeans and it works normally, but the problem is that when I open the .jar outside the IDE, the window is not opened. Here is a simple code with the same problem: package bbb; import javax.swing....
asked by 18.02.2017 / 02:22
0
answers

String conversion error in JSONArray - Android Volley Method

My application receives a JSONString via web service from a C # API, as listed below: [{ "LimiteCredito": 123.00, "PessoasFuncionarioId": 16, "Id": 12, "Nome": "Cliente PF A", "DataEdicao": "\/Date(1485019536610-0200)\/", "UsuarioAlteracaoId":...
asked by 21.02.2017 / 15:04
0
answers

Transform video into Blob object?

I found this code in a tutorial that to transform the videos into objects and be treated as if it were a url blob , with the first video coming on the page the function works perfectly, however when I call another video through , t...
asked by 03.10.2016 / 01:29
1
answer

How to generate project JAR and POM by following the layout of the Maven repository?

I have a project where I need to generate the jar and pom following the same method as the maven-install-plugin plugin generates inside the local repository, as in the feedback that is given when constructing the project : --- maven-install-...
asked by 05.10.2016 / 16:17