Posts by Cesar Voginski • 26 points
2 posts
-
0
votes2
answers232
viewsA: problem with java.lang.Nullpointerexception
In the class documentoDAO in the method SelectFull you use the reference con on the line Preparedstatement stmt = con.prepareStatement(sql); But this con is only filled when you call the method…
-
1
votes2
answers89
viewsA: Problems when adding numbers to an Arraylist
You are creating a random without seed, and always creates a new Random() soon, it will always generate the same number Place new Random(System.nanoTime()) This way he is taking the nanoseconds in…