Are you sure that you are connecting to the same Derby instance when running your manual test as TopLink is? Using the 'create=true' attribute in the connection URL if the driver can not find a Database at that URL it will create one. If it has to create that database it will most likely not have the schema as expected. Try removing the 'create=true' and see if your error changes.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]
http://forums.java.net/jive/thread.jspa?messageID=248644