File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed 
src/test/java/org/soujava/demos/hotels/config Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 55import  jakarta .enterprise .inject .Alternative ;
66import  jakarta .enterprise .inject .Default ;
77import  jakarta .enterprise .inject .Produces ;
8- import  jakarta .enterprise .inject .Typed ;
98import  jakarta .interceptor .Interceptor ;
109import  org .eclipse .jnosql .communication .semistructured .DatabaseManager ;
11- import  org .eclipse .jnosql .databases .mongodb .communication .MongoDBDocumentManager ;
1210import  org .eclipse .jnosql .mapping .Database ;
1311import  org .eclipse .jnosql .mapping .DatabaseType ;
1412
@@ -22,8 +20,7 @@ public class ManagerSupplier implements Supplier<DatabaseManager> {
2220    @ Produces 
2321    @ Database (DatabaseType .DOCUMENT )
2422    @ Default 
25-     @ Typed ({DatabaseManager .class , MongoDBDocumentManager .class })
26-     public  MongoDBDocumentManager  get () {
23+     public  DatabaseManager  get () {
2724        return  DatabaseContainer .INSTANCE .get ("hotel" );
2825    }
2926
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments