Insert into db2Table from an other table and own values

I have table1 and table2. I want to insert column a and column b from table1 into table2 and my own values (value1 and value2). The columns a and b are very big and that's why I don't want to import them into my java application. In addition I need a where condition for the a and b select. How should my preparedStatement looks like? I thought something like follows: