assuming that you mean with hibernate...

You can add a read-only property to your hbm mapping file with the column 
attribute set to the same name as the discriminator column.
e.g.

        
        
        

good  luck.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950196#3950196

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950196


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to