diff --git a/modules/Bio/EnsEMBL/Gene.pm b/modules/Bio/EnsEMBL/Gene.pm
index a2247ce7170542909126b4cf6f59071658424032..5b5c21313bd4e44adaaf3db05fac8723ff4fb32b 100755
--- a/modules/Bio/EnsEMBL/Gene.pm
+++ b/modules/Bio/EnsEMBL/Gene.pm
@@ -519,6 +519,8 @@ sub get_all_DBEntries {
       $self->adaptor->db->get_DBEntryAdaptor->fetch_all_by_Gene($self);
   }
 
+  $self->{'dbentries'} ||= [];
+
   return $self->{'dbentries'};
 }
 
diff --git a/modules/Bio/EnsEMBL/Transcript.pm b/modules/Bio/EnsEMBL/Transcript.pm
index a329ac1ba0e6f9048f29fc5147a98aca2f1f74e8..6af64c7ae8d7b4be632c4fec99784581c8fd3fbc 100755
--- a/modules/Bio/EnsEMBL/Transcript.pm
+++ b/modules/Bio/EnsEMBL/Transcript.pm
@@ -134,6 +134,8 @@ sub get_all_DBEntries {
       $self->adaptor->db->get_DBEntryAdaptor->fetch_all_by_Transcript($self);
   }
 
+  $self->{'dbentries'} ||= [];
+
   return $self->{'dbentries'};
 }
 
diff --git a/modules/Bio/EnsEMBL/Translation.pm b/modules/Bio/EnsEMBL/Translation.pm
index 043dc9b805aca73322d8235b7864ffee4569c5fc..e1133f096a6671bf0caa5e5452e84b3d2e20e6fb 100755
--- a/modules/Bio/EnsEMBL/Translation.pm
+++ b/modules/Bio/EnsEMBL/Translation.pm
@@ -354,6 +354,8 @@ sub get_all_DBEntries {
       $self->adaptor->db->get_DBEntryAdaptor->fetch_all_by_Translation($self);
   }
 
+  $self->{'dbentries'} ||= [];
+
   return $self->{'dbentries'};
 }