readme
来自「PostgreSQL7.4.6 for Linux」· 代码 · 共 35 行
TXT
35 行
The CORBA example is the most complicated of the examples. Itaims to show how to use JDBC & Java2's ORB to access PostgreSQL.To compile:Type "make corba" to build the example. This will create a new directorystock which contains the stubs needed by the orb, and all required classesunder the example/corba directory.To run:NOTE: To run, you will need 3 shells on Win32 (under unix you can get awaywith two shells):1: Start the naming serviceUnix: tnameserv -ORBInitialPort 1050 &Win32: tnameserv -ORBInitialPort 10502: Start the StockServer java example.corba.StockServer 3 jdbc:postgresql:dbase user passwd -ORBInitialPort 1050Where: 3 Number of concurrent sessions to allow dbase The database (including a hostname if required) user The PostgreSQL user name passwd The password3: Using a fresh shell, run the client: java example.corba.StockClient -ORBInitialPort 1050
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?