Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Blocker
 - 
    Resolution: Fixed
 - 
    1.1.5
 - 
    None
 - 
    None
 - 
    MySQL 5.5.35 on Debian Linux
 
Description
When accessing a column of MySQL type LINESTRING, the MariaDB JDBC driver crashes as follows:
java.lang.RuntimeException: GEOMETRY
                                                                at org.mariadb.jdbc.internal.mysql.MySQLValueObject.getObject(MySQLValueObject.java:153)
                                                                at org.mariadb.jdbc.MySQLResultSet.getObject(MySQLResultSet.java:434)
[...]
In the debugger I see that the column was typed as MySQLType.GEOMETRY in MySQLType.fromServer(), but MySQLValueObject.getObject() does not handle this case and throws an exception instead.