History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RIFE-315
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Geert Bevin
Reporter: Maxim Grigoriev
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RIFE

Support annotation to specify meta data class

Created: 15/Nov/06 11:50 PM   Updated: 03/Apr/08 04:31 PM
Component/s: database
Affects Version/s: None
Fix Version/s: 1.6.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Scale: Bite-sized


 Description  « Hide
User doesn't have to name "ClassName + MetaData" classes. He can just write annotation in persistent class like @MetaData(com.some.MyMetaData)

 All   Comments   Work Log   Change History      Sort Order:
Geert Bevin [17/Mar/07 08:23 PM]
Hmmm this means however that all the bytecode of all the classes need to be analyzed for the presence of this annotation. This would make the loading time of classes very slow. You can get the same behavior by just creating the ClassNameMetaData class and merely extend com.some.MyMetaData without any other implementation. I actually think that is much cleaner and allows you to do the same things. What do you think?

Maxim Grigoriev [17/Mar/07 10:45 PM]
I don't think that it will take much time in production to parse all classes to find right classes.
Also i want to have clean package structure where MetaData classes are stored in another package but not in the same package with persistent beans. But i don't think it's critical issue anth the best way to have 2 options - old one and annotation.