Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var connection = Jdbc.getConnection("jdbc:mysql://...", "...", "...");
- var stmt = connection.createStatement().execute("INSERT INTO test (Nam, Fam, Rost, HB) values ('Иван','Петрович', '200', '2000-02-02')");
- var stmt = connection.createStatement()
- .execute("INSERT INTO
- test (Nam, Fam, Rost, HB)
- values (N'Иван',N'Петрович', '200', '2000-02-02')");
- jdbc:mysql://host:port/instance?useUnicode=true&characterEncoding=UTF-8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement