Posts by user155542 • 141 points
8 posts
-
5
votes2
answers3726
viewsQ: How to overload method in javascript?
Personal how to manage to emulate overload of methods in javascript? I know that some programmers can, for example, I will use Gulp. Gulp has the method .task: var gulp = require('gulp');…
javascriptasked user155542 141 -
2
votes1
answer133
viewsQ: Jackson does not serialize Jsonobject object
I have a service like this: @Path("/test") public class TestEndPoint { @GET @Produces("application/json") public Response get(){ POJO pojo = new POJO(); pojo.setName("Rafael"); return…
-
0
votes1
answer70
viewsQ: Indexoutofboundsexception in reading an Inputstream
follows the excerpt of the code I am studying: FileInputStream stream = new FileInputStream("/home/rafael/2015.json"); // esse aquivo tem 24 bytes byte[] result = new byte[(int)…
-
3
votes2
answers97
viewsQ: Log all of an Activity’s touch events?
I need to log all the actions of a user in an Activity: For example: click on R.id.btn_ok view longclick on R.id.listview-item
androidasked user155542 141 -
0
votes1
answer1041
viewsQ: How to create a report in Jasperreports (Jasper Studio) that has dynamic columns?
Follows the table: As you can see, sometimes I can have 1 test, 2 test, 3 tests or none at all. All this would depend on what I could bring from the bank. How can I do it in Jasperreports?…
jasper-reportsasked user155542 141 -
0
votes1
answer409
viewsQ: Daughter entity does not receive its parent entity merge id via @Cascadetype
I have a problem when adding an entity to the database via Cascade. After the update of the entity Aluno the entity Daughter NivelAlunoLinguaEstrangeira does not work properly. @Entity @Table(name =…
-
-1
votes1
answer1078
viewsQ: Commit transaction only if all EJB’s are successful
I have a complex problem, but it can be exemplified by the following metaphor:: @Stateless public interface ChildEJB01 { salvarGato(Gato g); } @Stateless public interface ChildEJB01 {…
ejbasked user155542 141 -
3
votes2
answers50
viewsQ: Business Exception is not in the Clientejb classpath
I have the following situation: EJB PROJECT public BussinessException extends Exception {} public MyInterfaceImplementation implements MyInterface {} EJB PROJECT CLIENT public interface MyInterface…