Class DBTranslatorRecord

    • Constructor Detail

      • DBTranslatorRecord

        public DBTranslatorRecord()
    • Method Detail

      • getOrCreate

        public static DBTranslatorRecord getOrCreate​(GatewayContext context,
                                                     DatabaseVendor vendor)
                                              throws java.lang.Exception
        Returns the first translator found for a specific vendor, or creates and adds the default record.
        Throws:
        java.lang.Exception
      • getMeta

        public RecordMeta<?> getMeta()
        Description copied from class: SRecordInstance
        This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-

         SRecord getMeta() {
           return meta;
         };
         

        The actual meta variable is thus not Serialized, but it would not be anyway as it is usually static.

        Specified by:
        getMeta in class PersistentRecord
      • getId

        public java.lang.Long getId()
      • setId

        public void setId​(java.lang.Long id)
      • getTypeMap

        public java.util.EnumMap<DataType,​java.lang.String> getTypeMap()
      • getColumnQuoteChar

        public java.lang.String getColumnQuoteChar()
      • getFetchKeyQuery

        public java.lang.String getFetchKeyQuery()
      • isSupportsRgk

        public boolean isSupportsRgk()