Database upgrade during deployment

2010-07-29 16:33:18 +0200

I want to create an installation package of a Java application. Part of the installation involves upgrading a SQL database (Oracle) - by running a few SQL scripts. Creating the SQL scripts to do the update by itself isn't the problem, however I need to find a way to easily run those script.

Of course Oracle has something like SQLPlus, but that would mean SQLPlus has to be installed on the machine from where the package is installed. Another problem with SQLPlus is that it's not so userfriendly.

Using JDBC and some programming I can easily create something that would check what current version of my application is installed, and then run the needed SQL scripts to upgrade the database. However, even easy things take some time and I'd think there are already some existing solutions.

I was about to ask a question on stackoverflow, but before I finished typing my question stackoverflow already came up with a similar question: Update a backend database on software update with Java. I'll have to try out on of the suggested solutions, Liquibase, dbmigrate and maybe Autopatch.

Read more

Motorola milestone: frustating as hell

2010-07-21 13:35:40 +0200

Since a few weeks I have a Motorola Milestone, the European version of the Motorola Droid. For a small computer/handheld works very well. I can browse, use email, install application, write documents. As a phone the device fails.

There's a lot of talk about the IPhone 4 supposedly having bad reception. Well, the Motorola Milestone has a problem too. When calling, I very often incidentally put the telephone to mute, which causes the other party not to hear me anymore. This is caused by the mute button in the middle of the touch screen. I often press is that area with my hear while calling, as I have the habit of putting my telephone to my ear... Well apparently few people in Motorola though of that.

The Motorola Milestone has a proximity sensor that supposed to turn of the screen while calling. However, for me, that doesn't work. I searched for a solution on the Motorola forum. There a quite a few threads about this issue, like this, this one, this on long hair and this one saying it's a hardware problem.
Many answers are infuriating rather than useful. Most of them have tips on how to properly hold the phone (in your right hand, below ear lob, under your hair). Arg, that's not what I want to hear. Apart from the fact that doesn't work, I don't want a whole instruction who to hold my phone when I'm using a mobile phone for over 10 years.
Some idiots even say they have the problem, but still love the Droid.

At least some sort of official person who sorts of answers to the problem. People at Motorola are working on an update.  That's not of much help. Finally, in this thread I found a more useful answer. There's an application called Screen Suite, which allows you to lock the screen while calling. It only costs $1.99. Bought it already, I have the phone to long to get my money back. I just installed the application, Screen Suite seems to work.

Well bottom line, Apple isn't the only one with a problematic telephone. And avoid the Motorola Droid and Milestone, at least when you also want to make phonecalls with your smartphone.

Read more


subscribe via RSS