JPA: mapping and persistence

[code language=”java”]
SomeActivityTO someActivityTO = someHandler.getInstance().getParsedUserActivityObject(json, someUtils.getPrivateCustomerFromSession());
LookupUtility.lookup(someLocal.class).saveInitialLogInActivity(someActivityTO);

[/code]

in above code, 1st line is responsible for mapping, and second line for persistance

Leave a Reply

Your email address will not be published. Required fields are marked *