public class ComStmtPrepare extends Object
| 构造器和说明 |
|---|
ComStmtPrepare() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ServerPrepareResult |
read(PacketInputStream reader,
boolean eofDeprecated,
Protocol protocol,
String sql)
Read COM_PREPARE_RESULT.
|
static void |
send(PacketOutputStream pos,
String sql)
Send directly to socket the sql data.
|
public static void send(PacketOutputStream pos, String sql) throws IOException
pos - the writerIOException - if connection error occurpublic static ServerPrepareResult read(PacketInputStream reader, boolean eofDeprecated, Protocol protocol, String sql) throws IOException, SQLException
reader - inputStreameofDeprecated - are EOF_packet deprecatedIOException - if connection has errorSQLException - if server answer with error.Copyright © 2024 oceanbase.com. All rights reserved.