I should take the time to make a test case, but it looks like libgda 4.0
fails to get the meta-data for a specified table if the table name has
capital letters. I guess that this is a quoting (and escaping) problem
somewhere.
Yes, you need to surround any SQL identifier which is not case insensitive (or which has some spaces, etc in it) with double quotes. You can use gda_sql_identifier_needs_quotes().