db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer StatementManager.java
Date Mon, 11 Aug 2003 08:54:53 GMT
arminw      2003/08/11 01:54:53

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        StatementManager.java
  Log:
  remove redundant cast
  fix javadoc
  
  Revision  Changes    Path
  1.39      +8 -8      db-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManager.java
  
  Index: StatementManager.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManager.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- StatementManager.java	18 Jul 2003 06:14:54 -0000	1.38
  +++ StatementManager.java	11 Aug 2003 08:54:53 -0000	1.39
  @@ -105,7 +105,7 @@
   	private Platform m_platform;
   	/**
   	 * Used when OJB run in JBoss
  -	 * @todo Find a better solution to handle OJB within JBoss
  +	 * TODO: Find a better solution to handle OJB within JBoss
   	 * --> the JCA implementation should solve this problem
   	 */
   	private boolean m_eagerRelease;
  @@ -133,7 +133,7 @@
   			{
   				// 07.17.2003 - RB: StatementsForClassImpl is now configurable
   				//sfc = (StatementsForClassIF) new StatementsForClassImpl(m_conMan.getConnectionDescriptor(),
cds);
  -				sfc = (StatementsForClassIF) StatementsForClassFactory.getInstance().getStatementsForClass(m_conMan.getConnectionDescriptor(),
cds);
  +				sfc = StatementsForClassFactory.getInstance().getStatementsForClass(m_conMan.getConnectionDescriptor(),
cds);
   				m_statementTable.put(cds, sfc);
   			}
   		}
  @@ -237,9 +237,9 @@
   	 * bind a value
   	 * @param stmt the PreparedStatement
   	 * @param index the position of the parameter to bind
  -	 * @param attributeName the query attribute to bind
   	 * @param value the value to bind
   	 * @param cld the ClassDescriptor
  +     * @param fld the FielsDescriptor
   	 * @return next index for PreparedStatement
   	 */
   	private int bindStatementValue(PreparedStatement stmt, int index, Object value, ClassDescriptor
cld, FieldDescriptor fld)
  @@ -725,7 +725,7 @@
   
   	/**
   	 * returns an array containing values for all the Objects attribute
  -	 * @throws MetadataException if tehre is an erros accessing obj field values
  +	 * @throws PersistenceBrokerException if there is an erros accessing obj field values
   	 */
   	protected Object[] getAllValues(ClassDescriptor cld, Object obj) throws PersistenceBrokerException
   	{
  @@ -734,7 +734,7 @@
   
   	/**
   	 * returns an Array with an Objects PK VALUES
  -	 * @throws MetadataException if there is an erros accessing o field values
  +	 * @throws PersistenceBrokerException if there is an erros accessing o field values
   	 */
   	protected Object[] getKeyValues(PersistenceBroker broker, ClassDescriptor cld, Object
obj) throws PersistenceBrokerException
   	{
  @@ -743,7 +743,7 @@
   
   	/**
   	 * returns an Array with an Identities PK VALUES
  -	 * @throws MetadataException if there is an erros accessing o field values
  +	 * @throws PersistenceBrokerException if there is an erros accessing o field values
   	 */
   	protected Object[] getKeyValues(PersistenceBroker broker, ClassDescriptor cld, Identity
oid) throws PersistenceBrokerException
   	{
  @@ -752,7 +752,7 @@
   
   	/**
   	 * returns an Array with an Objects NON-PK VALUES
  -	 * @throws MetadataException if there is an erros accessing o field values
  +	 * @throws PersistenceBrokerException if there is an erros accessing o field values
   	 */
   	protected Object[] getNonKeyValues(PersistenceBroker broker, ClassDescriptor cld, Object
obj) throws PersistenceBrokerException
   	{
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message