是否可以在Eclipse JPA工具中使用Oracle数据库同义词 [英] Is it possible to use Oracle Database Synonyms in Eclipse JPA tool

查看:335
本文介绍了是否可以在Eclipse JPA工具中使用Oracle数据库同义词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用eclipse Dali JPA工具。当我尝试从数据库创建一个新的实体时,它只尝试拉列表。它没有列出同义词。在我的数据库中,全部是同义词。没有桌子如何获取此工具中的同义词列表?

解决方案

我看到你看到我的更早的回复。所以问题仍然存在:你在数据库的表文件夹下的数据源资源管理器中看到你的同义词?如果您没有看到它们(我怀疑是这种情况),问题是您的DTP数据库驱动程序;如果你看到它们,问题就在于Dali Entity Generation工具。



Dali是DTP驱动程序的怜悯。也就是说,Dali只看到DTP驱动程序报告的表。确定表的列表是否包括表的同义词。您可能会调查是否有可以执行所需操作的第三方DTP Oracle驱动程序。


Using eclipse Dali JPA tools. When I try to create a new Entity from Database, it only tries to pull the table list. It does not list the Synonyms. In my db, all are synonyms. No tables. How do I get the list of Synonyms in this tool?

解决方案

I see you saw my earlier response. So the question remains: Do you see your synonyms in the Data Source Explorer under your database's "Tables" folder? If you do not see them (which I suspect is the case), the problem is with your DTP database "driver"; if you do see them, the problem is with the Dali Entity Generation tool.

Dali is at the mercy of the DTP "driver". That is, Dali sees only the tables reported by the DTP driver. It is up to the driver to determine whether the list of tables includes synonyms that are for tables. You might investigate whether there is a third-party DTP Oracle driver that can do what you need.

这篇关于是否可以在Eclipse JPA工具中使用Oracle数据库同义词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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