[
https://jira.jboss.org/jira/browse/JBPM-1460?page=com.atlassian.jira.plug...
] 
Tom Baeyens commented on JBPM-1460:
-----------------------------------
[12:01] <tomb> porcherg: thanks.   what do you think about this:
https://jira.jboss.org/jira/browse/JBPM-1460
[12:01] <tomb> ?
[12:01] <tomb> can i remove class ObjectReference and use Descriptors instead ?
[12:02] <tomb> os do you see a downside of that
[12:02] <tomb> or do you see a downside of that
[12:04] <porcherg> tomb: i think it can be removed
[12:04] <tomb> ok
[12:04] <porcherg> maybe there will be a db performance impact
[12:04] <tomb> i'll do it in the next couple of days
[12:04] <tomb> should be minimal
[12:04] <tomb> or even for the better
[12:05] <porcherg> because the descriptor table will have a lot of entries
[12:05] <tomb> with an index on a long column that is not a problem
[12:05] <tomb> index is only maintained during deployment
[12:05] <porcherg> but this will but easier to understand
[12:05] <tomb> don't think so
[12:06] <tomb> as most ObjectReferences will have a descriptor memberfield anyway
[12:06] <porcherg>  but this will be easier to understand
[12:06] <tomb> so it removes an extra indirection
[12:06] <porcherg> i think having only one Descriptor is easier
[12:06] <tomb> ok
 remove ObjectReference ?
 ------------------------
                 Key: JBPM-1460
                 URL: 
https://jira.jboss.org/jira/browse/JBPM-1460
             Project: JBoss jBPM
          Issue Type: Task
      Security Level: Public(Everyone can see) 
          Components: PVM
            Reporter: Tom Baeyens
            Priority: Critical
 i think that ObjectReference can be replaced by Descriptor.  
 ObjectReference.expression can be replaced by an (to-be-created) ExpressionDescriptor
 ObjectReference.object can be replaced by a ProvidedObjectDescriptor
 WDYT ? 
-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: 
http://www.atlassian.com/software/jira