If you mean that you'd like to create the database automatically that's easy. You can tell hibernate to do the job for you. See
for details on how to do that. Otoh, if you want to update your existing database to reflect changes you've made in the mappings and code, you'll have to check to see whether hibernate's automatic schema creation supports changes. I'm not sure about that, and if so, I suspect it's limited support. Probably better to add/remove columns yourself.