Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
F
G
M
S
T
U
W
C
clone()
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Clones the vendor-specific policy for generator session.
close()
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseOutputStream
Closes the database connection.
com.sun.jdo.spi.persistence.generator.database
- package com.sun.jdo.spi.persistence.generator.database
D
DatabaseGenerator
- Class in
com.sun.jdo.spi.persistence.generator.database
This class generates a database schema and a Map of mapping classes from a set of JDO classes.
DatabaseGenerator.NameTuple
- Class in
com.sun.jdo.spi.persistence.generator.database
This class holds three strings which contain three type of information.
DatabaseGenerator.NameTuple(String, String, String)
- Constructor for class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator.NameTuple
An object holds three string objects.
DatabaseGenerator.NameTuple(String, String)
- Constructor for class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator.NameTuple
An object holds three string objects.
DatabaseGenerator.Results
- Class in
com.sun.jdo.spi.persistence.generator.database
Contains the results of invoking DatabaseGenerator.generate()
DatabaseOutputStream
- Class in
com.sun.jdo.spi.persistence.generator.database
DatabaseOutputStream(Connection)
- Constructor for class com.sun.jdo.spi.persistence.generator.database.
DatabaseOutputStream
DatabaseOutputStream()
- Constructor for class com.sun.jdo.spi.persistence.generator.database.
DatabaseOutputStream
DDLGenerator
- Class in
com.sun.jdo.spi.persistence.generator.database
This class generates DDL for a given SchemaElement.
DDLGenerator()
- Constructor for class com.sun.jdo.spi.persistence.generator.database.
DDLGenerator
F
flush()
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseOutputStream
Commits the database connection.
G
generate(Model, List, MappingPolicy, String, String, boolean)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator
Generate database schema and mapping model from given map of persistence class names.
generateDDL(SchemaElement, String, OutputStream, OutputStream, OutputStream, OutputStream, OutputStream, boolean)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
DDLGenerator
Generate DDL from schema and database vendor name.
getColumnName(String, String, String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns the name of a column for a given field in a given class.
getConstraintColumnName(String, String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns the name of the column which represents a foreign key in the named table.
getConstraintName(String, String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns the name of a constraint corresponding to the named relationship.
getDesiredTableName()
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator.NameTuple
getHashClassName()
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator.NameTuple
getJDBCInfo(String, String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns JDBC type information corresponding to the given field name and type.
getJdbcTypeName(int)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Provide the String name of a JDBC type, as per java.sql.Types.
getJoinTableName(String, String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns the name of a join table which joins the tables that correspond to the two named classes.
getMappingClasses()
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator.Results
getMappingPolicy(String)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns a vendor-specifc MappingPolicy instance.
getOverrideForLength(String, String)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Provides a String that can be recognized as a policy to override the default length of a field.
getOverrideForNullability(String, String)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Provides a String that can be recognized as a policy to override the default nullability of a field.
getOverrideForPrecision(String, String)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Provides a String that can be recognized as a policy to override the default precision of a field.
getOverrideForScale(String, String)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Provides a String that can be recognized as a policy to override the default scale of a field.
getOverrideForType(String, String)
- Static method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Provides a String that can be recognized as a policy to override the default type of a field.
getPersistenceClassName()
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator.NameTuple
getPrimaryKeyConstraintName(String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns the name of a PK constraint, unique-ified as required.
getSchema()
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseGenerator.Results
getSQLTypeName(int)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns the String name of the SQL type for a given JDBC type.
getTableName(String, String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Returns the name of a table for a given class, as per current policy.
M
MappingPolicy
- Class in
com.sun.jdo.spi.persistence.generator.database
Describes how Java classes and their fields are to be mapped to database tables and columns
S
setConnection(Connection)
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseOutputStream
setUniqueTableName(boolean)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Sets whether or not unique table names should be generated.
setUserPolicy(Properties)
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Sets user-provided policy to that provided in the given properties.
T
toString()
- Method in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Debug support.
U
USE_UNIQUE_TABLE_NAMES
- Static variable in class com.sun.jdo.spi.persistence.generator.database.
MappingPolicy
Property name which indicates unique table names should be generated.
W
write(int)
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseOutputStream
This method is not supported in DatabaseOutputStream because it doesn't make sense to write a single int to a database stream.
write(String)
- Method in class com.sun.jdo.spi.persistence.generator.database.
DatabaseOutputStream
Executes the given statement in the database.
C
D
F
G
M
S
T
U
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012
GlassFish Community
. All Rights Reserved.