我正在使用带有ucanaccess的jdbc ...当我连接到数据库时,有一个Ucanaccess没有找到的表...我在NetBeans的调试模式中看到了...
因此,当我在该表上尝试交易时,我得到:
UCAExc ::: 4.0.3用户缺少权限或找不到对象[我的表名]
我猜其他一切都很完美,因为当我在另一张桌子上做df<-structure(list(id = c(4L, 6L, 14L, 15L, 16L, 20L, 26L, 31L, 32L,
39L, 53L, 65L), name = c("yougurt", "coffee", "cream cheese",
"meat spreads", "butter", "whole milk", "condensed milk", "curd",
"flour", "rolls", "sugar", "soda")), .Names = c("id", "name"),
class = "data.frame", row.names = c(NA, -12L))
input<-structure(list(lhs = c("32,39,6", "39,6,65", "14,16,26", "16,20,4",
"16,26,33", "53"), rhs = c(65L, 32L, 15L, 26L, 4L, 31L)),
.Names = c("lhs", "rhs"), class = "data.frame", row.names = c(NA, -6L))
#new left hand side
newlhs<-sapply(as.character(input$lhs), function(x){
strs<-unlist(strsplit(x, ","))
f<-factor(strs, levels=df$id, labels=df$name)
paste(f, collapse = ", ")
})
#new right hand side
newrhs<-sapply(as.character(input$rhs), function(x){
strs<-unlist(strsplit(x, ","))
f<-factor(strs, levels=df$id, labels=df$name)
paste(f, collapse = ", ")
})
answer<-data.frame(newlhs, newrhs)
row.names(answer)<-NULL #remove rownames
时,它起作用了......
我正在使用:
更新
使用console.bat打开数据库时(顺便说一句,此文件位于UcanAccess下载文件夹中)我收到了以下警告/错误:
警告:请参阅第9093页的使用地图,但页面类型为1
无法加载过程Query4用户缺少未找到的权限或对象:[我的表名]
无法解析表[我的表名]