Commit Graph

30 Commits

Author SHA1 Message Date
Wynn Teo c957410b7e
Bael 7648 (#16176)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article

* added new module for get list entity in hibernate

* Move the code to hibernate-queries module

* simplify the code
2024-03-26 20:19:44 -05:00
Amit Pandey 2f5aaaee4c
[JAVA-31113] Upgrade projects to latest hibernate version (#15825) 2024-02-09 11:26:18 +01:00
Harry9656 8c3b770e4b JAVA-26765: Update persistence-modules/ibernate-queries to new mysql connector 2023-11-23 04:19:32 +01:00
Michael Olayemi 33fceb65a6 Using CriteriaDefinition Utility in Hibernate (#15128)
* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate
2023-11-08 18:46:19 +05:30
timis1 e7d1d56c47 JAVA-20163 Upgrade hibernate specific modules to JDK 11 (#13817)
* JAVA-20163 Migration hibernate-annotations

* JAVA-20163 Migrate hibernate-queries

* JAVA-20163 Migrating hibernate-mapping

* JAVA-20163 rename reserved keywords, update inheritance example

* JAVA-20163 Migrate hibernate-ogm module to the jdk 8 because hibernate-ogm doesn't support jakarta API

* JAVA-20163 Migrate hibernate-enterprise module

* JAVA-20163 Add update to HibernateExceptionUnitTest#whenQueryExecutedWithUnmappedEntity_thenMappingException

* JAVA-20163 Set explicit version for hibernate 6.1.7.Final in the hibernate-queries module

* JAVA-20163 Fix failed test with port that already exists (giving another port 8088)

* JAVA-20163 Fix other location after changing the port

* JAVA-20163 Remove duplicate Unit Test

---------

Co-authored-by: n <noreplay@yahoo.com>
Co-authored-by: Loredana Crusoveanu <lore.crusoveanu@gmail.com>
2023-05-12 19:06:06 +05:30
Grzegorz Musiał c20e6760b7 BAEL-5549: chore: Make the test manual since it requires testcontainers (#13804)
* BAEL-5549: chore: Make the test manual since it requires testcontainers

* BAEL-5549: doc: add run instructions
2023-04-12 09:33:46 +05:30
edizor c2c2a22d09 Update README.md
[skip ci]
2023-02-24 19:30:32 +08:00
Grzegorz Musiał a3f2e96feb BAEL-5549: feat: Hibernate Keywords - using keywords as table column names (#13355)
* BAEL-5549: feat: Hibernate Keywords - using keywords as table column names

* BAEL-5549: feat: Hibernate Keywords - using keywords as table column names

* BAEL-5549: feat: Hibernate Keywords - using keywords as table column names

* BAEL-5549: fix: Hibernate Keywords - alter the "where" value to make sure it is obvious that it is not the value but the @Column that is causing the error.

* BAEL-5549: doc: Hibernate Keywords - revert README changes
2023-02-21 07:10:59 +05:30
anuragkumawat 0e5e21f2ae Java 15439 PR to check failing test for modules fixed till date (#13150)
* JAVA-15439 Upgrade h2 database version - libraries-testing and deltaspike modules

* JAVA-15439 Fix for hibernate-queries,  hibernate-5,  java-jpa-2,  java-jpa-3 modules

* JAVA-15439 Fix for java-jpa, spring-jpa, spring-jpa-2 modules

* JAVA-15439 Revert changes for java-jpa-2 module

* JAVA-15439 Fix for core-java-persistence-2 and hibernate-exceptions modules

* JAVA-15439 Modules hibernate-mapping-2, read-only-transactions, log4j2, spring-data-eclipselink
2022-12-20 23:17:29 +05:30
panos-kakos eb17d0e2ed [JAVA-13966] Upgraded h2 database to 2.1.214 + clean up (#12711)
* [JAVA-13966] Upgraded h2 database to 2.1.214

* [JAVA-13966] fixed tests for libraries-apache-commons

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests JAVA-JPA MODULE

* [JAVA-13966] Made ninja submodule part of web-modules(parent)

* [JAVA-13966] Fixed naming convention for pmd

* [JAVA-13966] Moved tests of ninja-module to ManualTest category

* [JAVA-13966] Fix tests

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-20 00:17:05 +05:30
Haroon Khan 1efe19f383 [JAVA-11892] Logging clean up 2022-05-21 21:29:02 +01:00
Asjad J b05960761d Updated README.md
added link back to the article: https://www.baeldung.com/jpql-hql-criteria-query
2022-05-10 06:49:43 +05:00
Mayank Aggarwal 81b9558342 BAEL-5558: Sorting By Date in Java (#12132)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5558] Sorting By Date in Java

* BAEL-5558: Added and refactored tests name

* [BAEL-5558] Refactored the code.

* [BAEL-5558] Resolved PMD violation.

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-05-09 12:04:56 -07:00
kwoyke 7c2845bc79 Merge pull request #12185 from freelansam/JAVA-11792
JAVA-11792: Fix formatting of POMs
2022-05-09 11:04:26 +02:00
sampadawagde aed8f9100b JAVA-11792: Fix formatting of POMs 2022-05-08 16:36:25 +05:30
Mayank Aggarwal 1ce8895891 Bael 5438 (#12176)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5438] Added tests and entities for named queries and criteria queries

* [BAEL-5438] Removed unused sorting files

* [BAEL-5438] Ignored spring context test

* BAEL-5438 Indented with 4 spaces

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-05-07 14:22:36 +02:00
Mayank Aggarwal 7fb15d26dd [BAEL-5438] Added Criteria Queries & Hibernate Queries (#12127)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5438] Added tests and entities for named queries and criteria queries

* [BAEL-5438] Removed unused sorting files

* [BAEL-5438] Ignored spring context test

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-04-28 10:26:16 +02:00
etrandafir93 49b6155952 BAEL-5440: hql distinct queries (#12007)
* BAEL-5440: hql distinct queries

* BAEL-5440: formated the code and renamed test class
2022-04-17 14:23:51 +02:00
Asjad J 1e519eb47e Updated README.md
added link back to the article: https://www.baeldung.com/java-hql-distinct
2022-04-13 09:53:15 +05:00
anuragkumawat 054a3bcda4 JAVA-10083 Changes as per review comments 2022-03-17 15:56:59 +05:30
anuragkumawat 0f920f8c79 JAVA-10083 2022-03-12 10:38:34 +05:30
johnA1331 9fd7fb2c0f Update README.md 2022-02-23 19:45:17 +08:00
Vikas Rajput d28a3e642a Bael 4788: Completed Article - Hibernate addScalar() method (#11783)
* BAEL-4788: Added ScalarDemo Class for Hibernate addScalar Method article

* BAEL-4788: Added unit tests in the article

* BAEL-4788: removed redundant code

Co-authored-by: Vikas Ramsingh Rajput <vikas.rajput@crownconsult.com>
2022-02-19 17:06:34 +05:30
Krzysiek f22f99bf1f JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
sampadawagde fa112ee5f8 JAVA-5223: Fix formatting of POMs (Persistence Modules - Part 1) 2021-05-10 20:05:39 +05:30
Krzysztof Woyke df68287728 JAVA-3595: Use jmh version defined in the parent pom.xml 2021-03-21 23:06:03 +01:00
sampadawagde e136bfb7df JAVA-4214: Fix issue with geodb repo 2021-01-07 11:06:50 +05:30
amit.pandey 0716abb5e7 used properties defined in parent pom 2020-07-12 00:06:27 +05:30
sampadawagde 729d35140e JAVA-4: Renamed hibernate5-queries to hibernate-queries 2020-03-15 12:52:48 +05:30