Package | Description |
---|---|
com.caucho.amber | |
com.caucho.amber.entity | |
com.caucho.amber.manager | |
com.caucho.amber.query |
Modifier and Type | Method and Description |
---|---|
static AmberException |
AmberException.create(java.lang.Throwable e) |
Modifier and Type | Method and Description |
---|---|
EntityItem |
EnvAmberManager.getEntityItem(java.lang.String homeName,
java.lang.Object key)
Returns the entity item.
|
java.lang.Object |
AmberConnection.load(java.lang.Class cl,
long key)
Loads the entity specified by its class and primary key.
|
java.lang.Object |
AmberConnection.load(java.lang.Class cl,
java.lang.Object key)
Loads the entity specified by its class and primary key.
|
AmberQuery |
AmberConnection.prepareQuery(java.lang.String queryString)
Creates a query object from a query string.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
AmberEntityHome.findEntityItem(AmberConnection aConn,
java.lang.Object key) |
java.lang.Object |
AmberEntityHome.getKeyFromEntity(Entity entity)
Returns the entity from the key.
|
EntityItem |
AmberEntityHome.setEntityItem(java.lang.Object key,
EntityItem item)
Loads an entity based on the primary key.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
AmberPersistenceUnit.getEntityItem(java.lang.String homeName,
java.lang.Object key)
Returns the entity item.
|
java.lang.Object |
AmberConnection.load(java.lang.Class cl,
long intKey)
Loads the object based on the class and primary key.
|
java.lang.Object |
AmberConnection.load(java.lang.Class cl,
java.lang.Object key,
boolean isEager) |
java.lang.Object |
AmberConnection.load(java.lang.String entityName,
java.lang.Object key)
Loads the object based on the class and primary key.
|
EntityItem |
AmberConnection.loadCacheItem(java.lang.Class cl,
java.lang.Object key,
AmberEntityHome entityHome) |
java.lang.Object |
AmberConnection.loadLazy(java.lang.Class cl,
long intKey)
Loads the object based on the class and primary key.
|
AbstractQuery |
AmberConnection.parseQuery(java.lang.String sql,
boolean isLazy)
Creates a query object from a query string.
|
AmberQuery |
AmberConnection.prepareLazyQuery(java.lang.String queryString)
Creates a query object from a query string.
|
AmberQuery |
AmberConnection.prepareQuery(java.lang.String queryString)
Creates a query object from a query string.
|
AmberQuery |
AmberConnection.prepareUpdate(java.lang.String queryString)
Creates a query object from a query string.
|
Modifier and Type | Class and Description |
---|---|
class |
QueryParseException
Exception.
|
Modifier and Type | Method and Description |
---|---|
AbstractQuery |
QueryParser.parse()
Parses the query.
|