String s = _oSQLQueryComposer.xQueryAnalyzer.getQuery();
xPSet.setPropertyValue("Command", _oSQLQueryComposer.xQueryAnalyzer.getQuery());
XNameContainer xNameCont = (XNameContainer) UnoRuntime.queryInterface(XNameContainer.class, xQueryDefs);
XNameAccess xNameAccess = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, xQueryDefs);
ConnectionTools.getObjectNames().checkNameForCreate(com.sun.star.sdb.CommandType.QUERY,_QueryName);
xNameCont.insertByName(_QueryName, oQuery);
return true;
} catch( WrappedTargetException exception ) {
SQLException sqlError = null;
try { sqlError = (SQLException)exception.TargetException; }
catch( ClassCastException castError ) { }