Removes all entities of the given type
Removes all entities of the given type
implicitly supplied class manifest of the entity type to be deleted
the session factory that will have the entities removed
Returns a function that runs the supplied function f on the object; then inserts the object and returns Success;
the function can be supplied to the BeanTables function.|>
Returns a function that runs the supplied function f on the object; then inserts the object and returns Success;
the function can be supplied to the BeanTables function.|>
Typical usage is
implicit var sessionFactory = make-SessionFactory-instance()
"Some service operation" in {
"age" | "name" | "teamName" |
32 ! "Jan" ! "Wheelers" |
30 ! "Ani" ! "Team GB" |> insert[Rider] { r: Rider => r.addEntry(...) }
// tests that rely on the inserted Rider objects; each with one Entry inserted in the function given
// to the insert[Rider] method
success
}
function that operates on the instance ; this function will run before the Hibernate save.T
function that inserts the object and returns Success when the insert succeeds.
Returns a function that inserts the object and returns Success; the function can be supplied to the BeanTables
function.|>
Returns a function that inserts the object and returns Success; the function can be supplied to the BeanTables
function.
Typical usage is
|>
implicit var sessionFactory = make-SessionFactory-instance()
"Some service operation" in {
"age" | "name" | "teamName" |
32 ! "Jan" ! "Wheelers" |
30 ! "Ani" ! "Team GB" |> insert[Rider]
// tests that rely on the inserted Rider objects
success
}
function that inserts the object and returns Success when the insert succeeds.
Convenience mixin for using Hibernate in your Spring integration tests; includes the
method overloads that work well withinsert.org.specs2.spring.BeanTables