インタフェースの使用
org.nkjmlab.sorm4j.Sorm
Sormを使用しているパッケージ
パッケージ
説明
Provides the main API for Sorm4j.
Package for SQL utilities for table.
(Experimental API) Package for H2 database features.
Package for table definitions.
-
org.nkjmlab.sorm4jでのSormの使用
Sormを返すorg.nkjmlab.sorm4jのメソッド修飾子とタイプメソッド説明static SormCreates aSorminstance which uses the givenDriverManagerDataSource.static SormSorm.create(DataSource dataSource) Create aSormobject which usesDataSource.static SormSorm.create(DataSource dataSource, SormContext context) -
org.nkjmlab.sorm4j.tableでのSormの使用
Sormを返すorg.nkjmlab.sorm4j.tableのメソッドSorm型のパラメータを持つorg.nkjmlab.sorm4j.tableのメソッドSorm型のパラメータを持つorg.nkjmlab.sorm4j.tableのコンストラクタ修飾子コンストラクタ説明SimpleTable(Sorm orm, Class<T> valueType) This table instance is bind to the table name is mapped to the givenSimpleTable.valueType.SimpleTable(Sorm orm, Class<T> valueType, String tableName) This table instance is bind to the table by the table name. -
org.nkjmlab.sorm4j.util.h2でのSormの使用
Sorm型のパラメータを持つorg.nkjmlab.sorm4j.util.h2のコンストラクタ修飾子コンストラクタ説明H2BasicTable(Sorm orm, Class<T> valueType) This table instance is bind to the table name defined in the given class.H2BasicTable(Sorm orm, Class<T> valueType, TableDefinition tableDefinition) This table instance is bind to the table name defined in the givenTableDefinition. -
org.nkjmlab.sorm4j.util.table_defでのSormの使用
Sorm型のパラメータを持つorg.nkjmlab.sorm4j.util.table_defのコンストラクタ修飾子コンストラクタ説明SimpleTableWithDefinition(Sorm orm, Class<T> valueType) SimpleTableWithDefinition(Sorm orm, Class<T> valueType, TableDefinition tableDefinition) This table instance is bind to the table name defined in the givenTableDefinition.