MappingModule

org.beangle.data.orm.MappingModule$
See theMappingModule companion class
object MappingModule

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class Cache(val cacheholder: CacheHolder) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
final class CacheConfig(var region: String, var usage: String)

Attributes

Supertypes
class Object
trait Matchable
class Any
final class CacheHolder(val mappings: Mappings, val cacheRegion: String, val cacheUsage: String)

Attributes

Supertypes
class Object
trait Matchable
class Any
class ColumnName(name: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class DefaultValue(v: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class ElementColumn(name: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class ElementLength(len: Int) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
final class Entities(val mappings: Mappings, val entityMappings: Map[String, OrmEntityType], cacheConfig: CacheConfig)

Attributes

Supertypes
class Object
trait Matchable
class Any
final class EntityHolder[T](val mapping: OrmEntityType, val mappings: Mappings, val clazz: Class[T], module: MappingModule)

Attributes

Supertypes
class Object
trait Matchable
class Any
class Expression(val holder: EntityHolder[_])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Expression

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Expression.type
class Expressions(val holder: EntityHolder[_])

Attributes

Supertypes
class Object
trait Matchable
class Any

不可更新,但可插入

不可更新,但可插入

Attributes

Supertypes
class Object
trait Matchable
class Any
class IndexDeclaration(name: String, unique: Boolean)

创建索引

创建索引

针对唯一索引,目前不支持空列

Value parameters

name

indexname

unique

unique index

Attributes

Supertypes
class Object
trait Matchable
class Any
class JoinColumn(name: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class KeyColumn(name: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class KeyLength(len: Int) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class Length(len: Int) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class Lob extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class Many2Many(mappedBy: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
class One2Many(targetEntity: Option[Class[_]], mappedBy: String, var cascade: Option[String]) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class OrderBy(orderBy: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class OrderColumn(orderColumn: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Cache
class ColumnName
class DefaultValue
class Immutable
class JoinColumn
class KeyColumn
class KeyLength
class Length
class Lob
class Many2Many
class NotNull
class One2Many
class OrderBy
class OrderColumn
class ReadOnly
class Table
class Target
class Unique
Show all

不可更新,不可插入

不可更新,不可插入

Attributes

Supertypes
class Object
trait Matchable
class Any
class Table(table: String) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class Target(clazz: Class[_]) extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any
class Unique extends PropertyDeclaration

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

inline def cast[T](pm: OrmProperty, holder: EntityHolder[_], msg: String): T

Concrete fields

val OrderColumnName: String