Getting a list of layers

To get a list of layers available in the Oracle® database, you can do as follows:
  • For a relational model:
  • For an object model:
    String[] layersList = 
    IlvSDOUtil.GetAllLayers(connection.getConnection(),connection.getUser());
    layersList = IlvObjectSDOUtil.GetAllLayers(connection.getConnection(),
    connection.getUser(), true);