I suggest checking out http://www.liquibase.org/

It's the best open source database change management tool I've come
across to date.

On Mar 20, 11:18 pm, Derek Chen-Becker <dchenbec...@gmail.com> wrote:
> Well. I think it depends. I know that if you use the hibernate provider that
> you can set a property to automatically create/update the schema when it
> runs. You can look at the JPA Demo site in the Lift repo:
>
> http://github.com/dpp/liftweb/blob/794cac5abf6b1ae5502f6321847f6186fc...
>
> The relevant property is "hibernate.hbm2ddl.auto"
>
> I haven't used TopLink but it appears to have a subset of this
> functionality:
>
> http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/...
>
> The caveat is that with Hibernate it can alter existing tables to match
> changes in your entities, but toplink appears to do a drop-then-add, which
> kind of sucks. I haven't looked at JPOX or any other JPA impls.
>
> Derek
>
> On Fri, Mar 20, 2009 at 7:13 PM, Alex <a...@liivid.com> wrote:
>
> > I'm going through the recently announced book and JPA looks pretty
> > attractive.  There is no mention of schema management - e.g. creating
> > and modifying tables.  Is there any or is that all done manually?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to