METHOD_0 ( ) { org . hibernate . IDENT_0 session = IDENT_1 . METHOD_1 ( ) ; com . baeldung . hibernate . IDENT_2 . model . IDENT_3 IDENT_4 = new com . baeldung . hibernate . IDENT_2 . model . METHOD_2 ( ) ; IDENT_4 . setId ( 1 ) ; session . save ( IDENT_4 ) ; com . baeldung . hibernate . IDENT_2 . model . METHOD_2 IDENT_5 = session . find ( com . baeldung . hibernate . IDENT_2 . model . METHOD_2 . class , 1 ) ; "<AssertPlaceHolder>" ; } find ( java . lang . String , java . util . Date ) { java . lang . IDENT_6 < com . baeldung . domain . IDENT_7 > IDENT_8 ; if ( ( IDENT_9 == null ) && ( IDENT_10 == null ) ) { IDENT_8 = IDENT_11 . METHOD_3 ( ) ; } else if ( IDENT_10 == null ) { IDENT_8 = IDENT_11 . METHOD_4 ( IDENT_9 ) ; } else { IDENT_8 = IDENT_11 . METHOD_5 ( IDENT_9 , java . time . IDENT_12 . from ( IDENT_10 . METHOD_6 ( ) ) ) ; } return IDENT_13 . METHOD_7 ( IDENT_8 ) ; }
org . junit . Assert . assertNotNull ( IDENT_5 )