Package io.jmix.eclipselink.impl.dbms
Interface UuidMappingInfo
- All Known Implementing Classes:
- JmixHSQLPlatform,- JmixMySQLPlatform,- JmixOraclePlatform,- JmixPostgreSQLPlatform,- JmixSQLServerPlatform
public interface UuidMappingInfo
- 
Method SummaryModifier and TypeMethodDescriptiondefault ObjectconvertToDataValueIfUUID(Object parameter) Sometimes for some complex queries Eclipselink does not process collection parameter elements with converters.org.eclipse.persistence.mappings.converters.ConverterintClass<?>
- 
Method Details- 
getUuidSqlTypeint getUuidSqlType()
- 
getUuidTypeClass<?> getUuidType()
- 
getUuidColumnDefinitionString getUuidColumnDefinition()
- 
getUuidConverterorg.eclipse.persistence.mappings.converters.Converter getUuidConverter()
- 
convertToDataValueIfUUIDSometimes for some complex queries Eclipselink does not process collection parameter elements with converters. It only appends them to query using limited set of conversion checks instead. E.g. in org.eclipse.persistence.internal.databaseaccess.DatabasePlatform#setParameterValueInDatabaseCall(..) or in org.eclipse.persistence.internal.databaseaccess.DatabasePlatform#printValuelist(..) for case jmix-framework/jmix#1073We have to convert UUID manually in such cases for several database types. - Returns:
- converted to db type UUID parameter or the same parameter for other types
 
 
-