Entity relationship Galaxy - Spacesector mapped automatically?

Asked by Tiefflieger

Prior to this, I deleted all existing DB-Tables and did a (local) re-deploy with NetBeans 6.5
At ejb.cassiopeia.galaxy.dao.Galaxy there's the following line:

private Map<Vector, SpaceSector> spaceSectors;

NetBeans gives me an error badge at this line saying "Basic attributes can only be of the follwing types: [...]"
Nevertheless, cassiopeia seems to be compiled and deployed just fine. It creates a DB-Table Galaxy_Spacesector for a mapping of these, even though there's nowhere a @OneToMany etc. annotation that tells Java where to map it (at least I haven't found any).

Are these annotations arbitrary or is their absence the cause for the error NetBeans reports?

Question information

Language:
English Edit question
Status:
Open
For:
Cassiopeia Edit question
Assignee:
chris_schrader Edit question
Last query:
Last reply:
Whiteboard:
This is a test for the whiteboard to this question :)
Revision history for this message
Tiefflieger (tiefflieger) said :
#1

I redesigned the relationship between Galaxy and Spacesector. Question is if that's really a good idea to do it this way...

Can you help with this problem?

Provide an answer of your own, or ask Tiefflieger for more information if necessary.

To post a message you must log in.