Grails, an In-Memory HSQL Database and Squirrel

Starting the HQSL Database java -cp c:grails-1.2.0libhsqldb- org.hsqldb.Server -database.0 mem:devDB -dbname.0 devDB Accessing the DB java -cp c:grails-1.2.0libhsqldb- org.hsqldb.util.DatabaseManager Grails database connection information, in DataSource.groovy dbCreate = “create-drop” url = “jdbc:hsqldb:hsql://localhost:9001/devDB” username = “sa” password = “” Squirrel wouldn’t start until I correctly quote the CLASSPATH environment variable.

Testing with Google’s C++ Test Framework (gtest)

The other day I was playing around with Google’s C++ Testing Framework (a.k.a. gtest). I tried to build the Code with Visual Studio 2008 Express and got some strange linker errors. I was able to solve the errors thanks to this site. In essence, I had to change the “Runtime Library” Setting in the C/C++ […]

Linker Sets

Reminder: When placing something in a dedicated section using __attribute__((section(“foobar”))), the GNU toolchain will automatically add a symbol __start_foobar at the beginning and a symbol __stop_foobar at the end of the section. However, you will need a reference to that symbol in order to prevent the linker from optimizing the symbol away. In other words, […]