GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes IndexColumn annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "IndexColumn annotation" Watch "IndexColumn annotation" New topic
Author

IndexColumn annotation

Jason Ferguson
Ranch Hand

Joined: Sep 16, 2007
Posts: 47
This may be a stupid question, but I'll ask anyways:

If I have the following annotations:



Does this imply that the table the class is mapped to has a column named "ITEM_INDEX"?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

It means that that column should be in the Item table.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
GeeCON Prague 2014
 
subject: IndexColumn annotation