public class CustomDbTypeMapping extends Object
Constructor and Description |
---|
CustomDbTypeMapping(DbType type,
String columnDefinition)
Create a mapping that should apply to all the database platforms.
|
CustomDbTypeMapping(DbType type,
String columnDefinition,
io.ebean.annotation.Platform platform)
Create a mapping.
|
Modifier and Type | Method and Description |
---|---|
String |
getColumnDefinition()
Return the DB column definition to use.
|
io.ebean.annotation.Platform |
getPlatform()
Return the platform this mapping should apply to.
|
DbType |
getType()
Return the DB type the mapping applies to.
|
public CustomDbTypeMapping(DbType type, String columnDefinition, io.ebean.annotation.Platform platform)
public CustomDbTypeMapping(DbType type, String columnDefinition)
public String getColumnDefinition()
public io.ebean.annotation.Platform getPlatform()
Copyright © 2019. All rights reserved.