After some years of Hibernate or Spring+Hibernate, it was time to try something new. Not for the sake of trying something new, but more out of the need. The problem Think of a legacy database, very generic, without a clear business model representation. As a metadata storage database, different business objects persisted in the same data structures. The solution Navigating… Read More
The new collection of ant tasks from http://ant-contrib.sourceforge.net/ comes with some useful and interesting tasks, that one will find handy when making a build file: Among those tasks the following ones helped me a lot : Variable: osfamily antcallback AntCallBack is identical to the standard ‘antcall’ task, except that it allows properties set in the called target to be available… Read More
The problem: Import a large number of items into a database, commit valid ones, and keep track of invalid ones. All in a single transaction. Traditional solution: Tedious to write. Programatically start a transaction and set a savepoint for each processed item. Rollback to savepoint if an exception occurs or commits if all ok. Spring solution: Easy, just modifying the… Read More
It seems that for Firefox, the style overflow hidden stops firing onmousemove or onmouseover events. Not sure if there is any standard for this behavior and if Firefox implements it or not. My guess is that there’s probably no standard, or if it is, it should be changed. Take a look at this small demo.