Class Repositories

java.lang.Object
com.codename1.orm.repository.Repositories

public final class Repositories extends Object
Creates session-bound repositories through factories installed by the generated DAO bootstrap. Callers reference their repository interface, so they compile before implementations are generated.
  • Method Details

    • create

      public static <T> T create(Class<T> repositoryType, Session session)
      Creates an implementation of the annotated repository interface bound to the supplied session.