You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,10 @@ At the beginning, it was the repository with questions from Java interviews. Cur
58
58
-[One exception is thrown by catch block and another one is thrown from finally block, which exception will be thrown by method?](core.md#one-exception-is-thrown-by-catch-block-and-another-one-is-thrown-from-finally-block-which-exception-will-be-thrown-by-method)
59
59
-[Is it possible to serialize lambda expression?](core.md#is-it-possible-to-serialize-lambda-expression)
60
60
-[Why can Java Collections not directly store Primitives types?](core.md#why-can-java-collections-not-directly-store-primitives-types)
61
+
-[How is recursion implemented in Java?](core.md#how-is-recursion-implemented-in-java)
62
+
-[Is it needed to document unchecked exceptions?](core.md#is-it-needed-to-document-unchecked-exceptions)
63
+
-[Java Date classes?](core.md#java-date-classes)
64
+
-[Why Do Local Variables Used in Lambdas Have to Be Final or Effectively Final?](core.md#why-do-local-variables-used-in-lambdas-have-to-be-final-or-effectively-final)
61
65
62
66
## Collections
63
67
-[What is the complexity for get in Hashmap?](collections.md#what-is-the-complexity-for-get-in-hashmap)
@@ -147,6 +151,7 @@ At the beginning, it was the repository with questions from Java interviews. Cur
147
151
-[Hibernate best practice?](hibernate.md#hibernate-best-practice)
148
152
-[How to Define and Use a @NamedEntityGraph?](hibernate.md#how-to-define-and-use-a-namedentitygraph)
149
153
-[Possible issues with defining equals/hashcode on JPA entities?](hibernate.md#possible-issues-with-defining-equalshashcode-on-jpa-entities)
154
+
-[How lazy loading works in hibernate?](hibernate.md#how-lazy-loading-works-in-hibernate)
150
155
151
156
## Git
152
157
-[What is the difference between merge and rebase?](git.md#what-is-the-difference-between-merge-and-rebase)
@@ -240,6 +245,8 @@ At the beginning, it was the repository with questions from Java interviews. Cur
240
245
-[Best guidelines?](rest.md#best-guidelines)
241
246
-[Best practice for PATCH?](rest.md#best-practice-for-patch)
Copy file name to clipboardExpand all lines: core.md
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@
33
33
-[One exception is thrown by catch block and another one is thrown from finally block, which exception will be thrown by method?](#one-exception-is-thrown-by-catch-block-and-another-one-is-thrown-from-finally-block-which-exception-will-be-thrown-by-method)
34
34
-[Is it possible to serialize lambda expression?](#is-it-possible-to-serialize-lambda-expression)
35
35
-[Why can Java Collections not directly store Primitives types?](#why-can-java-collections-not-directly-store-primitives-types)
36
+
-[How is recursion implemented in Java?](#how-is-recursion-implemented-in-java)
37
+
-[Is it needed to document unchecked exceptions?](#is-it-needed-to-document-unchecked-exceptions)
38
+
-[Java Date classes?](#java-date-classes)
39
+
-[Why Do Local Variables Used in Lambdas Have to Be Final or Effectively Final?](#why-do-local-variables-used-in-lambdas-have-to-be-final-or-effectively-final)
Copy file name to clipboardExpand all lines: hibernate.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
-[Hibernate best practice?](#hibernate-best-practice)
9
9
-[How to Define and Use a @NamedEntityGraph?](#how-to-define-and-use-a-namedentitygraph)
10
10
-[Possible issues with defining equals/hashcode on JPA entities?](#possible-issues-with-defining-equalshashcode-on-jpa-entities)
11
+
-[How lazy loading works in hibernate?](#how-lazy-loading-works-in-hibernate)
11
12
12
13
## What is detached entity?
13
14
- A `new` instance of a persistent class which is not associated with a `Session`, has no representation in the database and no identifier value is considered ***transient*** by Hibernate.
@@ -67,4 +68,8 @@ Allowing to explicitly flush the Session gives finer control that may be require
0 commit comments