inserts test administrator to database concode_field_sep Logger logger concode_elem_sep String PERSISTENCE_UNIT_NAME concode_elem_sep EntityManager em concode_elem_sep LoginController login concode_elem_sep EntityManagerFactory emf concode_field_sep void removeTestData concode_elem_sep void checkLogin
void function ( ) { logger . debug ( "srini_string" ) ; emf = Persistence . createEntityManagerFactory ( PERSISTENCE_UNIT_NAME ) ; em = emf . createEntityManager ( ) ; em . getTransaction ( ) . begin ( ) ; em . persist ( new UserBean ( "srini_string" , MD5 . makeMD5 ( "srini_string" ) ) ) ; em . getTransaction ( ) . commit ( ) ; }