Tim Van Wassenhove
Passionate geek, interested in Technology. Proud father of two
Home
All posts
Tags
Posts
03
Feb 2006
Multiple joins explained
I’ll try to explain how a join on more than one table works. I’ve noticed people get confused by it. Assume ...
28
Jan 2006
ManyToMany relationships with Java Persistence (JSR-220)
The scenario is as following: each table can have many reservations, and each reservation can span many tables. Here is ...
25
Jan 2006
OneToMany relationships with Java Persistence (JSR 220)
Let’s experiment a bit with Hibernate. We want to model the tables employee and shift. Each employee has multiple ...
19
Jan 2006
Setting up an SSH tunnel
On the machine example there is a (tcp/ip) program listening on port 12345. The protocol it talks is some plaintext lang...
18
Jan 2006
Accept posted XML data
I remember that i have spent a lot of time finding something that allowed me to accept the posted XML data. The solution...
18
Jan 2006
Select the first 50 words of an article
I am cleaning up my code snippets and i found the following little trick in one of them that i have removed. Assuming th...
14
Jan 2006
Brainteaser
Earlier today Chung Leong, an intelligent regular at comp.lang.php, posted a little brainteaser: The two functions in th...
14
Jan 2006
Format sourcecode with VIM
I once read an article that explained how i could make Vim format my code but i forgot what the command was. Many websea...
12
Jan 2006
How private is private really?
Today i ended up at private properties exposed (Apparently it is also used by PHPUnit) class foo { private $bar = 42; } ...
12
Jan 2006
Restore from a MySQL dumpfile
If you are a longtime user of mysqldump you may have experienced that restoring with mysql < dumpfile doesn’t a...
← Prev page
Next page →