LANG/java7 java / iBatis 에서 여러 query 한번에 실행 트랜잭션 내에 포함 {call declare begin INSERT INTO T1 VALUES (1,2,'3'); INSERT INTO T2 VALUES (1,2,'3'); DELETE FROM T3 WHERE ID=#aaa#; sms.sp_test01@ORACLE1_sms(#aaa#); end } 2020. 4. 24. java / sendmail 1. java source import java.util.*; import javax.mail.*; import javax.mail.internet.*; /** * This class is used to send simple email. * @author javawithease */ public class SendSimpleEmail { final String senderEmailId = "aaa@bbb.com"; final String senderPassword = "****"; final String emailSMTPserver = "relayhost URL; public SendSimpleEmail(String receiverEmail, String subject, String messageText.. 2020. 4. 19. java / encodingTest public class encodingTest { public static void main(String[] args) { System.out.println("file.encoding=" + System.getProperty("file.encoding")); } } 2020. 4. 16. 이전 1 2 다음 반응형