On Tue, Mar 24, 2009 at 1:18 AM, Alex <a...@liivid.com> wrote: > > I decided against JPA because you lose a lot of framework > functionality which it seems is unfortunately tied to the Mapper > classes. >
Mapper is meant primarily to deal with UI and validation, secondarily to deal with mapping to non-human sources (XML, JSON, and RDBMS). The hard-coded tie to JDBC, as Derek mentions, will be removed in Record/Field. > > > On Mar 23, 12:15 pm, saem <saemgh...@gmail.com> wrote: > > I suggest checking outhttp://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? > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---