Commit Graph

21 Commits

Author SHA1 Message Date
sasdroid e6360db343 Add code for article "Mapping LOB Data in Hibernate" (#3778)
* Add lob example

* Migrate the XML Based Configuration to Java Based Configuration
2018-03-12 18:18:55 +01:00
Marcos Lopez Gonzalez 2399b4d817 BAEL-1509 jpa attribute converters (#3599)
* fix converter

* fix converter

* fix converter

* fix converter + more tests
2018-02-24 08:15:52 +01:00
Marcos 796277bdaa fix assert 2018-02-04 14:06:11 +01:00
Marcos 0bf3102188 code cleanup 2018-02-03 19:25:48 +01:00
Marcos ecf1cae3f7 JPA Attribute Converters 2018-02-03 19:01:20 +01:00
Grzegorz Piwowarek 710c25fb01
Ocheja fix (#3572)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name

* Implement File Manager app to demonstrate Polymorphism. Develop unit tests for Polymorphism article code

* Add examples for static polymorphism

* Change sysout statments to slf4j log info statements

* Add assertions and expected errors check on Test

* Add assertions and expected errors check on Test

* Correct compile time error of symbol not found

* Removed commented out non-compiling test.

* Replace string concatenations with String.format

* Replace string concatenations with String.format

* Remove verbose file info descriptor and replace with simpler one

* Add example codes for Hibernate Interceptors article
Write tests for session-scoped and sessionFactory-scoped interceptors

* Implement serializable on customInterceptorImpl

* Implement examples for spring data with spring security integration

* Remove webapp example implementations; too extensive
2018-02-03 12:37:28 +01:00
Jose Carvajal 23f7f658e4 BAEL-399 A Guide to Multitenancy in Hibernate 5 (#3323)
* BAEL-399: A Guide to Multitenancy in Hibernate 5

* Removed unused properties in profile 2

* Changes after code review
2017-12-31 17:28:27 -06:00
ocheja c52b2a4ff3 BAEL-1440 (#3320)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name

* Implement File Manager app to demonstrate Polymorphism. Develop unit tests for Polymorphism article code

* Add examples for static polymorphism

* Change sysout statments to slf4j log info statements

* Add assertions and expected errors check on Test

* Add assertions and expected errors check on Test

* Correct compile time error of symbol not found

* Removed commented out non-compiling test.

* Replace string concatenations with String.format

* Replace string concatenations with String.format

* Remove verbose file info descriptor and replace with simpler one

* Add example codes for Hibernate Interceptors article
Write tests for session-scoped and sessionFactory-scoped interceptors
2017-12-29 19:51:24 +01:00
Jose Carvajal 85f12cd254 BAEL-399: A Guide to Multitenancy in Hibernate 5 (#3235)
* BAEL-399: A Guide to Multitenancy in Hibernate 5

* Removed unused properties in profile 2
2017-12-23 17:23:21 -06:00
YasinBhojawala f9f5a82cf4 BAEL-1334 Guide to Hibernate Spatial (#3211)
* BAEL-1334 Guide to Hibernate Spatial

* BAEL-1334 Guide to Hibernate Spatial

Moving the files to hibernate5 from libraries

* Reverting the pom file

* BAEL-1334 Guide to Hibernate Spatial

* BAEL-1334 Guide to Hibernate Spatial

Moving the files to hibernate5 from libraries

* Reverting the pom file

* BAEL-1334 Guide to Hibernate Spatial

Improved assertions

* Add examples related to circle
2017-12-10 09:17:49 +01:00
Yasin c01c2266b8 BAEL-1334: Guide to Hibernate Spatial (#3183)
* BAEL-1334 Guide to Hibernate Spatial

* BAEL-1334 Guide to Hibernate Spatial

Moving the files to hibernate5 from libraries

* Reverting the pom file

* BAEL-1334 Guide to Hibernate Spatial

* BAEL-1334 Guide to Hibernate Spatial

Moving the files to hibernate5 from libraries

* Reverting the pom file

* BAEL-1334 Guide to Hibernate Spatial

Improved assertions
2017-12-03 12:21:42 +01:00
Yasin a94f98b631 BAEL-1334 Guide to Hibernate Spatial (#3139)
* BAEL-1334 Guide to Hibernate Spatial

* BAEL-1334 Guide to Hibernate Spatial

Moving the files to hibernate5 from libraries

* Reverting the pom file
2017-12-01 09:40:03 +01:00
Loredana Crusoveanu b567fba474 Bael 1337 (#3072)
* inheritance ex

* add more ex and tests, formatting
2017-11-22 13:22:59 +01:00
Loredana Crusoveanu c9aaa0d993 hibernate identifiers examples (#2977)
* hibernate identifiers examples

* fix conflict

* change to longstream

* change to format
2017-11-10 12:33:52 +01:00
Sergey Petunin bc899ef38f BAEL-1221: Added README.md with build and run instructions (#2947)
* BAEL-1221: Added README.md with build and run instructions

* BAEL-1281: Hibernate - Mapping Date/Time values (java.util and java.time)
2017-11-04 05:50:01 -05:00
Сергей Петунин 7ee0ac104d BAEL-1280: Fixed sample code issues 2017-10-29 14:06:46 +01:00
Сергей Петунин 568198fed9 BAEL-1280: Mapping Dynamic Values (@Formula, @Filter, @Any, @Where) 2017-10-29 11:43:19 +01:00
Parth Joshi 5b0302524f Added DAO for Supplier (#1950)
* First commit for Hibernate 5 Multitenancy tutorial

* Changes to fix the code.

* Added hibernate begin transaction code.

* Changes to solve the multitenancy issue.

* Changes to integrate h2

* Changing configs to solve the error

* Changes to solve h2 error...

* Changes to fix H2 error.

* Cleaned POM.xml and changed entity name

* Changes table name to supplier

* Removed MySql Dep from pom.xml.

* Changes as per comment in the PR...

* Removed try-catch from test functions.

* Removing the hibernate xml config.

* Changed the formatting as per the formatter.

* Clean up after merge.

* # WARNING: head commit changed in the meantime

Merge remote-tracking branch 'upstream/master' into
hibernate5-multitenancy

Conflicts:
	hibernate5/pom.xml
	pom.xml

* Introduced Supplier DAO

* shifting hibernate properties to src/test/resouces

* removed the old test.

* Filled up the stubs in the DAO.
2017-06-02 22:18:15 -05:00
Parth Joshi efd2c2bd34 Hibernate5 multitenancy changing to hibernate.properties config file. (#1881)
* First commit for Hibernate 5 Multitenancy tutorial

* Changes to fix the code.

* Added hibernate begin transaction code.

* Changes to solve the multitenancy issue.

* Changes to integrate h2

* Changing configs to solve the error

* Changes to solve h2 error...

* Changes to fix H2 error.

* Cleaned POM.xml and changed entity name

* Changes table name to supplier

* Removed MySql Dep from pom.xml.

* Changes as per comment in the PR...

* Removed try-catch from test functions.

* Removing the hibernate xml config.

* Changed the formatting as per the formatter.

* Clean up after merge.

* # WARNING: head commit changed in the meantime

Merge remote-tracking branch 'upstream/master' into
hibernate5-multitenancy

Conflicts:
	hibernate5/pom.xml
	pom.xml
2017-05-28 11:43:31 -05:00
Grzegorz Piwowarek 05807aebed Hibernate5 fix (#1774)
* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java

* Fix hibernate tests

* Exclude hibernate5

* Fix settest

* XStream refactor

* Refactor

* Refactor
2017-05-03 18:38:08 +02:00
Parth Joshi 76673a33f1 Hibernate 5 Multitenancy tutorial (#1150)
* First commit for Hibernate 5 Multitenancy tutorial

* Changes to fix the code.

* Added hibernate begin transaction code.

* Changes to solve the multitenancy issue.

* Changes to integrate h2

* Changing configs to solve the error

* Changes to solve h2 error...

* Changes to fix H2 error.

* Cleaned POM.xml and changed entity name

* Changes table name to supplier

* Removed MySql Dep from pom.xml.

* Changes as per comment in the PR...
2017-04-20 07:55:34 -05:00