Annotation Interface Db2Instance


@Retention(RUNTIME) @Target(FIELD) public @interface Db2Instance
Db2 Instance
Annotation:
Description:
The @Db2 annotation requests a connection to a Db2 instance with a specified tag.
Examples:
@Db2(tag="PRIMARY")
public IDb2 db;
Extra:
The IDb2 interface gives the test access to a standard java.sql.Connection. This connection can then be used as standard to interact with the Db2
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • tag

      String tag
      Default:
      "PRIMARY"