org.hotrod.runtime.livesql.queries.InsertValuesPhase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hotrod-livesql Show documentation
Show all versions of hotrod-livesql Show documentation
HotRod is an ORM for Java, Spring and SpringBoot.
package org.hotrod.runtime.livesql.queries;
public class InsertValuesPhase implements DMLQuery {
// Properties
private LiveSQLContext context;
private InsertObject insert;
// Constructor
public InsertValuesPhase(final LiveSQLContext context, final InsertObject insert) {
this.context = context;
this.insert = insert;
}
// Next stages
// Preview
@Override
public String getPreview() {
return this.insert.getPreview(this.context);
}
// Execute
public void execute() {
this.insert.execute(this.context);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy