Wednesday, July 30, 2008

Business Growth

image

image

Source: Success in Store: How to Start Or Buy a Retail Business, Enjoy Running It ... by Heard and Woolf.

Thursday, July 24, 2008

Open Source Content Management Software

Liferay is an opensource content management software with portlet feature.

image

Sunday, July 20, 2008

DEBUGGING YOUR SQLs WITH A JDBC DRIVER

  • Download the SQL Spy from http://sozlux.org/download/p6spy-install.zip.
  • Extract the file and copy the spy.properties and spy.jar files to your TOMCAT_HOME/lib directory.
  • Edit spy.properties directory and change the real driver to your original driver on the following line

realdriver=com.mysql.jdbc.Driver

  • Edit your connection pool settings and use now this driver as your jdbc driver

com.p6spy.engine.spy.P6SpyDriver

Friday, July 18, 2008

How to search and replace text in big files

image

you can also use sed. I used the following command

perl -pi -w -e 's/search/replace/g;' *.sql
-e means execute the following line of code.
-i means edit in-place
-w write warnings
-p loop

for example you can convert oracle dates to mysql in the following way

image

Free alternatives to TOAD

If you are using simple SQL functions you do not need to pay full TOAD license to use the ORACLE database. You can find alternatives to toad below :

TOra

image

from http://tora.sourceforge.net/

TOra has also have a nice exporter. If you want to develop applications at home where you can not install a complete oracle, you can export your tables in tora and import them in e.g. mysql

dbVisualizer

image

from http://www.minq.se

TADO

image

from http://tado.sourceforge.net/

Squirrel SQL Client

image

from http://squirrel-sql.sourceforge.net/

Wednesday, July 16, 2008

Preparing a JAVA development environment

clip_image002[4]

LinkWithin

Related Posts Plugin for WordPress, Blogger...