1. 30 Nov, 2017 1 commit
  2. 23 Nov, 2017 2 commits
  3. 17 Nov, 2017 3 commits
    • Daniel González Peña's avatar
      Adds Projects and ProjectsTests and ensures robust delete operations of all entities · 8ae05bd1
      Daniel González Peña authored
      This commit does these things:
      	- Adds Projects and ProjectsTest for basic operations with Project.
      	- Ensures that delete operations preserves the database integrity (i.e.
      	  no FK constraint exceptions). We do this in several ways:
      		- By adding CascadeType.REMOVE in @OneToMany where appropriate (e.g: Projects->ProjectAssignment)
      		- By manually setting to NULL orphan entities (e.g: Department->Employee)
      		- By manually removing orphan entities when no @OneToMany is available
      		  (e.g: Employee->ProjectAssignment)
      	- Adds CascadeType.PERSIST in Project->ProjectAssignment to automatically persist ProjectAssignments
      	  that were added to a given Project.
      	- Refactors tests to avoid repetitive JDBC code that inserts some registers before the test.
      8ae05bd1
    • Daniel González Peña's avatar
      Updates Hibernate to version 5.2.3 · d8eb7051
      Daniel González Peña authored
      With this version:
      	- There is no need to declare your entities in <class> elements in persistence.xml.
      	- You can open and close an entitymanagerfactory in each test class without hangs
                between test classes.
      d8eb7051
    • Daniel González Peña's avatar
      Ignores IntelliJ IDEA files · ed1ba041
      Daniel González Peña authored
      ed1ba041
  4. 16 Nov, 2017 1 commit
  5. 09 Nov, 2017 3 commits
  6. 03 Nov, 2017 2 commits