Posts by dhb • 128 points
8 posts
-
1
votes1
answer416
viewsA: Cordova + Crosswalk
I performed the steps you described but before adding the crosswalk lib I created inside the folder Platforms/android the file Gradle.properties, with the following content: cdvMinSdkVersion=20 More…
-
2
votes1
answer297
viewsA: How to list users and their "Roles"
How is a list of ROLE you must iterate, try something like: <span th:each="role: ${user.roles}"> <td th:text="${role.role}"></td> </span>…
-
0
votes1
answer489
viewsA: How to Save the Date Field of a Java SE Application in Postgresql
The date should be converted, here is an example below: ps.setString(1, new java.sql.Date(aloca.getAlodtdevolucao())); ps.setString(2, new java.sql.Date(aloca.getDtAlocacao())); ...…
-
1
votes1
answer88
viewsA: Javax, @Defaultvalues, @Prepersistent, @Preupdate
From what I understand you are using JPA, in this case prefer to let the default value be generated by the bank use so: @Column(name = "DATA_ATUALIZACAO", columnDefinition = "TIMESTAMP DEFAULT…
-
1
votes1
answer59
viewsA: How do I fix this mistake
You need to locate the view by its ID within its layout, after which set the text you need. See google documentation Follow your code as an example: package gabriel.meaperte; import…
-
0
votes1
answer47
viewsA: help with JSF code
Change your code to: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui" xmlns:ui="http://xmlns.jcp.org/jsf/facelets">…
-
0
votes1
answer40
viewsA: Query Logical Hibernate
If you want to use Hibernate Criteria: public boolean minimoUmSuperUsuario(Usuario usuario, Session sessionExterna) throws HibernateException { Criteria crit =…
-
0
votes1
answer193
views