The question is best explained by an example:
In Java for a JPA EntityManager, I can do the following(Account is my Entity class):
Account result = manager.find(Account.class, primaryKey);
In Scala, my naive attempt is:
val result = manager.find(Account.class, primaryKey)
But when I try to use Account.class in Scala, it seems to not like this. How can I specify the java.lang.Class object for the Account class in Scala?