Class ResultSet2EntityConverter


  • public class ResultSet2EntityConverter
    extends java.lang.Object
    Converts a SQL ResultSet to a Benerator Entity.

    Created: 24.08.2010 12:29:56
    Since:
    0.6.4
    Author:
    Volker Bergmann
    • Constructor Detail

      • ResultSet2EntityConverter

        public ResultSet2EntityConverter()
    • Method Detail

      • convert

        public static Entity convert​(java.sql.ResultSet resultSet,
                                     ComplexTypeDescriptor descriptor)
                              throws java.sql.SQLException
        Convert entity.
        Parameters:
        resultSet - the result set
        descriptor - the descriptor
        Returns:
        the entity
        Throws:
        java.sql.SQLException - the sql exception