Is it possible to construct an interface that will write to a variety of database schema's. In other words, you have an application that needs to talk to a database. The database may already be in existance (based on industry standards), but the schema may vary.
Can hibernate be used to construct a service to map the application to any database?
posted 12 years ago
Well, this works to limit (or at least, makes sense). It really depends on the flexibility of your tool, and its features. I'd say that Hibernate2 satisfies most requirements for legacy database mapping, Hibernate3 has much improved support and should be the most flexible ORM solution that exists.
This doesn't mean its perfect, but all sane data models can be easily mapped to object models. Sometimes it might be easier to fix the database once (and for all) than working around a particular problem for months.
Co-Author of <a href="http://www.manning.com/bauer" target="_blank" rel="nofollow">Hibernate in Action</a>
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads