|
52 | 52 | - ManyToMany
|
53 | 53 |
|
54 | 54 | 7. __`get()` v/s `load()`__<br>
|
55 | | - <table> |
| 55 | + <tablealign="center"> |
56 | 56 | <tr>
|
57 | 57 | <th><samp>get()</samp></th>
|
58 | 58 | <td><samp>load()</samp></th>
|
|
175 | 175 | > In this state, the persistent object still exists after the closure of the active session. In other words, the changes to the pojo object will not be reflected in the database and vice-versa.
|
176 | 176 | - Removed State
|
177 | 177 | > When the persistent object is deleted from the database, it is passed to the session’s `delete(obj)` method. At this state, java instance exists but any changes made to the object are not saved to the database.
|
| 178 | + |
178 | 179 | <br>
|
179 | | - <img src="/objectLifeCycle.jpeg" alt="Object LifeCycle in Hibernate" align="center"> |
| 180 | + <img src="/objectLifeCycle.jpeg" alt="Object LifeCycle in Hibernate" style="align: center;"> |
180 | 181 |
|
181 | 182 | 22. __Different annotations used in `@ManyToMany` Association__<br>
|
182 | 183 | - `@JoinTable`
|
|
257 | 258 | ## Spring FAQs
|
258 | 259 |
|
259 | 260 | 1. __BeanFactory v/s ApplicationContext__<br>
|
260 | | - <table> |
| 261 | + <table align="center"> |
261 | 262 | <tr>
|
262 | 263 | <th>BeanFactory</th>
|
263 | 264 | <td>ApplicationContext</th>
|
|
0 commit comments