| @Preference(value="data") as value for other Annotation [message #800116] |
Thu, 16 February 2012 13:07  |
Filipp A. Messages: 49 Registered: February 2010 |
Member |
|
|
Is it possible on some way to get value from preferences and put it as value for an other annotations ?
something like this -
@Inject
@GeminiPersistenceUnit(unitName="puTest", properties = {
@GeminiPersistenceProperty(name=PersistenceUnitProperties.JDBC_URL, valuePref=@Preference(value="jdbc_url"))
})
EntityManagerFactory emf;
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03135 seconds