Posts by Flavio Andrade • 410 points
11 posts
-
3
votes1
answer69
viewsA: Update on mongoDB is deleting the rest of the document
What happens is that you are asking Mongo to replace the entire contents of the sub-document services for: facebook: { name: "Jackson Michael" } For this not to happen you must specify the field in…
-
1
votes2
answers818
viewsA: Is it possible to change the order of the commits on my branch?
You can use the git reset to return to the moment before you perform your commits. Your code will not be lost just go back to Working directory (that moment before you add and commit), and then from…
gitanswered Flavio Andrade 410 -
1
votes2
answers365
viewsA: How to change the format of a query result?
Paulo, I have never seen in any database any function that does what you want, but you can get the similar result by mounting the sql inside select using the function Concat(), with this your…
-
2
votes1
answer326
viewsA: Failure to connect SVN through Netbeans
In my specific case the problem was the SVN server certificate that was invalid/outdated. For those who happen to run into the same problem as me the correct one is to fix the server certificate,…
-
3
votes1
answer326
viewsQ: Failure to connect SVN through Netbeans
It’s been a while since I’ve been able to connect Netbeans to SVN here at my workplace (I’ve been using Netbeans SVN for years and never had a problem). By entering the SVN server URL, my user and…
-
0
votes1
answer185
viewsA: How to access the Tomcat that is inside a Vagrant machine?
I found several solution suggestions that were based on tinkering with Tomcat’s settings, but eventually I found the correct solution that was the Centos firewall. The solution is to activate port…
-
0
votes1
answer185
viewsQ: How to access the Tomcat that is inside a Vagrant machine?
I’m starting to learn about Vagrant. I started provisioning a machine with Centos 7 Minimal, I installed Java and Tomcat, I ran Tomcat, I checked the processes it is running, but I can’t access it…
-
1
votes3
answers1649
viewsA: Inserting column in Oracle table with conditional
Fala Guilherme! The problem is on the line: EXECUTE IMMEDIATE 'ALTER TABLE <nomeTabela> add <nomeColuna> char(1) default 'A' not null' As indicated by the error: ORA-06550: row 12,…
-
1
votes1
answer512
viewsA: Can injecting dependencies into an EJB builder cause modularization and performance problems?
Excuse the delay to answer this question because a few days after this my doubt I took this question to a former teacher of mine of Caelum who cleared these doubts. Is the following: To solve…
-
4
votes1
answer512
viewsQ: Can injecting dependencies into an EJB builder cause modularization and performance problems?
Recently I migrated from Spring to CDI + EJB, I tried to inject my dependencies directly into the constructor as I did in Spring and as it is supported by CDI but in an EJB: @Stateless public class…
-
13
votes2
answers1215
viewsQ: Why create an interface for each DAO?
I see a lot on the Internet the creation of an interface for each system DAO. I understand the importance of using interface mainly for an easy implementation exchange, I have even found an…