Class H2ConstraintExtractor
java.lang.Object
org.evomaster.client.java.sql.internal.constraint.TableConstraintExtractor
org.evomaster.client.java.sql.internal.constraint.H2ConstraintExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(Connection connectionToH2, DbInfoDto schemaDto) Expects the schema explained in http://www.h2database.com/html/systemtables.html#information_schema
-
Constructor Details
-
H2ConstraintExtractor
public H2ConstraintExtractor()
-
-
Method Details
-
extract
public List<DbTableConstraint> extract(Connection connectionToH2, DbInfoDto schemaDto) throws SQLException Expects the schema explained in http://www.h2database.com/html/systemtables.html#information_schema- Specified by:
extractin classTableConstraintExtractor- Parameters:
connectionToH2- a connection to a H2 databaseschemaDto- a DTO schema with retrieved information from the JBDC metadata- Throws:
SQLException- if the connection to the H2 database fails
-