
Originally Posted by
grafpoo
new to roo, so i'm hoping this is not the dumbest question ever...
i am trying to set up roo for a Sybase SQLAnywhere database. roo uses jtds JDBC drivers, and i've hit a spot where jtds is throwing an ArrayIndexOutOfBoundsException:
dbadmin.tess roo> database properties list
database.driverClassName = net.sourceforge.jtds.jdbc.Driver
database.password = password
database.url = jdbc:jtds:sybase://localhost:2638/tess;TDS=4.2
database.username = tess
dbadmin.tess roo> database reverse engineer --package ~.domain --schema TESS
ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method)
i ran a quick test program outside of roo (a Class.forName and DriverManager.getConnection) and got the same exception, so it seems to me jtds is the culprit. i could try to debug it, but i'm a maven idiot and have no idea how i could get my patched jar into the roo project. i could also use the sybase jconnect drivers, but that doesn't seem to be something you can do in roo.
so, any help on what i could/should try next is muchly appreciated.