Uses of Class
st.orm.template.SqlTemplateException
Packages that use SqlTemplateException
-
Uses of SqlTemplateException in st.orm.spi
Methods in st.orm.spi that throw SqlTemplateExceptionModifier and TypeMethodDescriptionORMConverter.fromDatabase(Object[] values) Converts the given values to an object that is used in the object model.ORMConverter.getColumns(ORMConverter.NameResolver nameResolver) Returns the names of the columns that will be used in the SQL template.ORMConverter.NameResolver.getName(RecordComponent component) Gets the column name of the given record component.default intORMConverter.getParameterCount()Returns the number of parameters in the SQL template.ORMConverter.getParameterTypes()Returns the types of the parameters in the SQL template.Returns a string for the given column name.ORMConverter.toDatabase(Record record) Converts the given record to a list of values that can be used in the SQL template. -
Uses of SqlTemplateException in st.orm.template
Methods in st.orm.template that throw SqlTemplateExceptionModifier and TypeMethodDescriptionReturns a string for the given column name.SqlTemplate.process(StringTemplatePREVIEW template) Processes the specifiedtemplateand returns the resulting SQL and parameters.ColumnNameResolver.resolveColumnName(RecordComponent component) Resolves the column name for a record component.ForeignKeyResolver.resolveColumnName(RecordComponent component, Class<? extends Record> type) Resolves the column name for a foreign key record type.TableAliasResolver.resolveTableAlias(Class<? extends Record> type, int counter) Resolves the alias for a table.TableNameResolver.resolveTableName(Class<? extends Record> type) Resolves the table name for a given record type. -
Uses of SqlTemplateException in st.orm.template.impl
Methods in st.orm.template.impl that throw SqlTemplateExceptionModifier and TypeMethodDescriptionBuilds the model.ModelBuilder.build(T record, boolean requirePrimaryKey) Builds the model.SqlGenerator.get()Returns the SQL string.static <T> Optional<ObjectMapper<T>> ObjectMapperFactory.getObjectMapper(int columnCount, Class<T> type, RefFactory refFactory) Returns a factory for creating instances of the specified type.Class<?>[]ObjectMapper.getParameterTypes()Returns the parameter types of the constructor used to create instances.Extracts the value for the specified column for the given record.default SequencedMap<Column, Object> Maps the values from the given record to a set of columns.Maps the values from the given record to a set of columns.ObjectMapper.newInstance(Object[] args) Creates a new instance of the type.SqlTemplateImpl.process(StringTemplatePREVIEW template) Processes the specifiedtemplateand returns the resulting SQL and parameters.