java - Creating and extending JPA entity classes at runtime from config file -


i have 3 entity classes , more stuff. want create tool in user can create new entity classes and/or add additional fields existing 3 entity classes including jpa annotations (eg. extend them). tool should use kind of textual format (like xml) , generate classes config file.

is jaxb right tool this?

since i'm new point me tutorial this? note not want serialize objects create new class xml file.

if tool can use xml jaxb choice generate java classes. jaxb can convert xml schema , generate classes. here useful article understand how jaxb works , may understand how can solve problem:

http://www.javaworld.com/javaworld/jw-06-2006/jw-0626-jaxb.html


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -