openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <f...@alum.mit.edu>
Subject custom types
Date Thu, 16 Oct 2008 18:37:27 GMT
Though I do like the ease of use of Externalizer/Factory, I was just 
wondering if I could register my custom datatypes, so that they will be 
treated almost like native types, so I have less meta-data to maintain..

1)
	@Persistent
	@Externalizer("getIdLong")
	private TeamId ptTeamId;

2)
	@Basic // which ideally might be optional
	private TeamId ptTeamId;

Mime
View raw message