Do I need a database connection at compile time?