event fired on update of entity
Questions tagged [post-update]
38 questions
10
votes
1 answer
update version each time git push is done?
how do we do like changing version ( each +1 ) using git on each push?
example i have a 2 php file
libs/lib1.php
libs/lib2.php
on each header usually there is some information like
/**
* LIB1.PHP
* this libs does something like this
* and that…

Adam Ramadhan
- 22,712
- 28
- 84
- 124
6
votes
1 answer
SVN post-update hook
I searched on the web for info about how to implement a post-update hook in my local machine but i didnt found anything! In particular I would like to fire that hook after I update my svn copy from PHPStorm 3.0. I wrote a phing build.xml that will…

oloN3rd
- 63
- 1
- 3
4
votes
1 answer
Error #200 Facebook SDK Android
dear friends,
I am developing an application with Facebook integration on Android using the Facebook SDK. My application should just be able to post a link. I use this code:
this.req = new Request(session, "me/feed", b, HttpMethod.POST,
…

Evgenij Avstein
- 41
- 5
3
votes
1 answer
Manage http access to git repositories using gitosis
[Update 9/16/2010]
After looking into this last night, I realized that my original question was really asking 2 separate things:
1) Is it possible to set the post-update hook for all remote repositories created by gitosis (i.e. not have to manually…

cdwilson
- 4,310
- 4
- 26
- 32
3
votes
0 answers
Symfony 2 livecycle - don't update | PHPCR
I have problem with my phpcr document.
I try to implement, upload file like http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html but I have problem with file changing.
It look like sf2 doesn't see any changes.
When I changed (for…

Micchaleq
- 433
- 1
- 5
- 21
3
votes
1 answer
Permissions are too open after pushing from Windows to Bitbucket, then pulling to a Linux server?
I write code on my local machine. I push the code to a Mercurial repo in Bitbucket. Then, I log into the client's webserver and "pull/update" from the Bitbucket repo to the server.
The problem is the that their account is on a shared server, running…

Van J. Wilson
- 166
- 1
- 7
2
votes
1 answer
Null entity field makes @PostUpdate method silently stop
I have a JPA domain entity that I'm updating from user input. Depending on lots of factors about that object, it has actions to perform when it's updated (in this case, the update is to "mark it completed").
In the database, two "post-completion…

Dan Ray
- 21,623
- 6
- 63
- 87
2
votes
2 answers
post_before, post_after identical on update gutenberg bug
I am trying to get the $post_before and $post_after objects for comparison when updating a post in WordPress.
However, when I submit the update, the $post_before and $post_after objects are identical and show the updated post…

jeremy.k
- 21
- 3
2
votes
2 answers
Send push notifications using firebase to all the users
How can I send push notifications to all the registered users of my App using Firebase?
I searched for the api's in documentary, but didn't found anything useful.

Gaurav Rai
- 370
- 1
- 3
- 16
2
votes
1 answer
Symfony2 Composer post-install-cmd
I need to install an symfony2 bundle over the composer and do some stuff after the install process. So for the "stuff" after the install i add one line to the "post-install-cmd" in the composer.json…

Zero
- 554
- 9
- 22
2
votes
1 answer
JPA PostUpdate with Spring Roo
I'm working with Spring Roo 1.2.3 on a project, and I need to create a new record of another entity X when the entity Stock is updated. I would do something like this (Similar to a trigger update in database).
@PostPersist
@PostUpdate
private void…

Hector
- 691
- 2
- 14
- 28
2
votes
2 answers
Git: Post-update hook that runs a script that needs access to all files in the repository
I'm running into a bit of dilemma at the moment in that I need a script to run whenever the remote repository is updated (ie, whenever someone runs git push) that builds packages from the files in the repository. These packages are then placed into…

Matthew Iselin
- 10,400
- 4
- 51
- 62
2
votes
3 answers
How to change owner after executing post-update hook?
Gitolite and a Web-server stored on one server. Directory /var/www/site is clone of repo "site". A Git user consist in group www-data. I have in /home/git/repositories/site.git/hooks/post-update hook:
#!/bin/sh
unset GIT_DIR
cd /var/www/site &&…

hxwalker
- 115
- 2
- 8
2
votes
2 answers
Hibernate envers - How to store only updated values
I am using Hibernate Envers for my Auditing. Post-update and post-insert works fine.
I have a requirement where I need to audit only the updated columns in the audit table (e.g. employee_aud).
By default envers will insert the entire persisted…

user1679893
- 19
- 1
- 3
1
vote
1 answer
git post-receive hook doesn't work as expected from remote but works when launched locally
I'm setting up git on a server to be able to compile a hugo website and publish it to /var/www/html ready to be served on the internet.
What I do in short is:
create a temporary hugo site
checkout the repository and its submodule (hugo theme)…

danix
- 23
- 5