angoca / log4db2

A logging utility like log4j for IBM Db2 SQL PL
https://angoca.github.io/log4db2/
BSD 2-Clause "Simplified" License
6 stars 2 forks source link

Create an installer inside java (for Bluemix) #149

Open angoca opened 10 years ago

angoca commented 10 years ago

Some deployments do not have access to a terminal (shell). In that case, it is better to provide a Java file that includes all the DDLs. It should be aware that the runtime execution in Windows is different to Linux.

It is useful for BlueMix, because this platform does not have access to a CLP and the DDL file execution is by statement (not bulk)

angoca commented 10 years ago

http://sourceforge.net/p/zemucan/code/HEAD/tree/trunk/source-code/executerImpl/src/main/java/name/angoca/db2sa/executer/impl/ImplementationExecuter.java#l387

This implementation takes into account the different OS