Posts by Marcelo Michels • 26 points
4 posts
-
0
votes1
answer370
viewsA: Configure Hibernate.cfg.xml with Datasource configured in Wildfly 10
Just add the following setting to your file persistence.xmm <persistence-unit name="bell-adm" > <provider>org.hibernate.ejb.HibernatePersistence</provider> <!-- jta-data-source…
-
0
votes1
answer182
viewsA: View results from a search in the same View Angularjs
You are calling . then in controller and service, try changing the service to just this: self.allCategories = function() { return DBA.query("SELECT id, category_name FROM tblCategories"); };…
-
0
votes2
answers121
viewsA: Refresh to a div
An easy way is to assign a variable in the main file (before including), then refer to that variable in the included file. Parent File: $myvar_not_replicated = __FILE__; // Make sure nothing else is…
-
1
votes1
answer104
viewsA: Nullpointerexception when trying to open database
You just declared the ItemPreVendaDAO, you need to instate it: itemPVDAO = new ItemPreVendaDAO(); itemPVDAO.open();