Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 208FB6F35 for ; Tue, 24 May 2011 19:43:31 +0000 (UTC) Received: (qmail 89801 invoked by uid 500); 24 May 2011 19:43:30 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 89781 invoked by uid 500); 24 May 2011 19:43:30 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 89772 invoked by uid 99); 24 May 2011 19:43:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 19:43:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 19:43:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5C2CCDC52A for ; Tue, 24 May 2011 19:42:47 +0000 (UTC) Date: Tue, 24 May 2011 19:42:47 +0000 (UTC) From: "Aki Yoshida (JIRA)" To: issues@cxf.apache.org Message-ID: <1127125197.40263.1306266167374.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <963089831.22065.1305718547558.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-3534) RMTxStore unable to create tables in Oracle DB (SQL Error: ORA-00902: invalid datatype) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038748#comment-13038748 ] Aki Yoshida commented on CXF-3534: ---------------------------------- Maybe we need to first clarify which drivers are supported by RMTxStore and discuss how we should proceed. Althought it's simple to make the current RMTxStore to also work for Oracle, the question remains for other drivers (e.g., MSSQL not working with BLOB). If we want to support other drivers or make life easier for people writing their own store implementaiton, should we introduce an abtraction in RMTxStore? please comment. thanks. aki > RMTxStore unable to create tables in Oracle DB (SQL Error: ORA-00902: invalid datatype) > --------------------------------------------------------------------------------------- > > Key: CXF-3534 > URL: https://issues.apache.org/jira/browse/CXF-3534 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 2.4 > Environment: Oracle DB: 10.1.0.5.0 > Reporter: Maciej Starzyk > Assignee: Aki Yoshida > Priority: Blocker > Labels: ORA-00902, Oracle > > Between CXF 2.3.4 and 2.4.0 in RMTxStore there is a change in data types for RM tables. All DECIMAL types have been changed to BIGINT. When starting application which uses RM the RMTxStore throws exception trying to create tables in Oracle DB: > java.sql.SQLSyntaxErrorException: ORA-00902: invalid datatype > > at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91) > at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112) > at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173) > at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) > at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) > at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030) > at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183) > at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:936) > at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222) > at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1706) > at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1674) > at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:274) > at org.apache.cxf.ws.rm.persistence.jdbc.RMTxStore.createTables(RMTxStore.java:603) > at org.apache.cxf.ws.rm.persistence.jdbc.RMTxStore.init(RMTxStore.java:668) > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira