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 hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?