Package org.salespointframework.core.data.database

Database connection implementations

See:
          Description

Interface Summary
ClassFieldMapper The ClassFieldMapper inspects class types and performs a type mapping
ClassNameEncoder The class name encoder is responsible for encoding class names (generally strings) into a valid table name for the database. every table name must be unique.
DatabaseConnection This interface defines a database connection.
DatabaseConnectionTemplate This template is used to instance a new DatabaseConnection.
Recoverable Implement this interface if you wish the Recoverable.recover(Map, Object, boolean) method to be called on object recovery
 

Class Summary
AbstractJavaDBConnection This abstract class is for JavaDB Connections JavaDBClientConnection and JavaDBEmbeddedConnection it provides an abstract configuration and a typemap ans special commands, which are suitable for both special connections
DefaultClassFieldMapper This is the default implementation for the ClassFieldMapper deals with annotations
DefaultClassNameEncoder default implementation for ClassNameEncoder. support two encoding modes: DefaultClassNameEncoder.MODE_HASH : hashes string with SHA-1 or MD5 DefaultClassNameEncoder.MODE_REPLACE : replaces some chars.
DefaultDatabaseConnection The default database connection.
JavaDBClientConnection The DatabaseConnection implementation for JavaDB remote connections do derby servers
JavaDBClientTemplate DatabaseConnectionTemplate implementation for javadb remote connections
JavaDBEmbeddedConnection DatabaseConnection implementation for an embedded javadb connection
JavaDBEmbeddedTemplate DatabaseConnectionTemplate implementation for embedded javadb connections
MssqlDatabaseConnection DatabaseConnection implementation for Microsoft SQL server (also express editions) 2008
MssqlTemplate This is the Template for Microsoft SQL Server (Express) 2008 connections
MysqlDatabaseConnection This is the DatabaseConnection for Mysql Connections.
MysqlTemplate Connection Template for mysql connections
PersistenceManager The PersistenceManager is the core of SalesPoints Persistence layer Its job is to manage the database connections and persist and recover objects
PersistenceManager.CachedResultSet this class cahches ResultSets in performance mode to decrease query count
PersistenceManager.DelayedAssignmentInfo  
PersistenceManager.LogonInformation Logon information of users in local Salespoints should work with remote logons in future version
PersistenceManager.ModificationEntry an entry which defines a modification event
PersistenceManager.MovingAverage this class calculates the moving average of a given window size
PersistenceManager.PerformanceTimer Simple Performance timer with nano seconds precision
PersistenceManager.ShopInstance A shop instance that will be written to data source
SqliteDatabaseConnection This is the implementation of DatabaseConnection for Sqlite 3 databases
SqliteTemplate Template for Sqlite connections
 

Annotation Types Summary
PersistenceProperty A PersistenceProperty defines field options for persistence process PersistenceProperty.follow() : set to false if you don't wish to persist this field PersistenceProperty.isUnique() : set to true, if this field should be the unique key PersistenceProperty.autoAssign() : set to true, if generated key should be set on this field after persistence process PersistenceProperty.isLongString() : set to true, for String contents greater than 500 characters {@link #genericType() : This annotation is only valid for fields of type java.lang.Class.
RecoveryConstructor This marks the constructor as the one, used for recovery.
RecoveryProperty this annotation sets recovery properties for a class.
 

Package org.salespointframework.core.data.database Description

Database connection implementations

See Also:
data.DatabaseConnection, data.DatabaseConnectionTemplate