/**
* @param args
*/
public static void main(String[] args)
{
OracleTempService service = context.getBean(OracleTempService.class);
for(FirstEntity fe: service.getFirstEntities())
{
System.out.println(fe.getProperty());
}
service.deleteFirstEntityById((byte) 1);
SecondEntity secondEntity = new SecondEntity();
secondEntity.setProperty("TestProperty");
secondEntity.setPk((short)22);
service.persistSecondEntity(secondEntity);
}