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

tech.ydb.yoj.databind.schema.Table Maven / Gradle / Ivy

Go to download

Core data-binding logic used by YOJ (YDB ORM for Java) to convert between Java objects and database rows (or anything representable by a Java Map, really).

There is a newer version: 2.6.4
Show newest version
package tech.ydb.yoj.databind.schema;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Specifies the table for the annotated entity.
 *
 * If no {@code Table} annotation is specified, the default values apply.
 *
 * 
 *    Example:
 *
 *    @Table(name="CUSTOMERS")
 *    public class Customer { ... }
 * 
* */ @Target(TYPE) @Retention(RUNTIME) public @interface Table { /** * The name of the table. Defaults to the type name. */ String name(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy