是否支持使用JPA进行架构迁移? [英] Support for schema migrations with JPA?

查看:110
本文介绍了是否支持使用JPA进行架构迁移?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在简单地研究JPA,我想知道数据库模式迁移的处理方式如何,并与您创建的类保持一致.

I've been briefly looking at JPA recently, and I was wondering what the deal is with database schema migrations and staying lined up with the classes you've created.

JPA是否支持这些东西?公用事业?最佳实践?

Is there support in JPA for this stuff? Utilities? Best Practises?

干杯!

推荐答案

我将不依赖JPA提供程序来更新数据库架构. 检查 Liquibase 中的一种好的方法.

I won't rely on JPA providers to update the database schema. Check Liquibase for one of the good approaches.

这篇关于是否支持使用JPA进行架构迁移?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆