Posts by Pablo Dias • 323 points
15 posts
-
0
votes3
answers131
viewsA: Multiple query values with JPA/Sprint and Rest
My suggestion is that you send a code array by queryString, so you can create an iteration for each code or even a method that receives a code list and select on those criteria. // recurso…
-
0
votes1
answer864
viewsA: Save Request Spring Boot
I believe that the insertion of logs for request records is the most adopted model and suitable for this situation, however, if you still choose to persist all requests of your application, you can…
-
0
votes1
answer1724
viewsA: How to store images in a Javascript object?
The Camera.getPicture() function returns a Base64 from a photo taken. https://cordova.apache.org/docs/en/1.6.0/cordova/camera/camera.getPicture.html Basically it is a giant string and can be saved…
-
-3
votes3
answers4139
viewsA: In practice, what is a system test and what should it cover?
My opinion is that yes, it is to test the interface of that system, make sure that all resources available to users are working before putting the system into production. But it goes beyond that,…
-
1
votes1
answer669
viewsQ: How many apps you can have on Google Play
If possible, does anyone know how many apps you can have in the same Google Play account ?
-
0
votes2
answers612
viewsA: What is the difference between the 2 parameter passages?
Passing value by reference becomes a more dynamic feature, i.e., you are telling the compiler where the value is and not stating the value itself, referring to a variable for example, is where it is…
visualganswered Pablo Dias 323 -
1
votes3
answers1764
viewsA: Ionic - Display side menu in all view except main page
In practice just create a route to the menu and use on the pages you want, for example : (function() { 'use strict'; angular.module('testModule').config(router); router.$inject = ['$stateProvider',…
-
3
votes2
answers1393
viewsA: Change APP icon after installed - IONIC
Native code solutions are valid, you can import the project you are working on (Ionic) in android studio and change the icons and generate in the new .apk. How to import this project ? When you run…
ionicanswered Pablo Dias 323 -
3
votes2
answers8717
viewsA: How to restrict the filling of only numbers in an input with Angularjs?
//directive app.directive('numericOnly', function(){ return { require: 'ngModel', link: function(scope, element, attrs, modelCtrl) { modelCtrl.$parsers.push(function (inputValue) { var…
-
1
votes1
answer108
viewsA: Catch value of a li Angularjs Ionic
<div class="list"> <li class="item" ng-click="city(seg)" ng-repeat="seg in segmento">{{seg}}</li> </div> The seg is the selected element, you can pass by parameter.…
-
1
votes2
answers1513
viewsA: how to change the type of graph using Chart.js?
Friend here is a proposal to resolve your doubt, maybe the syntax will change a little but the ultimate goal will be the same. The way I would do it would be this: JS (function() { 'use strict';…
-
2
votes4
answers2291
viewsA: How to do a search inside this vector of objects?
Good Gabriel, my interpretation was different, I understood that you intend to return the object with all its properties, but with the condition that you search within an array which of the objects…
-
5
votes1
answer8620
viewsQ: What is $Scope for. $apply ?
I saw in a code $Scope. $apply that uses Angularjs, what does it serve ? In the context it is in this way: var a = function(param){ $scope.$apply(function(){ var image =…
-
1
votes2
answers8022
viewsA: Convert String to Date
You can pass the variable of type String as parameter to Formatter.parse and get the expected result as in the example : @Test public void testConversaoDataFormatoYY() throws ParseException { String…
-
1
votes1
answer184
viewsA: Why are tables created in Hibernate deleted after stopping the server?
Apparently the configuration file is correct, you should delete when the property hbm2ddl were it so: property name="hibernate.hbm2ddl.auto" value="create-drop" Maybe it’s some database…