Re: Maven + HIbernate3 + Annotations, problems with SchemaExport
Chris Bredesen <[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <[email protected]> |
What version of Hibernate and what schema export task are you using? Are you delegating to the Ant task? Using the one in Eclipse / Hibernate Tools? Tell me what you're doing, how you have set it up and what you see and I'll see if I can help. Are the tables created in your database? -Chris Brian Weaver wrote: > I'm hoping someone on the list might be able to give me a clue on what > I'm doing wrong with Hibernate. What seems like a very simple problem > has been driving me insane for the last few days. No amount of > searching on google, reading the documentation, or scouring the FAQs > seem to have helped me much. > > My problem is fairly straightforward. I've created a few classes that > have javax.persistence annotations so that my all of my configuration > information is in a single class. This avoids me having to keep the > java source files in synchronization with the *.hbm.xml files. Now > that I have the annotated class files I want to use Hibernate's > SchemaExport tool to generate my initial SQL tables. The idea is for > me to do all the work using annotations, then generate my scheme, > clean it up a bit (indexing, etc), and then create the database. > > After fighting with Eclipse and maven I have the schema export tool > running, but it doesn't seem to process any of my annotated files. > > Any ideas? > > -- Weave >