detail.php
OW2 Forge: Detail: 304088 XBridge does not support MySQL enum type

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
XQuare
          
 
 
Summary
Forums
Tracker
Lists
Tasks
Docs
News
CVS
Files
SVN
                    
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #304088 ] XBridge does not support MySQL enum type

Date:
2005-09-18 20:19
Priority:
5
Submitted By:
Ken Yagen (kyagen)
Assigned To:
Nobody (None)
Category:
bridge
State:
Open
Summary:
XBridge does not support MySQL enum type

Detailed description:
When retreiving metadata on a database, columns of type enum are skipped and queries against those columns generate an error. Enum is a MySQL specific type so I believe support would need to be specifically added although maybe it could be interpreted as a CLOB. I tried to modify TypeMap.java and MySQL.xml but was not able to get it to work. Exception trace when trying to query enum field: Caused by: org.xquark.xml.xdbc.XMLDBCException: Could not find path : $user/child::Select_priv - encountered at line 1 , column 51 at org.xquark.extractor.runtime.QueryFactory.parseXQuery (QueryFactory.java:342) at org.xquark.extractor.runtime.QueryFactory.createCompiledQuery (QueryFactory.java:87) at org.xquark.extractor.runtime.PreparedExtractorStatement.<init> (PreparedExtractorStatement.java:98) at org.xquark.extractor.ExtractorConnection.prepareStatement (ExtractorConnection.java:162) at com.selytix.commons.XMLBridge.getXMLInstance(XMLBridge.java:73) ... 16 more

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials