- java.lang.Object
-
- org.eclipse.persistence.json.JsonPlatform
-
- org.eclipse.persistence.json.MySQLJsonPlatform
-
- All Implemented Interfaces:
DatabaseJsonPlatform
public class MySQLJsonPlatform extends JsonPlatform
-
-
Constructor Summary
Constructors Constructor Description MySQLJsonPlatform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcustomParameterMarker()MySQL specific custom JSON parameter marker.voidupdateFieldTypes(Hashtable<Class<?>,FieldTypeDefinition> fieldTypeMapping)Update the mapping of JSON class types to MySQL database types for the schema framework.-
Methods inherited from class org.eclipse.persistence.json.JsonPlatform
convertDataValueToJsonValue, convertJsonValueToDataValue, isJsonType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.internal.databaseaccess.DatabaseJsonPlatform
getJsonDataFromResultSet, unwrap, updateClassTypes
-
-
-
-
Method Detail
-
updateFieldTypes
public void updateFieldTypes(Hashtable<Class<?>,FieldTypeDefinition> fieldTypeMapping)
Update the mapping of JSON class types to MySQL database types for the schema framework.- Specified by:
updateFieldTypesin interfaceDatabaseJsonPlatform- Overrides:
updateFieldTypesin classJsonPlatform- Parameters:
fieldTypeMapping-Mapwith mappings to be updated.
-
customParameterMarker
public String customParameterMarker()
MySQL specific custom JSON parameter marker.- Returns:
- JSON parameter marker
-
-