Serialized Form


Package org.julp

Class org.julp.AbstractDomainObject extends java.lang.Object implements Serializable

serialVersionUID: 1043203579243398131L

Serialized Fields

originalValues

DataHolder originalValues

objectId

int objectId

persistentState

PersistentState persistentState

loaded

boolean loaded

loading

boolean loading

modified

boolean modified

displayValues

java.util.Map<K,V> displayValues

domainFactoryId

long domainFactoryId

originalClass

java.lang.Class<T> originalClass

pcs

java.beans.PropertyChangeSupport pcs

Class org.julp.AbstractDomainObjectFactory extends java.lang.Object implements Serializable

serialVersionUID: 1195039185383139622L

Serialized Fields

metaData

MetaData metaData

mapping

java.util.Map<K,V> mapping
Mapping of DB Table columns to object fields


domainClass

java.lang.Class<T> domainClass
Object to persist


objectId

int objectId
See AbstractDomainObject setObjectId()


objectList

java.util.List<E> objectList
Collection of Objects (data)


removedObjects

java.util.List<E> removedObjects
Collection of Objects to delete from DB


discardUnmodifiedObjects

boolean discardUnmodifiedObjects
Useful to send only modified objects to another tier


readOnly

boolean readOnly
Disable data modifications


dataWriter

DataWriter dataWriter
This object generates data modification


lazyLoading

boolean lazyLoading
If lazyLoding == true than set only original values vs. original and current


append

boolean append
control if load() append objects to objectList )


domainFactoryId

long domainFactoryId
Used to determine if created/deleted/updated DomainObject belongs to this factory


exceptionOnEmptyObjectList

boolean exceptionOnEmptyObjectList
If false suppress exception when call writeData on empty objectList


valid

boolean valid
Just a convenient member/method


createDefaultMetaData

boolean createDefaultMetaData
Create and populate MetaData automatically


throwMissingFieldException

boolean throwMissingFieldException
Throw Exception or ignore if DomainObject has less fields than mapping


dataReader

DataReader<T> dataReader
object to read data into objectList


options

java.util.Map<K,V> options
options to set to DataReader and DataWriter implementations


instantiator

Instantiator<T> instantiator

listeners

java.beans.PropertyChangeListener[] listeners

addEnhancedObjectToObjectList

boolean addEnhancedObjectToObjectList
Add enhanced object to objectList after call to enhance() or newInstance()

Class org.julp.CGLibInstantiator extends java.lang.Object implements Serializable

serialVersionUID: -1556016275740948314L

Serialized Fields

abstractDomainObjectMethodsToSkip

java.util.Set<E> abstractDomainObjectMethodsToSkip
Execute methods of superclass rather then AbstractDomainObject methods if they have the same names


instanceMethods

java.lang.reflect.Method[] instanceMethods

Class org.julp.DataAccessException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 9204596480980121316L

Class org.julp.DataHolder extends java.lang.Object implements Serializable

serialVersionUID: -3308019020586724852L

Serialized Fields

fieldsCount

int fieldsCount

data

java.lang.Object[] data

fieldNames

java.lang.String[] fieldNames

ignoreUndefinedFieldName

boolean ignoreUndefinedFieldName

Class org.julp.DefaultInstantiator extends java.lang.Object implements Serializable

serialVersionUID: -7865189974761626736L

Class org.julp.MetaData extends java.lang.Object implements Serializable

serialVersionUID: -4786749470828742028L

Serialized Fields

autoIncrement

boolean[] autoIncrement

caseSensitive

boolean[] caseSensitive

currency

boolean[] currency

definitelyWritable

boolean[] definitelyWritable

readOnly

boolean[] readOnly

searchable

boolean[] searchable

signed

boolean[] signed

writable

boolean[] writable

columnDisplaySize

int[] columnDisplaySize

columnType

int[] columnType

nullable

int[] nullable

precision

int[] precision

scale

int[] scale

catalogName

java.lang.String[] catalogName

schemaName

java.lang.String[] schemaName

tableName

java.lang.String[] tableName

columnClassName

java.lang.String[] columnClassName

columnLabel

java.lang.String[] columnLabel

columnName

java.lang.String[] columnName

columnTypeName

java.lang.String[] columnTypeName

fullColumnName

java.lang.String[] fullColumnName

fieldName

java.lang.String[] fieldName

fieldClassName

java.lang.String[] fieldClassName

fieldClass

java.lang.Class<T>[] fieldClass

columnCount

int columnCount

domainClass

java.lang.Class<T> domainClass

tables

java.util.Map<K,V> tables

throwMissingFieldException

boolean throwMissingFieldException

Class org.julp.PageHolder extends java.lang.Object implements Serializable

serialVersionUID: 517005814562304951L

Serialized Fields

pagesTotal

int pagesTotal

pageNumber

int pageNumber

objectsTotal

int objectsTotal

page

java.util.List<E> page

Class org.julp.Pager extends java.lang.Object implements Serializable

Serialized Fields

objectList

java.util.List<E> objectList

pageSize

int pageSize
Records per page

Class org.julp.ValueObject extends java.lang.Object implements Serializable

serialVersionUID: 109103127983201986L

Serialized Fields

value

java.lang.Object value

valueLabel

java.lang.String valueLabel

compareByValue

boolean compareByValue

errorOnNullCompare

boolean errorOnNullCompare

Package org.julp.db

Class org.julp.db.DBConverter extends java.lang.Object implements Serializable

serialVersionUID: 7000388748015599628L

Class org.julp.db.DBDataWriter extends java.lang.Object implements Serializable

serialVersionUID: -3375528510404563635L

Serialized Fields

removedCount

int removedCount

createdCount

int createdCount

modifiedCount

int modifiedCount

removedObjects

java.util.List<E> removedObjects

createdObjects

java.util.List<E> createdObjects

modifiedObjects

java.util.List<E> modifiedObjects

generatedSQL

java.util.List<E> generatedSQL

objectFactory

AbstractDomainObjectFactory<T> objectFactory

fullTableName

java.lang.String fullTableName

modifiedCatalog

java.lang.String modifiedCatalog

modifiedSchema

java.lang.String modifiedSchema

modifiedTable

java.lang.String modifiedTable

persistenceError

java.lang.Throwable persistenceError

exceptionOnEmptyObjectList

boolean exceptionOnEmptyObjectList

dbServices

DBServices dbServices
This is JDBC utility


batchEnabled

boolean batchEnabled

dataModificationSequence

DataWriter.DataModificationSequence[] dataModificationSequence
Set sequence or disable update/insert/delete


readOnly

boolean readOnly
Disable DB modifications


optimisticLock

OptimisticLock optimisticLock
Current Optimistic lock setting. Default is KEY_COLUMNS (Primary Key only)


throwOptimisticLockDeleteException

boolean throwOptimisticLockDeleteException

throwOptimisticLockUpdateException

boolean throwOptimisticLockUpdateException

throwFailedInsertException

boolean throwFailedInsertException

catalog

java.lang.String catalog
Target DB catalog


overrideCatalogName

boolean overrideCatalogName
If overrideCatalogName == true and catalog from this.metaData is null than use catalog member variable


schema

java.lang.String schema
Target DB schema


table

java.lang.String table
Target DB Table


generateSQLOnly

boolean generateSQLOnly
Do not execute INSERTS/UPDATES/DELETES - just generate SQL and parameters


noFullColumnName

boolean noFullColumnName
Some databases (like hsqldb) failed when UPDATE statement is using TABLE_NAME.COLUMN_NAME in SET clause. INSERT also failed


throwMissingFieldException

boolean throwMissingFieldException
Throw Exception or ignore if DomainObject has less fields than mapping


removeAndCreateInsteadOfStore

boolean removeAndCreateInsteadOfStore
sometimes instead of updates it is necessary to do delete/insert


removedBatch

java.util.Map<K,V> removedBatch

createdBatch

java.util.Map<K,V> createdBatch

modifiedBatch

java.util.Map<K,V> modifiedBatch

Class org.julp.db.DBServices extends java.lang.Object implements Serializable

serialVersionUID: 3005730076670636096L

Serialized Fields

connectionClosed

boolean connectionClosed

setConnectionToNullOnRelease

boolean setConnectionToNullOnRelease

connectionProperties

java.util.Properties connectionProperties

dataSourceName

java.lang.String dataSourceName

cursorName

java.lang.String cursorName

maxFieldSize

int maxFieldSize

maxRows

int maxRows

queryTimeout

int queryTimeout

fetchDirection

int fetchDirection

fetchSize

int fetchSize

resultSetType

int resultSetType

concurrency

int concurrency

readOnly

boolean readOnly

closeStatementAfterExecute

boolean closeStatementAfterExecute

escapeProcessing

boolean escapeProcessing

tranInProcess

boolean tranInProcess

resetDataSource

boolean resetDataSource

processWarnings

boolean processWarnings

processStoredProc

boolean processStoredProc

closeResultSet

boolean closeResultSet

transactionOnCloseConnection

DBServices.TransactionOnCloseConnection transactionOnCloseConnection

maxRowsToProcessInTransaction

int maxRowsToProcessInTransaction

rowsAffectedInTransaction

int rowsAffectedInTransaction

connectionId

java.lang.String connectionId

placeHolder

java.lang.String placeHolder

maxNumberOfParams

int maxNumberOfParams

warnings

java.util.List<E> warnings

processResult

DBServices.StoredProcedureResult processResult

cacheStatements

boolean cacheStatements

maxStatementCacheSize

int maxStatementCacheSize

statementsId

java.util.List<E> statementsId

statementsCache

java.util.List<E> statementsCache

statementsCacheCounter

java.util.List<E> statementsCacheCounter

cachedRowSetClassName

java.lang.String cachedRowSetClassName

ejbContext

java.lang.Object ejbContext

auditTrail

java.util.List<E> auditTrail

audit

boolean audit

Class org.julp.db.DBServices.Audit extends java.lang.Object implements Serializable

Serialized Fields

timestamp

java.sql.Timestamp timestamp

sql

java.lang.String sql

params

java.util.Collection<E> params

Class org.julp.db.DBServicesUtils extends java.lang.Object implements Serializable

Serialized Fields

dateFormat

java.lang.String dateFormat

timestampFormat

java.lang.String timestampFormat

timeFormat

java.lang.String timeFormat

decimalFormat

java.lang.String decimalFormat

dbServices

DBServices dbServices

Class org.julp.db.DomainObjectFactory extends AbstractDomainObjectFactory<T> implements Serializable

serialVersionUID: 6118351907258601974L

Serialized Fields

throwOptimisticLockDeleteException

boolean throwOptimisticLockDeleteException
Throw exception if PreparedStatement.executeUpdate() does not return 1 for each DomainObject. It means that the row in DB Table most likely was modified or deleted by another user/process. Does not work with Oracle JDBC Driver batch since driver does not return correct values


throwOptimisticLockUpdateException

boolean throwOptimisticLockUpdateException

throwFailedInsertException

boolean throwFailedInsertException

catalog

java.lang.String catalog
Target DB catalog


overrideCatalogName

boolean overrideCatalogName
If overrideCatalogName == true and catalog from this.metaData is null than use catalog member variable


schema

java.lang.String schema
Target DB schema


table

java.lang.String table
Target DB Table


dbServices

DBServices dbServices
This is JDBC utility


generateSQLOnly

boolean generateSQLOnly
Do not execute INSERTS/UPDATES/DELETES - just generate SQL and parameters


noFullColumnName

boolean noFullColumnName
Some databases (like hsqldb) fail when UPDATE/INSERT statements are using TABLE_NAME.COLUMN_NAME in SET clause.


converter

Converter converter
Get value from ResultSet as specified datatype

Class org.julp.db.Parameters extends java.lang.Object implements Serializable

serialVersionUID: -4069317946182804139L

Serialized Fields

params

java.lang.Object[] params

parameterMode

int[] parameterMode

parameterType

int[] parameterType

parameterTypeName

java.lang.String[] parameterTypeName

precision

int[] precision

scale

int[] scale

nullable

int[] nullable

signed

boolean[] signed

parameterName

java.lang.String[] parameterName

parameterCount

int parameterCount

Class org.julp.db.PKCache extends java.lang.Object implements Serializable

serialVersionUID: -2506547717723319217L

Serialized Fields

pkCache

java.util.Map<K,V> pkCache
Key for each table