An aside, is there a standard JPA way to encode 'custom' types, or externalizer/factory type setups?

Fernando Padilla wrote:
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;

  • custom types Fernando Padilla
    • Re: custom types Fernando Padilla

Reply via email to