Posts

Showing posts from 2009

Java: Creating a JDBC Connection to OpenOffice.Org Databases

Download "hsqldb_1_8_0_10.zip" (HSQLD DB ENGINE) from http://sourceforge.net/project/downloading.php?group_id=23316&use_mirror=ovh&filename=hsqldb_1_8_0_10.zip&84223716 Extracted [adapted] from: http://digiassn.blogspot.com/2006/07/java-creating-jdbc-connection-to.html Java: Creating a JDBC Connection to OpenOffice.Org Databases The following example will open an OpenOffice.org Base file via the Java ZIP classes, extract the necessary files to the temporary folder, create the JDBC connection using the HSQLDB JDBC driver, query, then delete the temp files. import java.sql.*; import java.util.zip.*; import java.io.*; import org.hsqldb.jdbcDriver; import java.util.*; public class Test { public static void main(String[] args) { jdbcDriver j = new jdbcDriver(); //Instantiate the jdbcDriver from HSQL Connection con = null; //Database objects Statement com = null; ResultSet rec = null; ZipFile file = null; //For hand...

Java error when connecting to Open Office Base Database

Java error when connecting to Open Office Base Database: java.sql.SQLException: Wrong database file version at org.hsqldb.jdbc.Util.sqlException(Util.java:365) ... Try closing the Data Base before running the program.

Democracy and Capitalism

Democracy and Capitalism are new ways to rapidly swap financial, economical and political power.

Democracia e Capitalismo

A Democracia e o Capitalismo são formas modernas para facilitar a troca de poder financeiro, econômico e político.

Outcome-Driven Innovation - ODI

What Is Outcome-Driven Innovation (R) (ODI)? Based on the Whitepaper: What is Outcome-Driven Innovation? From: http://www.strategyn.com/ Innovation - is a business process; - begins with market selection; - uncover customer needs; - determine unmet needs; - select a growth strategy; - devise and evaluate product and service concepts; - approved concepts enter the development process. If the innovation process were executed effectively, only winning products would enter the development process, and product success rates would exceed 70 percent – a vast improvement over today’s 70–90 percent failure rates. Popular approaches - " ideas-first " (brainstorm and customers test) - large number of ideas - quickly and inexpensively filter - " if you fail fast and fail cheap, you have actually done your company a great service " - "If you want to succeed, double your failure rate" - Why it doesn't work: - more ideas does not improve probability of coming u...

Slow Down Now

How to slow down [... creativity is as important to us in this century as literacy was in the past] 1. Drink a cup of tea, put your feet up and stare idly out of the window. Warning: Do not attempt this while driving. 2. Do one thing at a time. Remember multitasking is a moral weakness (except for women who have superior brain function.) 3. Do not be pushed into answering questions. A response is not the same as an answer. Ponder, take your time. 4. Learn our Slow Manifesto. 5. Yawn often. Medical studies have shown lots of things, and possibly that yawning may be good for you. 6. Spend more time in bed. You have a better chance of cultivating your dreams (not your aspirations.) 7. Read the slow stories. 8. Spend more time in the bathtub. (See letter from Major Smythe-Blunder.) 9. Practice doing nothing. (Yes this is the difficult one.) 10. Avoid too much seriousness. Laugh, because you're live on earth for a limited time only. (...) Getting things done might all be well and good, ...