Re: Pb with Spring & Metadat
| От | Markus Schaber |
|---|---|
| Тема | Re: Pb with Spring & Metadat |
| Дата | |
| Msg-id | 43F09D79.9010500@logix-tt.com обсуждение исходный текст |
| Ответ на | Re: Pb with Spring & Metadat (Kris Jurka <books@ejurka.com>) |
| Список | pgsql-jdbc |
Hi, Kris, Kris Jurka wrote: >> TNO wrote: >> >>> My Eclipse classpath show me 8.1 driver... >> >> >> System.err.println(org.postgresql.Driver.getVersion()); > > > or better yet, > > System.err.println(org.postgresql.util.PSQLDriverVersion.main()); > > This will print out where it has found the driver as well as what > version it has found. Oh, great tool. However, it does not work this way. You have to call org.postgresql.util.PSQLDriverVersion.main(args) with args being a String array, and don't wrap it into System.err.println, as it returns void. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org
В списке pgsql-jdbc по дате отправления: