简体   繁体   English

Heroku Postgres:Eclipse入门

[英]Heroku Postgres: Getting started in Eclipse

I am new to Heroku and trying to set up a simple trial application. 我是Heroku新手,正在尝试建立一个简单的试用应用程序。 I have installed the Eclipse Heroku plugin and have a simple Hello Heroku application running on Eclipse IDE for Java EE Developers (Juno edition) . 我已经安装了Eclipse Heroku插件,并在Eclipse IDE上为Java EE Developers(Juno版)运行了一个简单的Hello Heroku应用程序。

I'd like to now incorporate some simple database functionality, probably with Heroku PostGres . 我现在想结合一些简单的数据库功能,可能是Heroku PostGres The trouble is that all of the information I'm finding about how to do this is via the command line. 麻烦的是,我找到的有关执行此操作的所有信息都是通过命令行。

My question is, is there a way to incorporate PostGres via the Eclipse IDE? 我的问题是,有没有办法通过Eclipse IDE合并PostGres How would I do that? 我该怎么做?

Thank you in advance! 先感谢您!

You should be able to provision a database through http://postgres.heroku.com directly or through http://dashboard.heroku.com . 您应该能够直接通过http://postgres.heroku.com或通过http://dashboard.heroku.com设置数据库。 Once you've provisioned it you can get your configuration for the database by selecting the database from https://postgres.heroku.com/databases . 设置好之后,您可以通过从https://postgres.heroku.com/databases选择数据库来获取数据库的配置。 Once you've selected it; 选择之后; it should display all of your connection information. 它应该显示您的所有连接信息。 You can then go into the data explorer view within eclipse and create a new connection to this database. 然后,您可以进入eclipse中的数据浏览器视图,并创建一个与此数据库的新连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM