How to access serialized object stored in oracle database

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

How to access serialized object stored in oracle database

Hi,

I am using activiti 6.0 and i am trying to access the data from act_hi_varinst table. Some of the data is stored in serializable format and this data is stored in another table act_ge_bytearray which is stored as blob.

How to access this serialized data using activit api's.i Tried using HistoricVariableInstance class by passing the processinstance id but i am not to fetch the data which is in serializable format.

 

List<HistoricVariableInstance> userHistoryProcInstance1 = historyService.createHistoricVariableInstanceQuery()
.processInstanceId("12345").list();

for (HistoricVariableInstance historyProcInst1 : userHistoryProcInstance1) {
String userProcInstId1 = historyProcInst1.getId();

String variableTypeName = historyProcInst1.getVariableTypeName();

}

 

Thanks

Sai