event fired on update of entity
Questions tagged [post-update]
38 questions
1
vote
3 answers
SVN post-update hook per project?
It appears that post-update hooks apply to the entire SVN setup on a machine, but I'm looking to set individual hooks per project. From what I can see, you set up your hooks in settings, which is global.
Any idea as to how I can pull off…

Savage
- 2,296
- 2
- 30
- 40
1
vote
0 answers
Can JPA @PostUpdate listener callback method be executed asynchronously?
I have a use-case where I need to execute some logic asynchronously, after my entity has been updated in database.
I am evaluating option to use JPA listener @PostUpdate method, which will be executed after my entity has been updated in database,…

Django
- 43
- 2
- 10
1
vote
0 answers
0curl: (7) Failed to connect to hooks.slack.com port 443: Connexion refused
I am trying to send message in slack channel from my post-update hook git with this code :
#!/bin/bash
#echo "********* Notification Slack *********"
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}'…

Matthieu
- 225
- 1
- 3
- 16
1
vote
3 answers
Git push from post-update hook fails - X is not a repository
I am trying to setup a central repository that will automatically push to another repository when it is pushed to from my local machine. I have been Googling for several days now and I have tried every command combination I could find with no…

Blu Dragon
- 394
- 5
- 14
1
vote
1 answer
Envers 4.2.x adds a record to the AUD table even if there are no changes
I'm using Hibernate Envers 4.2.21.FINAL. As I want to track only some properties' changes, I added the annotation
@Audited(withModifiedFlag = true)
on them. The flag column "propname_MOD" is correctly created, but the problem is that when I save an…

SG87
- 79
- 12
1
vote
2 answers
Git hook post-update writing but not updating work tree
I'm trying to make git auto deploy to different directories depending on a branch that was pushed.
I have a remote bare repository, local repository and two directories where I whant the data to be deployed and updated with each push from local to…

Yaroslav Grishajev
- 2,127
- 17
- 22
1
vote
1 answer
Symfony 2 postUpdate executed before data is stored
I am stuck for about a day now on the following
I created a listener on my account entity, It listens to prePersist, preUpdate, postPersist and postUpdate. I thought postUpdate was executed after the data has been store in the database, but now i…

Szenis
- 4,020
- 2
- 21
- 34
1
vote
1 answer
Bring Website Under Source Control using .Git
I would like some advice about how to setup Git for an existing live website on a production server (only hosting one site - no vHosts etc).
There are several examples of how to achieve this - but all refer to when you are starting a new project.…

Danny H
- 13
- 3
1
vote
0 answers
How to get list of added files from TortoiseSVN post-update hook
I would like to write Tortoise SVN post-update hook script on client side. TSVN transfers following parameters: path/to/pathsfile, depth, revision, path/to/errorFile, path/to/CWD. I can get all changed added and etc. files using first parameter, but…

Alexandr
- 127
- 1
- 1
- 13
1
vote
1 answer
git: post-update checkout not working
I am trying to set git up with http://danielmiessler.com/study/git/#website to manage my site. I am working using the git gui in win7
I have gotten to the last step in the instructions: git push website
After pushing to the website, I was able to…

user1592380
- 34,265
- 92
- 284
- 515
0
votes
0 answers
How to trigger Hibernate PostUpdateEventListener when using javax.persistence.Query.executeUpdate()
I have a class that implements PostUpdateEventListener, like this:
public class MyListener implements PostUpdateEventListener {
@Override
public void onPostUpdate(PostUpdateEvent event) {}
}
When I try something like the code…

Yoshimit
- 31
- 1
- 4
0
votes
1 answer
Update Jenkins failed to connect afterward
I'm having a nightmare trying to update our Jenkins server. We are using a Debian VM to host our server. Last time it was updated was 2 years ago. So I have cloned the VM in case of trouble (thank god cause there is). I downloaded the newest war…

Amélie Levray
- 1
- 1
0
votes
1 answer
can we auto update posts in wordpress site 1 to wordpress site2 using any plugin?
I have 2 wordpress sites with same content (posts) and different backend.Is it possible for me to update the contents of site 2 when i update posts in site 1 using plugin or any other method other than manually doing?
Domain names of the websites…
0
votes
1 answer
Problem using Git as a Deployment Tool by branch
I am trying to create a post update script and use git as a deployment tool on a remote server.
My post-update script looks something like this
git update-server-info
for ref in $@;do
echo $ref
if [ "$ref" =…

hwrdprkns
- 7,525
- 12
- 48
- 69
0
votes
1 answer
Nothing happens on git pull hook (post-update)
when I do a git pull on live server I'm logged in as root and so all modified or new files user and group are set to root:root.
I've tried this set up in my post-update hook file:
OWNER="example:example"
REPO_PATH="/home/example/public_html"
cd…

MikeeeG
- 331
- 1
- 5
- 21