blib/lib/blx/xsdsql/schema_repository/sql/oracle/catalog.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 14 Podpod 0.0% 0 / 10 totaltotal 0.0% 0 / 49 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
get_name_maxsize
2.0
get_comment_maxsize
2.0
CRAP 2.0
1 package blx::xsdsql::schema_repository::sql::oracle::catalog;
2  
3 use strict; # use strict is for PBP
4 use Filter::Include;
5 include blx::xsdsql::include;
6 #line 7
7  
8 use base qw(blx::xsdsql::schema_repository::sql::generic::catalog);
9  
10  
11 use constant {
12 DICTIONARY_NAME_MAXSIZE => 30
13 ,DICTIONARY_COMMENT_MAXSIZE => 2048
14 ,BEGIN_COMMENT => '/*'
15 ,END_COMMENT => '*/'
16 ,COMMAND_TERMINATOR => ';'
17 ,MAX_COLUMNS_VIEW => 1000
18 ,MAX_JOINS_VIEW => 140 #it's really ? - with 145 left join oracle 11 failed
19 ,MAX_COLUMNS_TABLE => 1000
20  
21 };
22  
23 sub new {
24 my ($class,%params)=@_;
25 return $class->SUPER::_new(%params);
26 }
27  
28 sub get_name_maxsize { return DICTIONARY_NAME_MAXSIZE; }
29  
30 sub get_comment_maxsize { return DICTIONARY_COMMENT_MAXSIZE; }
31  
32 sub get_begin_comment { return BEGIN_COMMENT; }
33  
34 sub get_end_comment { return END_COMMENT; }
35  
36 sub command_terminator { return COMMAND_TERMINATOR; }
37  
38 sub get_max_columns_view { return MAX_COLUMNS_VIEW; }
39  
40 sub get_max_joins_view { return MAX_JOINS_VIEW; }
41  
42 sub get_max_columns_table { return MAX_COLUMNS_TABLE; }
43  
44 sub is_support_views { return 1; }
45  
46  
47 1;
48  
49  
50 __END__