Posts by albsilva • 345 points
8 posts
-
4
votes1
answer1886
viewsQ: SQL: How to Count Values in Different Columns
I would like to know how to count values in different columns. Generic example: ID - COLUNA1 - COLUNA2 1 - foo - Bar 2 - - Foo 3 - Qux - Bar 4 - Bar - I hope as a result count - value 2 - Foo 3 -…
-
4
votes1
answer556
views -
2
votes2
answers728
viewsA: Error in converting JSF
His method getAsObject is taking the string id, which in this case has the value "Select" and is trying to give a Long.valueof("Selecione") that causes a Exception. If you don’t want it to happen to…
-
2
votes1
answer218
views -
3
votes1
answer218
views -
6
votes1
answer5097
viewsQ: How to group by month with SQL?
I have a table, for example, with an attribute nome and data (for example only). I would like to generate a query that returns the amount of each row grouped by name and month: Nome Janeiro Fev…
-
0
votes1
answer109
viewsA: How to change the style of a vertical group in JGRAPHX?
Solution: mxIGraphModel model = graph.getModel(); // start to change model model.beginUpdate(); mxGeometry geo = new mxGeometry(0, 0.5, PORT_DIAMETER, PORT_DIAMETER); // Because the origin is at…
-
0
votes1
answer109
viewsQ: How to change the style of a vertical group in JGRAPHX?
I am working on a UML project and using JGRAPHX, or mxGraph as you prefer. In this case, when I have a group of vertices, a dotted line is added to mark that that vertex is a group. How can I change…