Commit Graph

22 Commits

Author SHA1 Message Date
MeenaGawande 559d47a612 [BAEL-4958] JPA Unique Constraint (#10793)
* [BAEL-4958] JPA Unique Constraint

Defining Unique Constraints in JPA

* [BAEL-4958] JPA Unique Constraint

Changed the field name from pAddress to streetAddress

* [BAEL-4958] JPA Unique Constraint

Resolved conflicts

* [BAEL-4958] JPA Unique Constraint

Getters and setters are changed for address field

* [BAEL-4958] JPA Unique Constraint

Fixed Junits

* [BAEL-4958] JPA Unique Constraint

Fixed id field

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-06-01 21:52:34 -05:00
Maciej Główka 27c53fd6de BAEL-4887: fetching multiple entities in JPA query (#10803) 2021-05-25 12:48:22 -07:00
Mladen Savic 754a18a728 return auto generated ids 2021-04-27 12:34:05 +02:00
Krzysztof Woyke e22ad64847 JAVA-5083: Fix unit tests in java-jpa-3 module 2021-04-01 23:31:16 +02:00
Krzysztof Woyke 273ffd5aba JAVA-3578: Ignore failing unit test in the java-jpa-3 2021-03-31 23:30:49 +02:00
Emmanuel Yasa eddab4c557 [BAEL-4601] Revision: Simplifies assertions 2021-01-14 01:36:35 +08:00
Emmanuel Yasa 6daa38007c [BAEL-4601] How to convert a Hibernate proxy to a real entity object
* Adds Domain Models
* Adds Integration Tests
2021-01-05 01:35:53 +08:00
Emmanuel Yasa bc281bde2f [BAEL-4056] Guide to MultipleBagFetchException (#10304)
* Removes DummyEntity
* Uses Artist Entity instead of DummyEntity
2020-12-04 18:44:40 -08:00
Emmanuel Yasa cd6f187e0a [BAEL-4056] Guide to MultipleBagFetchException (#10294)
* Adds Domain Models
* Adds Integration Tests
2020-11-30 23:22:46 -08:00
Mateusz Szablak ad30d29ed6 BAEL-4723 Defining Indexes in JPA #2 (#10254)
* BAEL-4723 Defining Indexes in JPA

* unit -> integration test

* whitespaces fix

* tab to space

Co-authored-by: mateusz.szablak <mateusz.szablak@accenture.com>
2020-11-15 21:26:38 -08:00
Mateusz Szablak 9bce552d6d BAEL-4723 Defining Indexes in JPA (#10247)
* BAEL-4723 Defining Indexes in JPA

* unit -> integration test

Co-authored-by: mateusz.szablak <mateusz.szablak@accenture.com>
2020-11-13 10:25:15 -08:00
Jonathan Cook 0baaeb3f98 Merge pull request #10216 from emyasa/BAEL-4643
BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
2020-11-11 11:46:00 +01:00
Emmanuel Yasa bc501e36b3 BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
* Adds a test to OrphanRemovalIntegrationTest that expects a PersistenceException
2020-11-04 23:42:20 +08:00
Emmanuel Yasa 3139be9468 BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
* Reformats code using the provided intelliJ-formatter.xml
2020-11-04 23:42:20 +08:00
Emmanuel Yasa 06c800c526 BAEL-4643: JPA CascadeType.REMOVE vs orphanRemoval
* Defines the Domain: ShipmentInfo, LineItem and OrderRequest entity
* Adds CascadeTypeRemoveIntegrationTest
* Adds OrphanRemovalIntegrationTest
2020-11-04 23:42:20 +08:00
joe 3686fa1cfb [BAEL-4635] Fixed tests and formatted per feedback 2020-11-02 22:05:46 -05:00
joe 400cbb845d [BAEL-4635] Tests for JPA Transient Annotation tutorial 2020-10-29 20:17:31 -04:00
sampadawagde 0c8f7f6716 Fix for String equals check 2020-08-28 15:39:15 +05:30
andrebrowne 613c625199 Merge branch 'BAEL-4077' 2020-08-08 21:06:36 -04:00
andrebrowne d50a831972 BAEL-4077 Fixup styling 2020-08-08 21:05:32 -04:00
andrebrowne eadd24ad5d Simplify hashcode example 2020-07-28 18:03:57 -04:00
andrebrowne 9e03b89e69 BAEL-4007 Add jpa data equality unit test specs 2020-07-15 20:53:23 -04:00