issue 1
(Failure with Oracle - Table or view does not exist) commented on by andrew.hardyfamily
- Still not working with version 0.17:
Warning, target causing name overwriting of name default
[groovyc] Compiling 1 source file to /home/andy/.grails/1.1.1/projects/SCOUTS/classes
Error: java.sql.SQLException: ORA-00942: table or view does not exist
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1615)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1580)
at oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(OracleDatabaseMetaData.java:3485)
Still not working with version 0.17:
Warning, target causing name overwriting of name default
[groovyc] Compiling 1 source file to /home/andy/.grails/1.1.1/projects/SCOUTS/classes
Error: java.sql.SQLException: ORA-00942: table or view does not exist
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1615)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1580)
at oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(OracleDatabaseMetaData.java:3485)
Jun 16, 2009
issue 7
(Support for more SQL types (e.g. type = DECIMAL)) reported by soup.enthusiast
- Cannot map SQL type to java: SQL type=DECIMAL
What steps will reproduce the problem?
1. Use mysql database
2. create any table with DECIMAL datatype
3. grails generate-domain-classes
What is the expected output? What do you see instead?
Error: java.lang.RuntimeException: Cannot map SQL type to java: SQL
type=DECIMAL for table=media_files column=community_
rating
What version of the product are you using? On what operating system?
PC, version 0.3
Please provide any additional information below.
http://code.google.com/p/dbmapper/source/browse/trunk/src/main/java/com/moonspider/dbmap/ColumnConfig.javahttp://java.sun.com/j2se/1.5.0/docs/api/java/sql/Types.html
Add new types to the mapping...
Support for DECIMAL, REAL, NUMERIC - map to BigDecimal or Double.
pants AT orpheusdesign DOTCOM
Cannot map SQL type to java: SQL type=DECIMAL
What steps will reproduce the problem?
1. Use mysql database
2. create any table with DECIMAL datatype
3. grails generate-domain-classes
What is the expected output? What do you see instead?
Error: java.lang.RuntimeException: Cannot map SQL type to java: SQL
type=DECIMAL for table=media_files column=community_
rating
What version of the product are you using? On what operating system?
PC, version 0.3
Please provide any additional information below.
http://code.google.com/p/dbmapper/source/browse/trunk/src/main/java/com/moonspider/dbmap/ColumnConfig.javahttp://java.sun.com/j2se/1.5.0/docs/api/java/sql/Types.html
Add new types to the mapping...
Support for DECIMAL, REAL, NUMERIC - map to BigDecimal or Double.
pants AT orpheusdesign DOTCOM
Older
Dec 22, 2008
r24
(needs to be protected for OpenJPA to work without precompila...) committed by spullara
- needs to be protected for OpenJPA to work without precompilation.
needs to be protected for OpenJPA to work without precompilation.