psdi.app.assetcatalog

Class SQLServerInsertSelect

  • java.lang.Object
    • psdi.app.assetcatalog.SQLServerInsertSelect


  • public class SQLServerInsertSelect
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      SQLServerInsertSelect(java.lang.String insert, java.lang.String assetSpecQuery) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void execute(java.sql.Connection con)
      Use the query to find the unique IDs, then create inserts using that.
      static java.lang.String replaceAll(java.lang.String template, java.lang.Object[] tokenValuePairs)
      Replace tokens in a string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SQLServerInsertSelect

        public SQLServerInsertSelect(java.lang.String insert,
                                     java.lang.String assetSpecQuery)
    • Method Detail

      • execute

        public void execute(java.sql.Connection con)
                     throws java.sql.SQLException,
                            java.rmi.RemoteException
        Use the query to find the unique IDs, then create inserts using that.
        Parameters:
        con -
        Throws:
        MXApplicationException
        java.rmi.RemoteException
        java.sql.SQLException
      • replaceAll

        public static java.lang.String replaceAll(java.lang.String template,
                                                  java.lang.Object[] tokenValuePairs)
        Replace tokens in a string.
        Parameters:
        template -
        tokenValuePairs -
        Returns: