Posts by William Tenorio • 113 points
6 posts
-
6
votes2
answers387
viewsQ: How to do concurrency control in Hibernate for INSERT in the database
I’m having a competition control problem in entering data in my web application. Context: I have 3 tables (ex: X, Y and Z) that record hospitalizations of patients (already registered). A patient…
-
0
votes2
answers100
viewsA: Replace character of a string
Use the function str_replace() $new_var = str_replace("-", "alguma coisa", $hash);…
phpanswered William Tenorio 113 -
0
votes1
answer96
viewsA: How to return only 10 records in firebase?
To return only an X number of records, use the functions limitToFirst or limitToLast. limitToFirst will return the first X records and limitToLast the latest X records, based on the ordered data…
-
0
votes1
answer98
viewsA: char and constructors in c++
You need to use Name[] = name; assert( strlen( Name) < sizeof( name) ); strcpy( name, Name ); instead of Name = name; Behold here;…
-
0
votes2
answers61
viewsA: How to set id= with ' instead of "
Reverse the apostrophe by quotation marks and vice versa right, but you use one escape \ javascript var x = '<label id=\'idteste\'>Testando' + '</label></div>' $('#labelhm…
-
2
votes2
answers1214
viewsQ: Use of A1 digital certificate installed on the server
I work with the development of a Java web application for managing electronic medical records, in which it is necessary to sign XML documents digitally. This application is used by more than 200…