generate enum from db at runtime

Youngho Cho <[email protected]> Wed, 8 Oct 2014 15:32:10 +0900
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <CAFD_z_8KdLjGAkCtzukNCazq21jOpRJU7QmkLjHB=imDkrko3g@mail.gmail.com>
Hello Thomas,

Can torque generate enum class from database ?

For example,

following turbine-fucrum-torque security model

http://svn.apache.org/viewvc/turbine/fulcrum/trunk/security/torque/schema/fulcrum-turbine-schema.xml?revision=1575232&view=markup

has Role, Permission table.

And It can be added during system running.

When those table column added/removed,
I hope to running maven-plugin or ant target etc.. to generate
corresponding enum class.

Is it possible senario ?


Thanks,

Youngho