I am using java API that looks like:
import com.google.code.morphia.Morphia;
.....
val morphia = new Morphia();
morphia.map(Hotel.class).map(Address.class);
but it gives scala compiler error. what is the correct code in scala for above? Note that .map is defined as part of morphia API and not to be confused with scala map.