Posts by Giancarlo Abel Giulian • 3,999 points
173 posts
-
1
votes3
answers2456
viewsA: Phone and CPF fields in SQL?
What is the database? For the CPF I recommend using the Char type and specify a size of 11 characters, without saving the dots and the hyphen. For the phone I recommend a VARCHAR field of maximum…
-
1
votes2
answers740
viewsA: Doubt increment $i + loop for
I believe it all depends on the operation you wish to perform. Normally in loops While we declare the variable $i = 0 (or other value) before starting the loop of repetition and within this loop we…
-
4
votes2
answers512
viewsA: How to pass javascript value to AJAX
It is possible and must be done. Using the AJAX date element or directly passing the URL. I usually do it this way: var campoNomeEmpresa = $('campo1').value; var campoNomeAdmin= $('campo2').value;…
-
2
votes1
answer95
viewsA: One of the page elements moves by clicking on the other!
Do not leave the two elements in the same DIV, separate them. Look how I tidied up: <div class="content"> <img src="layout/img/logo_completa.png" alt="CCSHOP" title="CCSHOP - Passagens…
-
4
votes1
answer153
viewsA: Filter text in Delphi
What you can use are the classes responsible for manipulating JSON in Delphi, this text you passed is nothing more than a JSON (Javascript Object Notation). Documentation on JSON on the Embarcadero…
delphianswered Giancarlo Abel Giulian 3,999 -
0
votes1
answer80
viewsA: Google Maps POI
Google provides a manual for the Google Maps API, you can find in the following link: https://developers.google.com/maps/ Missing mention if the project will be developed for Android, Web…
-
2
votes1
answer51
viewsQ: Lengthy client side image rendering
I use on a web page images that are loaded from a field of type blob in the Firebird. The images open in a modal, fully loaded, that is, without using thumbnails, and when the user clicks on one of…
-
0
votes1
answer1611
viewsQ: Component Select2 with Angularjs
Good afternoon Someone uses the Select2 component (https://github.com/select2/select2) to create dropdown components? I am going through the following problem, I have two components in a javascript…
-
3
votes2
answers344
viewsQ: Ungroup tags using Google Maps API with Javascript
Good afternoon How can I design this group of markers that are located nearby using the Google Maps API? I searched however I found only Markerclusterer and other alternatives that are not from…
-
0
votes2
answers2034
viewsA: Passing values from a select to subselect
Another solution to the problem I found for those interested. I created and used a Function instead of ? (asterisk) make her call. The problem was the performance issue, select takes 144ms the first…
-
3
votes2
answers2034
viewsQ: Passing values from a select to subselect
I have the following query: SELECT rp.colaborador as codigo_, t.nome, count(rp.*) as presencas, ((100 * (select count(rp.*) from empresa.cad_reuniao_presencas rp join empresa.cad_terceiros t on…
-
0
votes0
answers350
viewsQ: Angularjs and JSTL Master-Detail
Good afternoon, you guys. Next, I’m using Angularjs to add the details of a sale, but on the server side I’m using Spring MVC with JSTL foreach the details to add on the server. HTML that rescues…
-
0
votes2
answers731
viewsQ: Extract JSON array data on Android received by Datasnap
Good afternoon. I would like to know how I can extract the data received by the server using Datasnap from Delphi. I’m doing it this way, but it’s returning an error: lista_versoes =…
-
2
votes4
answers1580
viewsA: Is this a common practice in object orientation?
I use the Java language, but it is very similar C#. What you could do is create an abstract class called Third (abstract classes cannot be instantiated) and create a class called Juridical, not…
-
1
votes1
answer574
viewsA: Add Maven to a Web Application Project
What you can do if you already have Maven installed and configured on your machine and the IDE is right-click on the project > Configure > Convert to Maven Project (see image). Or before that…
-
0
votes1
answer778
viewsA: How to assign value to a PHP variable using Javascript?
Search for Ajax (Asynchronous Javascript and XML). There are several ways we can use it, and one of these ways allows you to pass values to another file (PHP, in your case) and call it into the…
-
0
votes1
answer188
viewsA: Failed to use Spring MVC and Jparepository search field
It is trying to convert the createdon String you set in the instantiation of the Pagerequest object to Integer and this is not possible because it is not a number the createdon but a String with…
-
3
votes2
answers167
viewsA: Is there incompatibility and errors between Internet explorer and Postgresql?
Database does not influence the browser the client is using, what may be influencing are the Javascript files being loaded on the page. Some function may be compatible with one browser but not with…
-
0
votes3
answers7458
viewsQ: Frameworks for Java reporting
Good morning. I wonder if besides Jasperreports with iReports there is another reporting framework that you would recommend to me. What would it be? I need at least 2 frameworks, one of them I…
-
2
votes1
answer1372
viewsQ: Update column and table settings with Hibernate
Good afternoon. I would like to know and confirm if you have any way to update table and column definitions in each schema using Hibernate. For now, what I’ve seen so far is that Hibernate only…
-
3
votes1
answer741
viewsQ: Update all schemas with multitenancy architecture
Good morning. Next, I have a multitenancy application using Hibernate with JPA. We recently implemented the multitenancy architecture and persistence.xml was configured to automatically update the…
-
2
votes1
answer1217
viewsQ: Spring Bean sessionFactory with Nullpointerexception error
Good morning. I am trying to make a configuration in the spring-jpa.xml file to support a multitenancy architecture separating each client by Schema. I use a datasource that has been configured in…
-
2
votes1
answer104
viewsQ: Client side deleted object instance and sends to the server
I wonder if anyone has ever been through this problem and how did you solve it. I am using JSP and Spring Data JPA. I delete records from the middle of a form that’s a detail using Javascript,…