Altova XMLSpy 2024 Enterprise Edition


The objects described in this section (Application API for Java) are obsolete from v2012 onwards.


For information about how to access the Application API from Java code, see the section: Programming Languages | Java.



public class SpyDatabaseConnection


public void ReleaseInstance();

public String GetADOConnection();

public void SetADOConnection( String sValue );

public boolean GetAsAttributes();

public void SetAsAttributes( boolean bValue );

public boolean GetCreateMissingTables();

public void SetCreateMissingTables( boolean bValue );

public boolean GetCreateNew();

public void SetCreateNew( boolean bValue );

public boolean GetExcludeKeys();

public void SetExcludeKeys( boolean bValue );

public String GetFile();

public void SetFile( String sValue );

public boolean GetIncludeEmptyElements();

public void SetIncludeEmptyElements( boolean bValue );

public long GetNumberDateTimeFormat();

public void SetNumberDateTimeFormat( long nValue );

public String GetODBCConnection();

public void SetODBCConnection( String sValue );

public String GetSQLSelect();

public void SetSQLSelect( String sValue );

public long GetTextFieldLen();

public void SetTextFieldLen( long nValue );


// since version 2004R4

public long GetDatabaseKind();

public void SetDatabaseKind( long nValue );


// since version 2008R2

public boolean GetCommentIncluded();

public void SetCommentIncluded( boolean bValue );

public String GetNullReplacement();

public void SetNullReplacement( String sValue );

public String GetDatabaseSchema();

public void SetDatabaseSchema( String sValue );


// since version 2010r3

public boolean GetPrimaryKeys()

public void SetPrimaryKeys( boolean bValue )

public boolean GetForeignKeys()

public void SetForeignKeys( boolean bValue )

public boolean GetUniqueKeys()

public void SetUniqueKeys( boolean bValue )

public long GetSchemaExtensionType()

public void SetSchemaExtensionType( long nValue )

public long GetSchemaFormat()

public void SetSchemaFormat( long nValue )

public long GetImportColumnsType()

public void SetImportColumnsType( long nValue )


© 2018-2024 Altova GmbH