Posts by fernando limeira • 126 points
5 posts
-
6
votes2
answers26234
viewsA: SELECT INSERT in Oracle using Sesquence nextval and group by
Oracle does not allow you to use group by com Quence so you have to group first then include Quence. You can do as much with group by as with distinct. group by: INSERT INTO SUP_T(ID, DESCRICAO)…
-
1
votes1
answer150
viewsA: Question about updating Jlabel in Jframe
It’s just a detail that you missed, you prompted Dataehora and Frameinicio only that you are viewing Frameinicio. Try this way: public static void main(String[] args) { EventQueue.invokeLater(new…
-
1
votes2
answers257
viewsA: Quicksort in Java does not work
Some conditions were wrong, try: public static void quick(int v[], int start, int end) { int pivo = v[end + (start - end) / 2]; int i = start; int f = end; while (i <= f) { while ( v[i] <…
-
0
votes1
answer517
viewsA: Error running . jar on Windows Powershell with Maven
Open your jar with Winrar or some type code decompiler Jd-Gui and make sure the class is in the generated jar. If not, you have the wrong Maven settings.…
-
3
votes4
answers602
viewsA: How can I replace "String.isEmpty()" in Java?
Whereas date is a String you can do so: if(!"".equals(data))