Share

SQL to Java Code Generator

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Change the mapping of datatypes for oracle db

You are viewing a single message from this topic. View all messages.

  1. 2009-02-17 16:05:55 UTC
    As far as the mapping of the NUMBER(10,0) to Long is concerned, I think the current code would do it, as long as your driver is returning a NUMERIC or DECIMAL as type for the column.

    Please try to get rid of the classes12.jar in the sql2java classpath and drop there your own driver for your version (not described in your post). The classes12.jar was the driver for Oracle 9i.

    Regards,
    Alain
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.