JDBCEntityMetaData(JDBCApplicationMetaData jdbcApplication, EntityMetaData entity) Constructs jdbc entity meta data defined in the jdbcApplication and
with the data from the entity meta data which is loaded from the
ejb-jar.xml file.
Constructs jdbc entity meta data defined in the jdbcApplication and
with the data from the entity meta data which is loaded from the
ejb-jar.xml file.
Parameters: jdbcApplication - the application in which this entity is defined Parameters: entity - the entity meta data for this entity that is loadedfrom the ejb-jar.xml file throws: DeploymentException - if an problem occures while loading theclasses or if data in the ejb-jar.xml is inconsistent with datafrom jbosscmp-jdbc.xml file
Constructs entity meta data with the data contained in the entity xml
element from a jbosscmp-jdbc xml file. Optional values of the xml element
that are not present are loaded from the defalutValues parameter.
Parameters: jdbcApplication - the application in which this entity is defined Parameters: element - the xml Element which contains the metadata aboutthis entity Parameters: defaultValues - the JDBCEntityMetaData which contains the valuesfor optional elements of the element throws: DeploymentException - if the xml element is not semantically correct
Compares this JDBCEntityMetaData against the specified object. Returns
true if the objects are the same. Two JDBCEntityMetaData are the same
if they both have the same name and are defined in the same application.
Parameters: o - the reference object with which to compare true if this object is the same as the object argument;false otherwise
Gets the flag used to determine if the store manager should attempt to
create database table when the entity is deployed.
true if the store manager should attempt to create the table
Gets the load group with the specified name.
the load group with the specified name throws: DeploymentException - if group with the specified name is not found
Gets the name of the primary key field of this entity or null if
the primary key is multivalued
the name of the primary key field of this entity or nullif the primary key is multivalued
How long is a read of this entity valid. This property should only be
used on read only entities, and determines how long the data read from
the database is valid. When the read times out it should be reread from
the database. If the value is -1 and the entity is not using commit
option a, the read is only valid for the length of the transaction in
which it was loaded.
the length of time that a read is valid or -1 if the read is onlyvalid for the length of the transaction
Get the relationsip roles of this entity.
Items are instance of JDBCRelationshipRoleMetaData.
an unmodifiable collection of the relationship roles definedfor this entity
Gets the flag used to determine if the store manager should attempt to
remove database table when the entity is undeployed.
true if the store manager should attempt to remove the table
Gets the flag used to determine if the store manager should add a
priary key constraint when creating the table
true if the store manager should add a primary key constraint tothe create table sql statement
Gets the flag used to determine if the store manager should do row locking
when loading entity beans
true if the store manager should add a row lockingclause when selecting data from the table
Returns a hashcode for this JDBCEntityMetaData. The hashcode is computed
based on the hashCode of the declaring application and the hashCode of
the entityName
a hash code value for this object
Returns a string describing this JDBCEntityMetaData. The exact details
of the representation are unspecified and subject to change, but the
following may be regarded as typical:
"[JDBCEntityMetaData: entityName=UserEJB]"
a string representation of the object