Bug 103968
Summary: | Persistence shortens table names to keywords | ||
---|---|---|---|
Product: | [Retired] Red Hat Web Application Framework | Reporter: | Stanislav Freidin <sfreidin> |
Component: | persistence | Assignee: | Archit Shah <archit.shah> |
Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | CC: | mikeb |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-07 22:08:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100952 |
Description
Stanislav Freidin
2003-09-08 15:26:53 UTC
The same thing happens in Oracle. Here's the stack trace (from within a JUnit test): 2003-09-08 09:49:26,194 [ main] ERROR rdbms.RDBMSEngine - select on.notification_id as c_1, ci.language as c_2, ci.version as c_3, ci.name as c_4, ci.ancestors as c_5 from omt_notifications on, cms_items ci where ci.item_id = on.notification_id and ? = on.notification_id java.sql.SQLException: ORA-00936: missing expression at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2321) at oracle.jdbc.oci8.OCIDBAccess.parseExecuteDescribe(OCIDBAccess.java:1255) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2391) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589) at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656) at com.arsdigita.db.PreparedStatement.doExecute(PreparedStatement.java:213) at com.arsdigita.db.PreparedStatement.execute(PreparedStatement.java:184) at com.redhat.persistence.engine.rdbms.RDBMSEngine.execute(RDBMSEngine.java:442) at com.redhat.persistence.engine.rdbms.RDBMSEngine.execute(RDBMSEngine.java:394) at com.redhat.persistence.engine.rdbms.RDBMSEngine.execute(RDBMSEngine.java:227) at com.redhat.persistence.engine.rdbms.RDBMSEngine.execute(RDBMSEngine.java:218) at com.redhat.persistence.Session.fetchPropertyData(Session.java:800) at com.redhat.persistence.Session$1.onRole(Session.java:115) at com.redhat.persistence.metadata.Role.dispatch(Role.java:92) at com.redhat.persistence.Session.get(Session.java:113) at com.redhat.persistence.Expander.onDelete(Expander.java:140) at com.redhat.persistence.DeleteEvent.dispatch(DeleteEvent.java:39) at com.redhat.persistence.Expander.expand(Expander.java:62) at com.redhat.persistence.Session.delete(Session.java:217) at com.arsdigita.persistence.DataObjectImpl.delete(DataObjectImpl.java:355) at com.arsdigita.domain.DomainObject.delete(DomainObject.java:324) at com.starwood.offers.test.NotificationTest.testDelete(NotificationTest.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at com.arsdigita.tools.junit.framework.BaseTestCase.runBare(BaseTestCase.java:47) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) at com.arsdigita.tools.junit.extensions.BaseTestSetup$1.protect(BaseTestSetup.java:60) at junit.framework.TestResult.runProtected(TestResult.java:124) at com.arsdigita.tools.junit.extensions.BaseTestSetup.run(BaseTestSetup.java:64) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) fixed on tip (35756, 35766) and branch (35771) |