Questions tagged as 'java'

1
answer

Relationship between composite key classes → error: not mapped to a single property

I have a VARIANCE class that has a compound key (FK_T, FK_F, FK_F_VARIACAO). Two of these primary key fields (FK_F, FK_F_VARIACAO) are also foreign key to the FARIA table, in a ManyToOne relationship @ManyToOne(fetch = FetchType.LAZY) @JoinCol...
asked by 08.04.2015 / 21:41
0
answers

Creating labels for Zebra printer [closed]

I need to create my own label to print to the zebra printer, if anyone has any experience with it, I'd like to know how it was done. Thanks in advance for your help! Better explaining: I have an application in android, I was able to mak...
asked by 08.06.2015 / 20:38
0
answers

p: dialog does not work

I'm following the showcase example but it does not work. It was to appear an icon and after I clicked on this icon it opened the Dialog but when I open the page it is already this way: Thisisthecode:<body><h:form><h:outputLinkv...
asked by 10.06.2015 / 15:47
2
answers

Public method where a date is passed as a parameter, a parameter only

I need to create a public method called mostraData where a date is passed as a parameter (a parameter, not the separated day, month, and year), and the date is returned in the following format: dd / mm /aaaa . Keep in mind that...
asked by 30.05.2015 / 22:23
1
answer

Navigation between JavaFX screens

What is the best way to navigate from one screen to another using JavaFx. The way I'm doing every time the first screen calls the second screen the second screen opens with the size of the first one. This is how I call the second screen: Pa...
asked by 28.05.2015 / 21:05
0
answers

How to interconnect prolog with C #

I wanted to know how to create a knowledge base in prolog and use it in a interface created in c# or java , create new clauses via interface.     
asked by 30.05.2015 / 14:24
0
answers

Problem to read formulas using Apache POI

I'm creating a method to hide elements that are zeroed out of an excel file, but the problem is that it can not pick up the values when the column is a formula. How can I get these values? My code: private static ByteArrayOutputStream ocult...
asked by 02.05.2016 / 22:30
0
answers

How to integrate a Java system with one in COBOL?

What are the options for a Java system to communicate with a system made in COBOL? Is it possible to use WebServices? If not, JCA would be the best option?     
asked by 04.05.2016 / 15:18
0
answers

Webservice status configuration query GNRE

I'm having trouble querying the settings of some webservice states of the web using the 100099 recipe, if you use another recipe (100048 for example), it returns OK, in the case of 100099, it reports the error:    java.rmi.RemoteException: Er...
asked by 19.05.2015 / 15:41
0
answers

Socket in Java is not printing what it should

Server: BufferedReader inFromClient = new BufferedReader(new InputStreamReader(connectionSocket.getInputStream())); String s = inFromClient.readLine(); System.out.println("> "+s); This simple code is returning the...
asked by 13.05.2015 / 03:18