Class EntityInfoSqlHelper

java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.EntityInfoSqlHelper

public class EntityInfoSqlHelper extends Object
Helps to generate SQL queries (INSERT, UPDATE etc).
Since:
7.20.0
  • Field Details

  • Constructor Details

    • EntityInfoSqlHelper

      public EntityInfoSqlHelper()
  • Method Details

    • getInsertQuery

      public String getInsertQuery(ExportableEntityInfo entityInfo)
    • createValuesForInsert

      public Map<String,Object> createValuesForInsert(ImportedObjectV2 importedObject)
    • convertToDbReadyValue

      public Object convertToDbReadyValue(org.hibernate.type.Type type, String value)
    • convertCustomTypeToDbReadyValue

      public Object convertCustomTypeToDbReadyValue(org.hibernate.type.CustomType customType, String value)
    • getDbReadyValueFromProperty

      public static Object getDbReadyValueFromProperty(Object property)
    • stripQuotesFromName

      protected static String stripQuotesFromName(String name)