com.avaje.ebean.annotation.DbHstore Maven / Gradle / Ivy
package com.avaje.ebean.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Used for mapping a Map type property to Postgres HSTORE data type.
*
* The Map property should have keys and values of type String.
*
*
* Example:
* {@code
*
* @DbHstore
* Map tags;
*
* }
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface DbHstore {
}