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

com.avaje.ebean.annotation.DbHstore Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
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 { /** * For VARCHAR storage specify the column length (defaults to 1000). */ int length() default 0; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy