ERDerbyPlugIn.DerbyExpression Class Reference

Inherits com::webobjects::jdbcadaptor::JDBCExpression.

Collaboration diagram for ERDerbyPlugIn.DerbyExpression:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void addCreateClauseForAttribute (final EOAttribute attribute)
 DerbyExpression (final EOEntity entity)
String formatValueForAttribute (final Object obj, final EOAttribute eoattribute)

Protected Member Functions

boolean enableBooleanQuoting ()

Private Member Functions

String fixBigDecimal (final BigDecimal value, final EOAttribute eoattribute)
boolean isDateAttribute (final EOAttribute eoattribute)
boolean isTimestampAttribute (final EOAttribute eoattribute)


Constructor & Destructor Documentation

DerbyExpression ( final EOEntity  entity  ) 


Member Function Documentation

void addCreateClauseForAttribute ( final EOAttribute  attribute  ) 

boolean enableBooleanQuoting (  )  [protected]

String fixBigDecimal ( final BigDecimal  value,
final EOAttribute  eoattribute 
) [private]

Fixes an incompatibility with JDK 1.5 and using toString() instead of toPlainString() for BigDecimals. From what I understand, you will only need this if you disable bind variables.

Parameters:
value 
eoattribute 
Returns:
Author:
ak

String formatValueForAttribute ( final Object  obj,
final EOAttribute  eoattribute 
)

boolean isDateAttribute ( final EOAttribute  eoattribute  )  [private]

Helper to check for timestamp columns that have a "D" value type.

Parameters:
eoattribute 
Returns:

boolean isTimestampAttribute ( final EOAttribute  eoattribute  )  [private]

Helper to check for timestamp columns that have a "T" value type.

Parameters:
eoattribute 
Returns:


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:33 2012 for Project Wonder by  doxygen 1.5.8