Hi Peter,
Take a look at the Hibernate Tools project. We are using it to do reverse
engineering, so based from tables in our oracle database we are generating
hibernate mappingfiles, pojos, Dao Interfaces, Dao Implementations, Dao Test
Classes (simple tests), ApplicationContext file for our persistence beans
(We are using Spring framework) etc... but this also works in the opposite
direction so you should be able to generate the database schema from your
pojos using annotation..

Hopes it helps,
Jacob






Peter Beshai-2 wrote:
> 
> Hi everyone,
> Is there any way to have Hibernate auto generate the schema if it hasn't
> already been defined? (The entities are POJOs with annotations).
> 
> Is this done through the tapestry-hibernate package? Through the
> hibernate.cfg.xml? Maven?
> 
> Sorry if this is off topic. If anyone can point me in the right direction,
> that would be great.
> 
> 
> 
> 
> -- 
> Peter Beshai
> 
> CS 134 Tutor
> University of Waterloo
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5---tapestry-hibernate---Auto-generate-schema-tables--tf4137646.html#a11770206
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to