Admin operations (for example asynch materialization management queries) in Teiid Embedded cannot use the CommandContext.getConnection method because it assumes the server default localprofile.