Client and backend. Every class listed here is shared: the same code is compiled into your app and into your server.

package com.codename1.orm.repository

Build-time repository interfaces over managed ORM sessions. Implementations are generated by the ORM processor. Applications supply the Session and own its transaction boundaries; bulk methods flush and clear it.

Types

interface CrudRepositoryBase contract for generated repositories.
annotation LockApplies a lock to a findById lookup in the caller-owned transaction.
annotation ModifyingMarks a bulk update or delete.
class PageRequestAn immutable offset and positive maximum row count.
annotation ParamNames a declared query parameter without its colon.
annotation QueryDeclares JPQL, or scalar native SQL when nativeSql is true.
class RepositoriesCreates session-bound repositories through factories installed by the generated DAO bootstrap.
annotation RepositoryGenerates an implementation named InterfaceNameCn1Repository at build time.