开发者

JDBC uses my username as Schema

开发者 https://www.devze.com 2023-02-19 18:24 出处:网络
I\'ve been trying to connect my application witha derby DB, containing the table ITEMS inside. The problem is when I try to insert an element in this table. When I hit compile/run I get this error (a

I've been trying to connect my application with a derby DB, containing the table ITEMS inside.

The problem is when I try to insert an element in this table. When I hit compile/run I get this error (among others):

 Schema 'DEVELOPER' does not exist

Developer is the username I use to manage this DB, and the schema is APP, but I noticed that when I try to change the username I give to the DriverManager.getConnection I get the same error, loo开发者_如何转开发king for a schema named as my username...

Is there a way to tell JDBC to look insite APP schema of the database? Thank you in advance


This seems to be answered here on the derby site.

0

精彩评论

暂无评论...
验证码 换一张
取 消