Deprecated API


Contents
Deprecated Classes
com.jenkov.mrpersister.MrPersister
          Use a PersistenceManager instance to obtain the factories instead. Note: PersistenceManager instances should be reused throughout the application lifetime. 
 

Deprecated Methods
com.jenkov.mrpersister.MrPersister.createConfiguration()
          Use getConfigurationFactory().createConfiguration() instead. 
com.jenkov.mrpersister.itf.mapping.IObjectMappingFactory.createInstance(Class)
          Renamed to createObjectMappingKey 
com.jenkov.mrpersister.itf.mapping.IObjectMappingFactory.createInstance(Class, ICustomObjectMapper)
          Renamed to createObjectMappingKey 
com.jenkov.mrpersister.itf.mapping.IObjectMappingFactory.createInstance(Class, String)
          Renamed to createObjectMappingKey 
com.jenkov.mrpersister.itf.mapping.IObjectMappingFactory.createInstance(Class, String, ICustomObjectMapper)
          Renamed to createObjectMappingKey 
com.jenkov.mrpersister.MrPersister.getConfiguration(Object)
          The responsiblity of caching persistence configurations has been moved to the persistence configuration factory. Use getConfigurationFactory().get()/store() instead. 
com.jenkov.mrpersister.itf.mapping.IObjectMappingKey.getId()
          Although an internal id is used to distinguish one object mapping key from another (used by the equals method), this id should not be publicly available. 
com.jenkov.mrpersister.itf.mapping.IObjectMapping.getPrimaryKeyColumnName()
          Use the getPrimaryKey() instead. The IKey interface supports compound keys. 
com.jenkov.mrpersister.impl.mapping.DbPrimaryKeyDeterminer.getPrimaryKeyColumnName(String, String, Connection)
          This method doesn't support compound keys (multi-column keys). Use the getPrimaryKeyMapping method instead. 
com.jenkov.mrpersister.itf.mapping.IDbPrimaryKeyDeterminer.getPrimaryKeyColumnName(String, String, Connection)
          Use the getPrimaryKeyColumnsinstead 
com.jenkov.mrpersister.itf.mapping.IObjectMapping.getPrimaryKeyGetterMapping()
          Use the getPrimaryKey() instead. The IKey interface supports compound keys. 
com.jenkov.mrpersister.itf.mapping.IObjectMapping.getPrimaryKeySetterMapping()
          Use the getPrimaryKey() instead. The IKey interface supports compound keys. 
com.jenkov.mrpersister.itf.mapping.IMethodMapping.isPrimaryKey()
          This method doesn't properly support compound keys. The method sends a signal about if this method mapping is a primary key mapping by itself. With the new compound key facilities a primary key may consist of more than one column. Use the public IKey IObjectMapping.getPrimaryKey() method to access the primary key of an object mapping's table. 
com.jenkov.mrpersister.MrPersister.removeConfiguration(Object)
          The responsiblity of caching persistence configurations has been moved to the persistence configuration factory. 
com.jenkov.mrpersister.MrPersister.setConfiguration(Object, IPersistenceConfiguration)
          The responsiblity of caching persistence configurations has been moved to the persistence configuration factory. 
com.jenkov.mrpersister.itf.mapping.IMethodMapping.setPrimaryKey(boolean)
          This method doesn't properly support compound keys. The method sends a signal about if this method mapping is a primary key mapping by itself. With the new compound key facilities a primary key may consist of more than one column. Use the public IKey IObjectMapping.getPrimaryKey() method to access the primary key of an object mapping's table. 
com.jenkov.mrpersister.itf.mapping.IObjectMapping.setPrimaryKeyColumnName(String)
          Use the setPrimaryKey() instead. The IKey interface supports compound keys. 
com.jenkov.mrpersister.impl.AbstractDao.update(Object, Object, Object)
          Use the updateByPrimaryKey instead(). Renamed to avoid naming conflict. 
com.jenkov.mrpersister.impl.AbstractDao.update(Object, Object, Object, Connection)
          Use the updateByPrimaryKey method instead. Renamed to avoid naming conflict. 
com.jenkov.mrpersister.impl.AbstractDao.updateBatch(Object, Collection, Collection)
          Use the updateBatchByPrimaryKeys instead. Renamed to avoid naming conflict. 
com.jenkov.mrpersister.impl.AbstractDao.updateBatch(Object, Collection, Collection, Connection)
          Use the updateBatchByPrimaryKeys instead. Renamed to avoid naming conflict.