在derby中,我应该使用APP模式还是MYDBNAME模式 [英] In derby should I be using the APP schema or the MYDBNAME schema

查看:78
本文介绍了在derby中,我应该使用APP模式还是MYDBNAME模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次创建一个derby数据库时,都会有几种模式,包括APP模式和具有相同USERNAME名称的模式。我应该使用哪种模式,APP还是USERNAME模式?如果将USERNAME模式设置为默认模式,为什么要引入APP模式。希望对于德比职业玩家来说这是一个快速的问题。 :)

Every time I create a derby database there are several schemas including the APP schema and a schema with the same name of the USERNAME. Which schema should i be using, the APP or the USERNAME schema? Why is the APP schema introduced if the USERNAME schema is set as the default schema. Hopefully this is a quick question for a derby pro. :)

推荐答案

您可以使用任何所需的架构。如果您未明确指定架构,则Derby会为您选择一个默认架构。 http://db.apache.org/derby/docs/10.8/ref /rrefsqlj32268.html 。我不确定为什么要获得与数据库同名的架构;您是否故意设置了该架构?

You can use any schema you want. If you don't explicitly specify a schema, Derby picks a default schema for you. http://db.apache.org/derby/docs/10.8/ref/rrefsqlj32268.html. I'm not sure why you are getting a schema with the same name as your database; are you setting that schema intentionally?

这篇关于在derby中,我应该使用APP模式还是MYDBNAME模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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