org.virtuslab.unicorn.repositories.Repositories
Checks if element exists in database.
Checks if element exists in database. It have to be implemented by user, because this is service for entities without an id and generic method could not be created.
element to check for
implicit database session
true if element exists in database
Deletes all elements in table.
Deletes all elements in table.
implicit session param for query
number of deleted elements
implicit session param for query
all elements of type A
base table query
Saves one element.
Saves one element. Warning - if element already exist, it's not updated.
element to save
implicit database session
elem itself
Base for services for entities that have no type-safe id created - for example join tables.
type of entity
type of table