Module org.jooq
Package org.jooq.impl

Class IdentityConverter<T>

    • Constructor Detail

      • IdentityConverter

        public IdentityConverter​(Class<T> type)
    • Method Detail

      • from

        public final T from​(T t)
        Description copied from interface: Converter
        Convert a database object to a user object
        Specified by:
        from in interface Converter<T,​T>
        Parameters:
        t - The database object
        Returns:
        The user object
      • to

        public final T to​(T t)
        Description copied from interface: Converter
        Convert a user object to a database object
        Specified by:
        to in interface Converter<T,​T>
        Parameters:
        t - The user object
        Returns:
        The database object