1 package SL::DB::Helper::Cache;
 
   8 use parent qw(Rose::DB::Cache);
 
  11   my ($self, $db, $entry) = @_;
 
  13   if (!$entry->is_prepared) {
 
  14     # if this a dummy kivitendo dbh, don't try to actually prepare this.
 
  15     if ($db->type =~ /KIVITENDO_EMPTY/) {
 
  22   if (!$db->dbh->ping) {
 
  33 SL::DB::Helper::Cache - database handle caching for kivitendo
 
  37 This class provides database cache handling for kivitendo running
 
  38 under FastCGI. It's based on Rose::DBx::Cache::Anywhere.
 
  42 =head2 prepare_db( I<rose_db>, I<entry> )
 
  44 Overrides default method to always ping() dbh.