facebook

Scaffold Oracle Numeric Overflow

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #348788 Reply

    nbento.neves
    Member

    Hi
    I’m trying to build an CRUD application using MyEclipse For Spring. I’m using the Scaffold Spring Crud Application for doing it. My problem is: I’m mapping an Oracle Database and I have some tables with Number(24), when the application makes the mapping, this types are convert to Integer in Java, which gives me the error: Numeric overflow. The solution for this is to change my Integer variables to Double, but I want to do this automatically. So, how can I change the mapping types using Scaffold, since there isn’t any hibernate configuration file?
    Thanks,
    Nuno

    #348797 Reply

    Nuno,

    Thank you for pointing it. I have filed a bug report for the dev team to investigate on this. I am afraid there is no solution to modify the mapping types during scaffolding.

    Sorry for the inconvenience caused.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Scaffold Oracle Numeric Overflow

You must be logged in to post in the forum log in