All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.persistence.sql.configuration.SqlSerializerUtil Maven / Gradle / Ivy

package org.infinispan.persistence.sql.configuration;

import org.infinispan.commons.configuration.io.ConfigurationWriter;
import org.infinispan.persistence.jdbc.common.configuration.Element;

class SqlSerializerUtil {

   static void writeSchemaElement(ConfigurationWriter writer, AbstractSchemaJdbcConfiguration configuration) {
      SchemaJdbcConfiguration schemaConfig = configuration.schema();
      if (schemaConfig.attributes().isModified()) {
         writer.writeStartElement(Element.SCHEMA);
         schemaConfig.attributes().write(writer);
         writer.writeEndElement();
      }
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy