          else:
              self.input_size = None
  
  
  class FormatStylePlaceholderCursor(Database.Cursor):
      """
      Django uses "format" (e.g. '%s') style placeholders, but Oracle uses ":var"
      style. This fixes it -- but note that if you want to use a literal "%s" in
      a query, you'll need to use "%%s".
  
 
</s> remove         # Necessary to retrieve decimal values without rounding error.
        cursor.numbersAsStrings = True
        # Default arraysize of 1 is highly sub-optimal.
        cursor.arraysize = 100
 </s> add  </s> remove             return Database.Cursor.executemany(self, query,
 </s> add             return self.cursor.executemany(query, </s> remove             return Database.Cursor.execute(self, query,
                                           self._param_generator(params))
 </s> add             return self.cursor.execute(query, self._param_generator(params))
class FormatStylePlaceholderCursor(object):
          else:
              self.input_size = None
  
  
class FormatStylePlaceholderCursor(object):
      """
      Django uses "format" (e.g. '%s') style placeholders, but Oracle uses ":var"
      style. This fixes it -- but note that if you want to use a literal "%s" in
      a query, you'll need to use "%%s".
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #5543: callproc() and friends now work with Oracle and our FormatStylePlaceholderCursor.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9767 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/db/backends/oracle/base.py