Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modifying Jython Examples

Similar presentations


Presentation on theme: "Modifying Jython Examples"— Presentation transcript:

1 Modifying Jython Examples

2 SQL Insert in Jython

3

4

5 Modelled after the Jython “print” statement
root_1 = (PythonTree)adaptor.becomeRoot(new SQLInsert(INSERT, INSERT90, ((sqlinsert_stmt_scope)sqlinsert_stmt_stack.peek()).table, (java.util.List<String>)((sqlinsert_stmt_scope)sqlinsert_stmt_stack.peek()).attrs, (java.util.List<expr>)((sqlinsert_stmt_scope)sqlinsert_stmt_stack.peek()).exprs

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21 SQL Select in Jython

22 SQL Select in Jython (continued)

23 SQL Select in Jython (continued)

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41 ./runTest.sh

42 ./runTest.sh (continued)

43 ./runTest.sh (continued)

44 ./runTest.sh (continued)

45 ./runTest.sh (continued)


Download ppt "Modifying Jython Examples"

Similar presentations


Ads by Google