Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Save() method not save the data into database

User_BE259Apr 26 2023

these are the blow code that works on the UAT environment but does not work in the prod env.

the save method of JPA does not save the data on UAT and NOT in PROD and does not throw any exceptions and errors in logs.

please help me with what I need to do.

@Transactional
public void saveRequest(Date startTime) {

ReqRespEntity entity = new ReqRespEntity();

entity.setUniqCd(ExtReqRespUniqCdType.ACTIVITY_ID);
entity.setRespTs(new Date());
entity.setCrtTs(startTime);
reqRespPersistance.save(entity);
}

Comments
Post Details
Added on Apr 26 2023
0 comments
185 views