Mongodb implications of update versus replace

I have read this related question, but the one below is different. The mongodb c# driver has a ReplaceOne method (& an async counterpart) on the document collection class, which can be used to replace the entire contents of a document that fits t...
more »

2017-09-05 21:09 (0) Answers

Detached entity passed to persist many to one

I'am having a problem to save a new ocurrence on my DB when i'm making a update with a save. Basically, the updates persists, but the save have an error: org.hibernate.PersistentObjectException: detached entity passed to persist Here is my code pub...
more »

2017-08-10 15:08 (0) Answers

Dependencies conflict - the Foreman update

I'm trying to update Foreman form version 1.11 to the latest 1.15. Upgrading across more than one version is not supported so I've done update version by version. Foreman 1.14 works fine and trying to update to version 1.15 I've met a problem with de...
more »

2017-08-03 09:08 (1) Answers

Update an imported repo from github to bitbucket

I've imported a repo from GitHub to Bitbucket using bitbucket's import repository option. It has imported all the branches, tags, commits etc. Now, the original repo has changed and new branches/tags/commits have been created in the original repo. ...
more »

2017-03-26 13:03 (1) Answers

Updating record in phpmyadmin with php code

I have a reservation form where once it is filled out, the rooms available for a certain building are decreased by one. I am using Cloud9 ide with php to update the record for that building in the phpmyadmin database. I think the equation to subtract...
more »

2016-11-13 18:11 (2) Answers