Skip to content

Commit 6e9e776

Browse files
committed
Updated readme.md as per #30
1 parent eef8963 commit 6e9e776

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Initially project was started as a fork of [open-replicator](https://code.google
1717

1818
Get the latest JAR(s) from [here](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.github.shyiko%22%20AND%20a%3A%22mysql-binlog-connector-java%22). Alternatively you can include following Maven dependency (available through Maven Central):
1919

20-
```
20+
```xml
2121
<dependency>
2222
<groupId>com.github.shyiko</groupId>
2323
<artifactId>mysql-binlog-connector-java</artifactId>
@@ -127,6 +127,11 @@ mBeanServer.registerMBean(stats, statsObjectName);
127127
- data of numeric types (tinyint, etc) always returned signed(!) regardless of whether column definition includes "unsigned" keyword or not
128128
- data of \*text/\*blob types always returned as a byte array
129129

130+
## Frequently Asked Questions
131+
132+
Q: How do I get column names of a table?
133+
A: The easiest way is to use JDBC (as described [here](https://github.com/shyiko/mysql-binlog-connector-java/issues/24#issuecomment-43747417)). Binary log itself does not contain that piece of information.
134+
130135
## Documentation
131136

132137
For the insight into the internals of MySQL look [here](https://dev.mysql.com/doc/internals/en/index.html). [MySQL Client/Server Protocol](http://dev.mysql.com/doc/internals/en/client-server-protocol.html) and [The Binary Log](http://dev.mysql.com/doc/internals/en/binary-log.html) sections are particularly useful as a reference documentation for the `com.**.mysql.binlog.network` and `com.**.mysql.binlog.event` packages.

0 commit comments

Comments
 (0)