jpa inheritance


i have jpa entities get another uses discriminator establish category combined (untested yet).



@entity(name="switches")
@discriminatorcolumn(name="type")
@discriminatorvalue(value="500")
public category dmsswitch extends switch implements serializable {}

@mappedsuperclass
public summary category switch implements iswitch {}

@entity(name="switch_accounts")
public category switchaccounts implements serializable {
@manytoone()
@joincolumn(name="switch_id")
dmsswitch _switch;
}


so switchaccounts category i bottom category switch since i don't know vigilant combined until runtime. i grasp this?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members