Posts by Guilherme Garcia Alves • 85 points
8 posts
-
1
votes0
answers171
viewsQ: Configuration Electron js in windows
I am studying Elektron js and followed this tutorial http://red-badger.com/blog/2016/04/18/building-desktop-apps-with-electron-webpack-and-redux/ but in windows there are some errors. At first it…
-
2
votes1
answer831
viewsQ: Subquery in the select clause with JPA Criteria
I was searching how to do a subquery in the select clause with Criteria of a select of this type: SELECT tabela1.*,tabela2.*, (SELECT MAX(tabela5.AtrDatatabela5) FROM .Tabela3 AS tabela3 INNER JOIN…
-
1
votes1
answer438
viewsA: Null object fields when trying to persist with JSF and JPA
I was able to solve the problem; the fault was in the scope used, I changed to @ViewScoped to resolve this situation.
-
1
votes1
answer438
viewsQ: Null object fields when trying to persist with JSF and JPA
I am trying to persist an entity and when I try to persist it plays an error of Constraint Violation, performing the debug, I noticed that the object is instantiated but the fields are null.…
-
0
votes1
answer689
viewsQ: JSF ui:Composition component does not work
I’m creating an example template but when the page opens it goes blank, it follows the template and page that tries to pull up the template: master-template.xhtml: <?xml version="1.0"…
-
0
votes3
answers1649
viewsA: Inserting column in Oracle table with conditional
After more researches to the colleague of the work hehe we managed to solve this way: /*Verifica se coluna já existe e se não houver insere com valor padrão 'A'*/ DECLARE col_count integer; BEGIN…
-
0
votes3
answers1649
viewsQ: Inserting column in Oracle table with conditional
I need to create a column in an existing table but need to do with a checking condition if this column already exists in the bank I did so but it throws an error: DECLARE col_count integer; BEGIN…
-
3
votes1
answer147
viewsQ: Javascript error opening page - Uncaught Syntaxerror
When I open the page it breaks and when I open the browser console appears the following error: Uncaught SyntaxError: Unexpected token ; When I see the code on the console it appears this way: if…