Questions tagged as 'java'

0
answers

Compiling and running the java and maven application with the same encoding

I have an application that I'm compiling using maven from the command line. In my pom.xml I specified encoding using: <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <projec...
asked by 01.08.2018 / 20:46
1
answer

how to search the groups that the user participates in Firebase?

I have an android java app and want to know how do I search the groups that a user participates in ... How do I join to find only the groups that the user participates in? (the attendee table links the group and user tables)?     
asked by 09.08.2018 / 18:13
1
answer

Save data on more than one node in Firebase

Well I have the following code: private void abrirCadastroContato() { String emailContato; emailContato = "email"; int contador = 1; while (contador <=3) { if (contador == 1) { emailContato = "[email protected]"; }...
asked by 01.08.2018 / 14:33
1
answer

How to generate an executable from a program made in Eclipse?

I made a program for the company where I work entirely on JOptionPane , just so that the program would only work by opening real system windows (I thought it would be easier to run officially after export than one I saw running through the...
asked by 19.05.2017 / 02:10
0
answers

Spring - @Query with JOIN returning UNKNOW instance

I have this Endpoint in my controller: @GetMapping("/validationsList/{search}") public ResponseEntity<Page<IntRaptMecListDTO>> getListOfAppointmentsBySearch( @RequestParam(value="page", defaultValue="0") Integer page,...
asked by 03.08.2018 / 21:03
1
answer

WEB Service SOAP instantiate class

Good afternoon, I'm trying to instantiate a class from a WS SOAP but this gives the following error. Hereisthecodeformymethod:publicvoidconsultaOperadoresSafra(){CapturaPropostascapturaPropostas=newCapturaPropostas();ICapturaPropostasiCaptur...
asked by 31.07.2018 / 22:11
1
answer

Import the postgres library into IDE intellij idea

I started to use the IDE intellij idea shortly to develop in Java, previously I used net beans and when I was going to use the database for my application it was simple to import the library of the bank, how do I do this in intellij idea?     
asked by 30.07.2018 / 15:35
0
answers

Internal jframe over another internal Jframe [duplicate]

How do I open my inner Jframe over another internal jframe? my application is ok, but when I call the internal jframe it opens more below the current one that is open. I'm using Netbeans. private void menCadExProdutoActionPerformed(java.awt...
asked by 29.07.2018 / 23:17
0
answers

How to update a sql server database currently, or after generating an xml using xStream in Java

I would like a help, I need to change a status of a field in a table, after generating an xml using XStream. How could I do to update the table? At the very moment of executing the xml, or after adding all objects to the list. public class Cri...
asked by 27.07.2018 / 20:24
1
answer

How to read .sql file with Java

I have a complex query in MySQL with sub-select and joins . I would like to read this script through a .sql file using the JPA / Hibernate language (JPQL or HQL), for example getSession().createQuery(arquivo.sql); ....
asked by 09.08.2018 / 21:39