Package org.datanucleus.store.schema.naming
This package is a work-in-progress to provide datastore-agnostic naming strategies for JDO, JPA and
indeed any other API. The idea following the what we originally did with IdentifierFactory except that
this is just the name component, and we pass in a SchemaComponent defining what the name is for.
It will ultimately be usable with all "store" plugins, and we'll migrate the stores across to use it.
-
Interface Summary Interface Description NamingFactory Representation of a naming factory for schema components (tables, columns, etc). -
Class Summary Class Description AbstractNamingFactory Abstract base for any naming factory, providing convenience facilities like truncation.DN2NamingFactory Naming factory used by DataNucleus v3.x onwards.JPANamingFactory Naming factory following JPA specification rules. -
Enum Summary Enum Description ColumnType Enum defining the types of columns.NamingCase Enum defining the types of cases that component identifiers can be stored in.SchemaComponent Enum of the types of schema components that we need to create names for.