Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.noorm.jdbc;
 
 

Author(s):
Ulf Pietruschka / ulf.pietruschka@etenso.com Date: 20.05.11 Time: 14:27
public interface IBean<T> {

Generic object to enrich the Bean with additional information.

Returns:
the generic object.
Generic object to enrich the Bean with additional information.

Parameters:
pAuxiliaryData the generic object
	void setAuxiliaryData(final T pAuxiliaryData);

    
Returns all fields and values, which have been changed after this bean has been loaded and populated. This method provides support for optimistic locking, when optimistic locking is realized by comparing the full pre-change image of the row against the current database row. Note that this method returns null, when this kind of optimistic locking is not enabled for the associated table.

Returns:
all fields and values, which have been changed
The database name of this Bean. Can either be a table or an updateable view.

Returns:
the database name
	String getTableName();

    
Indicates, whether the table name is case sensitive.

Returns:
true, when the table name is case sensitive
    boolean isTableNameCaseSensitive();

The name of the primary key columns.

Returns:
the primary key column names.
The name of the primary key Java attributes.

Returns:
the primary key column names.
The sequence name used to generate numeric primary keys for this table or view.

Returns:
the sequence name.
The increment for the sequence used to generate primary key values. Using an increment larger than 1 allows the DataSourceProvider to cache sequence values without the need for a database round-trip.

Returns:
the sequence increment
    Long getSequenceIncrement();

    
Determines, whether sequence values for primary keys should be generated inline

Returns:
true, when the sequence value generation should be inlined with the INSERT statement.
The table column used for modification checking for optimistic locking.

Returns:
the version column name.
The name of the Java instance variable holding the version column.

Returns:
the version column name.
The table column type used for modification checking for optimistic locking.

Returns:
the version column type.
New to GrepCode? Check out our FAQ X