1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package com.example.proj;
|
| import java.sql.SQLException;
| import org.postgresql.pljava.annotation.Function;
|
| import java.util.logging.Logger;
|
| public class TestDo {
| @Function
| public static int doJava() throws SQLException {
| int sumResult = 3 + 7;
| Logger.getAnonymousLogger().info("Compiled SUm: " + sumResult);
| return 1;
| }
| }
|
|