File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/test/java/org/soujava/demos/mongodb/document Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 5
5
import jakarta .enterprise .inject .Alternative ;
6
6
import jakarta .enterprise .inject .Default ;
7
7
import jakarta .enterprise .inject .Produces ;
8
- import jakarta .enterprise .inject .Typed ;
9
8
import jakarta .interceptor .Interceptor ;
10
9
import org .eclipse .jnosql .communication .semistructured .DatabaseManager ;
11
- import org .eclipse .jnosql .databases .mongodb .communication .MongoDBDocumentManager ;
12
10
import org .eclipse .jnosql .mapping .Database ;
13
11
import org .eclipse .jnosql .mapping .DatabaseType ;
14
12
@@ -22,8 +20,7 @@ public class ManagerSupplier implements Supplier<DatabaseManager> {
22
20
@ Produces
23
21
@ Database (DatabaseType .DOCUMENT )
24
22
@ Default
25
- @ Typed ({DatabaseManager .class , MongoDBDocumentManager .class })
26
- public MongoDBDocumentManager get () {
23
+ public DatabaseManager get () {
27
24
return DatabaseContainer .INSTANCE .get ("hotel" );
28
25
}
29
26
}
You can’t perform that action at this time.
0 commit comments