Schema Object Naming Rules :
Fabien Wernli [Tue, 23 Feb 2010 14:46:11 +0000 (14:46 +0000)]
[...]
However, database names, global database names, and database link names are always case insensitive and are stored as uppercase.

# source: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements008.htm

lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm

index 371589e..a993977 100644 (file)
@@ -68,8 +68,8 @@ sub _dbh_get_autoinc_seq {
   }
   else {
     $source_name = $source->name;
-    $source_name = uc($source_name) unless $sql_maker->quote_char;
   }
+  $source_name = uc($source_name) unless $sql_maker->quote_char;
 
   # trigger_body is a LONG
   local $dbh->{LongReadLen} = 64 * 1024 if ($dbh->{LongReadLen} < 64 * 1024);