Verbindung mit dem VPN der FH Dortmund aufbauen unter Ubuntu
sudo apt-get install -y openconnect iptables expect
sudo openconnect vpngate.fh-dortmund.de
Verbindung mit dem VPN der FH Dortmund aufbauen unter Ubuntu
sudo apt-get install -y openconnect iptables expect
sudo openconnect vpngate.fh-dortmund.de
#DB2
##Create drop statements for all tables:
select 'drop table '||rtrim(tabschema)||'.'||rtrim(tabname)||';' from syscat.tables where tabschema = 'MYSCHEMA';
#Oracle ##Delete all sequences and tables http://stackoverflow.com/questions/2549718/dropping-all-user-tables-sequences-in-oracle
BEGIN
Hibernate 4 introduced a new Audit API for event listening.
org.hibernate.envers.event.AuditEventListener
was replaced by org.hibernate.event.spi.*
,
for example org.hibernate.event.spi.PostDeleteEventListener
.
First create your custom listener. Example: You want do disable auditing for delete operations.
import org.hibernate.envers.event.spi.EnversPostDeleteEventListenerImpl;
import org.hibernate.event.spi.PostDeleteEvent;
public class MyAuditListener extends EnversPostDeleteEventListenerImpl {
This is how to easily setup an Oracle XE DB in a Virtual Machine that is accessible via localhost:1521.
So you don't have to install Oracle XE locally, but inside a VM.
We use VirtualBox, Vagrant and Docker for that.
First install VirtualBox https://www.virtualbox.org/wiki/Downloads
and Vagrant https://www.vagrantup.com/downloads.html
Run vagrant version
to check that vagrant is correctly installed.
Save the Vagrantfile
from this gist to a local directory.