Posts by Shura16 • 2,113 points
114 posts
-
1
votes1
answer399
views -
7
votes1
answer5896
viewsA: Service difference, repositories and controller
As already said, JPA is only the technology of access to the database. With it you can use Design Patterns (design pattern) that are not part of JPA specifically. Repository is a Design Pattern…
-
0
votes2
answers321
viewsA: Inner Join 3 tables
Do something like this: SELECT o.id, o.titulo, p.outroCampo, f.qualquerCampo FROM ofertas AS o, ofertas_pro AS p, favoritos AS f WHERE o.id = f.id_oferta ORDER BY f.id_user; It is possible to use…
-
0
votes2
answers1736
viewsA: Jquery does not load to localhost
Call it using http or https like this: <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script> <script…
-
0
votes2
answers7485
viewsA: Datepicker with Angularjs
Searching the Angularui documentation, I noticed that they use the date filter. It would suit you? <datetimepicker data-ng-model="data.date"></datetimepicker> <p>Selected Date: {{…
-
1
votes1
answer514
viewsA: The find() method of my entityManager from DAO Generica is giving Nullpointer, how to correct?
You should inject Entitymanager. An easier way would be with the help of Vraptor himself with the @Inject annotation public class ProdutoDao { @Inject private EntityManager manager; public void…
-
0
votes3
answers1691
viewsA: Button does not execute the Managedbean method
Use ajax=false on button and userDaList on setPropertyActionListener like this: <p:commandButton id="btnEdi" icon="ui-icon-pencil" action="#usuarioBean.editar}" immediate="true" ajax=false>…
-
1
votes1
answer198
viewsQ: Modal W3.CSS conflicts with Angularjs
I’m experiencing the W3.CSS in an application Angularjs which until then used Bootstrap CSS. But the modal of W3.CSS uses anchor to open, already the Angularjs interprets the anchors as routes and…
-
3
votes2
answers3795
viewsA: How do I run a video inside Jframe?
The idea of using Javafx is interesting. In Javafx, running a video would be like this: import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.StackPane; import…
-
-1
votes2
answers5263
viewsA: How to calculate the difference between values that are in the same column?
I know two options, you bring this in a consultation as in I calculate between fields SELECT ValorBoleto + TotalJuros AS Preco FROM fotoprodutos or this Formula in SQL (English) SELECT name, black,…
-
0
votes0
answers390
viewsQ: Textfield Null in Javafx
I’m learning to develop in Javafx. I would like to be able to select an item in a tableView, when clicking a button, it opens a window with the details of the previously selected item. But I am…
-
2
votes3
answers739
viewsA: Can a video accelerator card improve non-fiction performance?
All you can see on the computer is graphic or use graphic. What happens is that we divide the interfaces into "graphic" and "text". However, even old computers with text-mode systems use video…
performanceanswered Shura16 2,113 -
2
votes1
answer103
viewsQ: Error using $http Angularjs
I’m trying to call the $http method from Angularjs to get information from a REST Webservice, but the following error appears: Error: [$injector:modulerr]…
-
2
votes1
answer72
viewsQ: Error running Spring Roo
I am trying to install and run Spring Roo. I downloaded it, unzipped it in the opt folder, gave the permissions in the folder and created the links. But when running the command "Roo" a big error…