| От | Andreas |
|---|---|
| Тема | Hello World |
| Дата | |
| Msg-id | 456295E2.3010209@gmx.net обсуждение исходный текст |
| Ответы |
Re: Hello World
|
| Список | pgsql-jdbc |
Hi, first of all I'll have to confess I don't know next to nothing at all about JAVA, yet. On the other hand I'm not exactly new to programming nor PostgreSQL either. Is there a "Hello World" level sample for jdbc with PG? Lets suppose I allready have a running PG with a db db_test that has a few tables among which there is tbl_test in schema s. The db-server might be 192.168.0.100. User could be "user1" with password "pw1". What would be minimally needed to connect to db_test and read the content of tbl_test to the console and logg off from PG. I'd prefer a complete sample code that could be dumped through javac.
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера