| Package | Description |
|---|---|
| org.mentabean | |
| org.mentabean.jdbc | |
| org.mentabean.sql | |
| org.mentabean.type |
| Modifier and Type | Method and Description |
|---|---|
static DBType<?> |
DBTypes.from(Class<? extends Object> klass) |
DBType |
DBField.getType() |
| Modifier and Type | Method and Description |
|---|---|
BeanConfig |
BeanConfig.field(Object propValueFromGetter,
DBType<? extends Object> type) |
BeanConfig |
BeanConfig.field(Object propValueFromGetter,
String dbName,
DBType<? extends Object> type) |
BeanConfig |
BeanConfig.field(String name,
DBType<? extends Object> type)
Add a database field for the given property with the given database type.
|
BeanConfig |
BeanConfig.field(String name,
String dbName,
DBType<? extends Object> type)
Add a database field for the given property with the given database type.
|
BeanConfig |
BeanConfig.pk(Object propValueFromGetter,
DBType<? extends Object> type) |
BeanConfig |
BeanConfig.pk(Object propValueFromGetter,
String dbName,
DBType<? extends Object> type) |
BeanConfig |
BeanConfig.pk(String name,
DBType<? extends Object> type)
Add a bean property that is the primary key in the database.
|
BeanConfig |
BeanConfig.pk(String name,
String dbName,
DBType<? extends Object> type)
Add a property that is the primary key in the database.
|
| Constructor and Description |
|---|
DBField(String name,
String dbName,
DBType<?> type,
boolean isPK) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
PostgreSQLBeanSession.getDatabaseType(DBType<?> dbType) |
protected String |
MySQLBeanSession.getDatabaseType(DBType<?> dbType) |
protected String |
H2BeanSession.getDatabaseType(DBType<?> dbType) |
protected String |
AnsiSQLBeanSession.getDatabaseType(DBType<?> dbType)
Each dialect can override this to return the database column type it supports other than the ANSI standard.
|
| Modifier and Type | Method and Description |
|---|---|
DBType<?> |
Sentence.getReturnType() |
| Modifier and Type | Method and Description |
|---|---|
Sentence |
Sentence.returnType(DBType<?> type) |
| Modifier and Type | Class and Description |
|---|---|
class |
AutoIncrementType |
class |
AutoTimestampType |
class |
BigDecimalType |
class |
BooleanIntType |
class |
BooleanStringType |
class |
BooleanType |
class |
ByteArrayType
ByteArrayType that uses a get/setBytes from ResultSet/PreparedStatement respectively
|
class |
DateType |
class |
DoubleType |
class |
EnumIdType |
class |
EnumValueType |
class |
FloatType |
class |
GenericType
Generic type that uses a get/setObject from ResultSet/PreparedStatement respectively
Note this class must NOT be used to create tables. |
class |
IntegerType |
class |
LongType |
class |
NowOnInsertAndUpdateTimestampType |
class |
NowOnInsertTimestampType |
class |
NowOnUpdateTimestampType |
class |
SequenceType |
class |
StringType |
class |
TimestampType |
class |
TimeType |
Copyright © 2016. All Rights Reserved.