This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'm trying to use IBator plugin for Eclipse, but one exception occurred...
Eclipse ver. 3.4
latest Ibator plugin
java.lang.ArithmeticException: / by zero
For me, it was because I hadn't created the database specified by the connection URL in the ibatorConfig.xml file. I had the server running but no DB created. I suspect this error may be a result of anything from a bad URL (not the server:port part) but the name of the database, no tables, etc.
Here's a good way to test this. If you open the Data Source Explorer view and create a connection, you should be able to define the connection such that the same URL can be used for your config... assuming you can view the tables of the database in the explorer.
I notice in your URL:
that there is no Database name specified. I used a Derby database and my URL looks more like this:
I think the same rules apply though. For JDBC, you need to specify both the server AND the database name you are referencing.