Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] @BasicMap generated columns

The @BasicMap annotation with eclipselink 1.1 always generates a key column
with the same type as the value column.  Why?  Do I need to change my
annotation?

For example:
@BasicMap
private Map<String, Integer> aMap = ...
generates a key column of type int and a value column of type int.

@BasicMap
private Map<Integer, String> aMap = ...
generates a key column of type varchar and a value column of type varchar.

@BasicMap
private Map<String, Number> aMap = ...
generates a key column of type decimal(10,0) and a value column of type
decimal(10,0).

Thanks for any help,
Peter
-- 
View this message in context: http://www.nabble.com/%40BasicMap-generated-columns-tp22873004p22873004.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top