Commit Graph

21 Commits

Author SHA1 Message Date
Ilkka Seppälä ffbf56f01a CQRS pattern: Add missing license headers 2017-07-29 21:41:11 +03:00
Sabiq Ihab 871df4f918 close connection before throwing an exception 2017-07-29 13:26:54 +01:00
Sabiq Ihab 7ae9e3ee22 add a description of the pattern 2017-07-29 13:13:08 +01:00
Sabiq Ihab c572fe885e add check on null objects 2017-07-29 12:16:19 +01:00
Sabiq Ihab a221245909 Use Logger instead of println 2017-07-29 12:14:15 +01:00
Sabiq Ihab 8bf4497879 Close sessions using try with resources 2017-07-29 12:13:34 +01:00
Sabiq Ihab 87c10faaac Fix : remove AppTest 2017-06-30 23:22:44 +00:00
Sabiq Ihab d8919d88f0 fix pmd errors 2017-06-30 21:26:02 +00:00
Sabiq Ihab b67719ab32 add tests 2017-06-30 21:26:02 +00:00
Sabiq Ihab a8f50297eb add hashCode and equals to Author and Book DTOs 2017-06-30 21:26:02 +00:00
Sabiq Ihab 3128d3fb40 create main class 2017-06-30 21:26:02 +00:00
Sabiq Ihab a2dba5bf6d add logs, javadoc and format to checkstyle conventions 2017-06-30 21:26:02 +00:00
Sabiq Ihab 40c00ca2af add ICommandService and IQueriesService Implementations 2017-06-30 21:26:02 +00:00
Sabiq Ihab 8e25ec55bf change long with BigIntger and replace getBook() 2017-06-30 21:26:02 +00:00
Sabiq Ihab 8881950e6d add toString() to BookDTO 2017-06-30 21:26:02 +00:00
Sabiq Ihab 51bcee5d7d add Queries and Commands Interfaces 2017-06-30 21:26:02 +00:00
Sabiq Ihab 15a25f0ef3 add DTOs 2017-06-30 21:26:02 +00:00
Sabiq Ihab f3902ffc16 add setters and protected no-arg constructor 2017-06-30 21:26:02 +00:00
Sabiq Ihab 8208f6252b add hibernate.cfg and HibernateUtil class 2017-06-30 21:26:02 +00:00
Sabiq Ihab ca73621f4d create data model 2017-06-30 21:26:01 +00:00
Sabiq Ihab 4e9988877a Initial commit 2017-06-30 21:26:01 +00:00