Michael Benz 68649d0e98 Failing unit test to demonstrate the bug that deleting an entity via … (#1445)
* Failing unit test to demonstrate the bug that deleting an entity via an Ebean query does not respect the cascade setting.
(here a mapped optional OneToOne entity is not deleted using an Ebean query even if the CascadeType.ALL was used)

* moved init and cleanup code to @Before and @After JUnit methods and added another test that shows Ebean.delete() works as expected
2018-07-05 19:52:40 +12:00
2016-05-04 10:46:04 +12:00
2018-04-03 21:17:46 +12:00

Need help?

Post questions or issues to the Ebean google group - https://groups.google.com/forum/#!forum/ebean

Documentation

Goto https://ebean-orm.github.io/

Maven central - ebean

Maven central - all related projects

Current versions

  • Maven Central : ebean - ebean
  • Maven Central : ebean-agent - ebean-agent
  • Maven Central : ebean-maven-plugin - ebean-maven-plugin
Languages
Java 94%
PLpgSQL 2.7%
TSQL 2.5%
SQLPL 0.6%
Kotlin 0.1%