Commits

Anonymous committed ee86628

Applying patch repair per issue 39

  • Participants
  • Parent commits ee4d493

Comments (0)

Files changed (1)

File doj/backends/zxjdbc/oracle/zxJDBCCursorWrapperOracle.py

     Wrapper for Django-Jython Oracle implementation for zxJDBC calls
 """
 
+from decimal import Decimal # Added for issue 39
+
 try:
     from com.ziclix.python.sql import zxJDBC as Database
 except ImportError, e:
             if value is not None and desc[1] == Database.NUMBER:
                 
                 precision, scale = desc[4:6]
+                
                 if scale == -127:
                     if precision == 0:
                         # NUMBER column: decimal-precision floating point