Is it possible, with the DR2 release of JBossDO, to map a One-To-Many relationship where the 'many' side is a normal Java type (String, Integer, etc.).
For example, I have a Project object that needs to persist a collection of email addresses (String objects). The schema is pretty standard -- a Project table that has most of the data, and a Project_email table that has email addresses, and a foreign key back to the project table.
I see that these relations can be mapped when both sides of the relation are 'enhanced' objects -- the problem that I see is that there's no way to name the table and column of the 'target' when we're not dealing with enhanced classes.
Thanks,
Matt
No, you need a wrapper class, say Email, to do that.
alex