ffbit/jpa-2.0-preparation — pull request #2 by ffbit (2012-11-09 14:47:04+00:00)
Title: - Created the Department Entity

- Created the Department Entity
- Added a strong unidirectional @ManyToOne association between the Employee and Department entities
- Created a simple JPA integration test framework based on the Spring Framework

Squashed commit of the following:

commit 5d7597f8c47c45e393c4e43414e4ba39b0af7631
Author: Dmytro Chyzhykov
Date: Fri Nov 9 15:54:36 2012 +0200

Update the jpa-2.0-preparation.png diagram image.

commit 8c31e6f3a6e8c8c6c864a39182846464864be867
Author: Dmytro Chyzhykov
Date: Wed Nov 7 14:17:51 2012 +0200

JPA integration test for the ParkingPlace entity.

commit 3e74d8a5cec62b0e5c64bbc3766b3fdcef2699ba
Author: Dmytro Chyzhykov
Date: Tue Nov 6 22:18:31 2012 +0200

The MockFactoryValidationAspect aspect validates built entities by MockFactories.
If an entity is not valid the ConstraintViolationException is thrown with
information about its deriving method signature.

commit 44f053e69d0e4fc2e2b539d466e4b92613987fed
Author: Dmytro Chyzhykov
Date: Tue Nov 6 22:02:04 2012 +0200

Spring intercepts ConstraintViolationException.

commit 30578e8c484c3b61ae33513966637da39f035682
Author: Dmytro Chyzhykov
Date: Tue Nov 6 20:00:34 2012 +0200

Fixed the multiple SLF4J bindings error message.

commit 23780271d267a4b13a5f7a909d780cf272b80575
Author: Dmytro Chyzhykov
Date: Tue Nov 6 17:37:24 2012 +0200

Validation aspect for MockFactories

commit 40e17d7f7ef181a2e3b22c41e6ccc654434e4cab
Author: Dmytro Chyzhykov
Date: Tue Nov 6 17:18:15 2012 +0200

Reduced amount of log produced by Hibernate.

commit c85d3046a828b55a097f27d45aa3140f5437bbf7
Author: Dmytro Chyzhykov
Date: Tue Nov 6 17:12:08 2012 +0200

Enabled Bean Validation (JSR-303) API with Hibernate Validator

commit 6fa6912fdd25f29f6656826f863d75736c932931
Author: Dmytro Chyzhykov
Date: Tue Nov 6 15:08:01 2012 +0200

AOP preparation

commit 571d5f7ede1c2f374758a54501ac7b7db67659c6
Author: Dmytro Chyzhykov
Date: Tue Nov 6 12:43:57 2012 +0200

Adjusted javadocs

commit e4c16f78aef97905507870e0774eae09cb4f7f8e
Author: Dmytro Chyzhykov
Date: Tue Nov 6 11:45:35 2012 +0200

Fixed several typos

commit 7ec9deac30696ed2b258ff4d15cd95fff92b74e3
Author: Dmytro Chyzhykov
Date: Mon Nov 5 20:14:49 2012 +0200

Travis CI badge.

commit 89e2aa2c6f3a456e651ca132227a28e8f6f32af0
Merge: 26aab41 84128c9
Author: Dmytro Chyzhykov
Date: Mon Nov 5 20:10:32 2012 +0200

Merge branch 'collection-associations' of github.com:ffbit/jpa-2.0-preparation into collection-associations

commit 26aab411d1a88db4c0be5e1cb930c30383dc89cf
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:59:37 2012 +0200

Adjusted the EmployeeTest.

commit b1d46f924da1ef7983b37bb6cbf12c466e3f308f
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:29:48 2012 +0200

ParkingPlaceMockFactory

commit b678e83b1f543be2ecb117ace862d157ecbefede
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:23:26 2012 +0200

MockRepository was moved to the com.ffbit.jpa.moc package.

commit f17c64f7d7c42122a4ab9ee0c472221f56656525
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:14:11 2012 +0200

Fixed typos in the MockFactory class.

commit ea3f8d0ab0ff3b703c0c30297664ad2c9cfec970
Author: Dmytro Chyzhykov
Date: Mon Nov 5 14:06:49 2012 +0200

Ignoring .iml IDEA's files

commit 02219b5b9dcebd6c7b541fb0c310ef41335ee911
Author: Dmytro Chyzhykov
Date: Mon Nov 5 01:50:44 2012 +0200

MockFactories.

commit 74363931f8f12be7c04e87ad9382111d5eae8889
Author: Dmytro Chyzhykov
Date: Mon Nov 5 01:49:47 2012 +0200

Hibernate prepated statements and binded values in a log.

commit 82057ae3f0f1e9702730983621dc0c8047f4d0c0
Author: Dmytro Chyzhykov
Date: Sun Nov 4 17:48:01 2012 +0200

A new way of testing with autowired entity beans.

commit 44389f57ba46ddd69325d0af6c679ba9851e184e
Author: Dmytro Chyzhykov
Date: Sun Nov 4 16:55:27 2012 +0200

An ugly hack with EntityManger in sake of autowired persisted entity beans.

commit ff9e50a756d2763be7d5bb36ee9ad0200f893996
Author: Dmytro Chyzhykov
Date: Sun Nov 4 16:15:05 2012 +0200

Default lazy initialization fot Spring beans in tests.

commit e2f5fadb95b5fe5933f433422c948dc3249a7f4d
Author: Dmytro Chyzhykov
Date: Sun Nov 4 00:15:02 2012 +0200

Department test with annotation driven beans.

Note:
- they instantiate unexpectedly often.

commit af2ead316a477095cfb824273689aa563a61713b
Author: Dmytro Chyzhykov
Date: Sat Nov 3 23:52:14 2012 +0200

Added the cglib dependecy to process Spring @Configuration classes.

commit a31fb20593a425d711240d16fcce36f33bc4ae61
Author: Dmytro Chyzhykov
Date: Sat Nov 3 01:50:25 2012 +0200

Strong unidirectionally @ManyToOne association.

commit 84128c909379072d4bf3f64f3f585ffae8fcbf3d
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:59:37 2012 +0200

Adjusted the EmployeeTest.

commit 177aad72ae714016d1ebeded6ff6955826e0412b
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:29:48 2012 +0200

ParkingPlaceMockFactory

commit a92c74b0a9bccc3427f0cce19cc617bf9cf36dd4
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:23:26 2012 +0200

MockRepository was moved to the com.ffbit.jpa.moc package.

commit 6b443d4458333334bb4cf9b0a199a957e0b9910c
Author: Dmytro Chyzhykov
Date: Mon Nov 5 19:14:11 2012 +0200

Fixed typos in the MockFactory class.

commit abac9152f44406b77ace0caa82dfc73fcd2ad28a
Author: Dmytro Chyzhykov
Date: Mon Nov 5 14:06:49 2012 +0200

Ignoring .iml IDEA's files

commit 6fc7d3f76362568e6f2a07254822810cb7361e03
Author: Dmytro Chyzhykov
Date: Mon Nov 5 01:50:44 2012 +0200

MockFactories.

commit 18b0c0ef8ec8426acd218f4a088e4b85b2e22c2a
Author: Dmytro Chyzhykov
Date: Mon Nov 5 01:49:47 2012 +0200

Hibernate prepated statements and buinded values in a log.

commit e67df3bea9e589cbea637bd0e90b0d01f96754af
Author: Dmytro Chyzhykov
Date: Sun Nov 4 17:48:01 2012 +0200

A new way of testing with autowired entity beans.

commit 29d2a1eabe4dccdea35b74d90fec8e23ea70dc87
Author: Dmytro Chyzhykov
Date: Sun Nov 4 16:55:27 2012 +0200

An ugly hack with EntityManger in sake of autowired persisted entity beans.

commit 65b8661b09450ef926749d2c3a2c8485d56bee29
Author: Dmytro Chyzhykov
Date: Sun Nov 4 16:15:05 2012 +0200

Default lazy initialization fot Spring beans in tests.

commit ebc507dd24a94661b52547ccb8074625962e425e
Author: Dmytro Chyzhykov
Date: Sun Nov 4 00:15:02 2012 +0200

Department test with annotation driven beans.

Note:
- they instantiate unexpectedly often.

commit 306f69bbd63add3f64881aaa10ef3ef25b9da2b0
Author: Dmytro Chyzhykov
Date: Sat Nov 3 23:52:14 2012 +0200

Added the cglib dependecy to process Spring @Configuration classes.

commit 6d21c4b12ca05751af3fb09fab08c09e20140a8c
Merge: 2baf6b8 fee091e
Author: Dmytro Chyzhykov
Date: Sat Nov 3 21:09:55 2012 +0200

Merge branch 'master' into collection-associations

Conflicts:
pom.xml

commit 2baf6b8149d8715d7539888e5fe2ab33cca281ac
Author: Dmytro Chyzhykov
Date: Sat Nov 3 01:50:25 2012 +0200

Strong unidirectionally @ManyToOne association.

commit 07d0a42256c2c801fef6967bce672a852060eb6d
Author: Dmytro Chyzhykov
Date: Sat Nov 3 00:24:29 2012 +0200

Made the AbstractJpaTest abstract.

commit 89ceff8918aa06e5c155dfada5132ed26b53cf1d
Author: Dmytro Chyzhykov
Date: Sat Nov 3 00:20:57 2012 +0200

Created a test hierarchy.