Netbeans Derby连接上的表视图不存在异常 [英] Table view does not exist exception on Netbeans Derby connection

查看:115
本文介绍了Netbeans Derby连接上的表视图不存在异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照此博客中的说明创建一个基本的嵌入式数据库应用程序.但是,尽管一遍又一遍地检查步骤并在网络上搜索问题,但仍然有一个例外:表视图blabla不存在.当我扩展驱动程序的应用程序架构时,表似乎存在. Netbeans版本是7.3.

I followed the instructions in this blog to create a basic embedded database application.However, although checking the steps over and over and searching for the problem on the web , I'm still getting the exception : Table view blabla does not exists. Table seems to exists when I expand my driver's app schema. Netbeans version is 7.3.

推荐答案

Derby发生表不存在错误的最常见原因是数据库位置混乱.通过Netbeans访问的数据库可能与您的应用程序访问的数据库不同.

The most common reason for a table-does-not-exist error with Derby is confusion over the location of the database. The database that you are accessing via Netbeans is probably different than the database that your application is accessing.

数据库的位置由JDBC连接URL控制,因此,如果您提供有关JDBC连接URL的一些详细信息,则可能会帮助其他人来帮助您.

The location of your database is controlled by the JDBC connection URL, so if you provide some details about your JDBC connection URL, that might help others to help you.

这篇关于Netbeans Derby连接上的表视图不存在异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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