Giter Site home page Giter Site logo

Oracle: Invalid column type about framework HOT 6 CLOSED

jkleiser avatar jkleiser commented on August 24, 2024
Oracle: Invalid column type

from framework.

Comments (6)

dchenbecker avatar dchenbecker commented on August 24, 2024

Based on this line:

oracle.jdbc.driver.
OraclePreparedStatement.setObject(OraclePreparedStatement.java:9316)

I have a feeling that we're handing an Object to the driver that doesn't map correctly to the type of the column. For instance, we could be handing a Long to something with type DOUBLE. Normally JDBC drivers attempt to coerce the object based on internal mappings but they don't always match up the same between vendors in my experience. In particular, the fact that "validated" and "superuser" are being defined as NUMBER (because Oracle's JDBC driver doesn't support boolean, http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html#34_05) makes me think that we're handing a java Boolean to the driver. I think that this should be a simple fix with an extra case statement in MetaMapper.

from framework.

dchenbecker avatar dchenbecker commented on August 24, 2024

OK, preliminary fix to be test in wip-dcb-1.0-oracle-fix. Jon will let me know how it goes.

from framework.

dchenbecker avatar dchenbecker commented on August 24, 2024

New fix in1.0.1-SNAPSHOT (eda5e86092fec035b3f6326e05ba75fa1396b4bc). Working on 1.0.1 final release

from framework.

dchenbecker avatar dchenbecker commented on August 24, 2024

Fixed in 1.0.1 (3c13b5c09bda27e72a64bf577247424074e129b3) and 1.1-SNAPSHOT (b5d2fe5e75552a99ebc6cda5b5a2d2dc2b0a2f3c)

from framework.

github-importer avatar github-importer commented on August 24, 2024

Imported from GitHub: http://github.com/dpp/liftweb/issues/37/find

from framework.

github-importer avatar github-importer commented on August 24, 2024

Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/37

from framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.