Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for XML data types #66

Open
mp911de opened this issue Apr 29, 2019 · 4 comments
Open

Support for XML data types #66

mp911de opened this issue Apr 29, 2019 · 4 comments
Labels
status: ideal-for-contribution An issue that a contributor can help us with type: enhancement A general enhancement

Comments

@mp911de
Copy link
Member

mp911de commented Apr 29, 2019

Ideally, we interchange SQLXML as Clob type. We should also provide a utility to retrieve SQLXML for document parsing and to provide Clob data from a Document.

@mp911de mp911de added the type: enhancement A general enhancement label Apr 29, 2019
@tweetysat
Copy link

Still no support for xml data type ? I have a db with a column defined as xml (no way to change it). Can't go ahead with reactive/r2dbc. Is it planned for soon ?

@mp911de
Copy link
Member Author

mp911de commented Jun 11, 2021

Thanks for signaling interest from your side. This is an open-source project that is maintained by volunteers. Feel free to come up with a pull request if you want to use XML data types through R2DBC.

@mp911de mp911de added the status: ideal-for-contribution An issue that a contributor can help us with label Jun 11, 2021
@tweetysat
Copy link

I understand. But I'm not sure I'm able to add what is missing for having it working.

I first downloaded the sources and build it successfully with mvn clean install -DskipTests
I then changed, in my application, the dependency version to

<dependency>
    <groupId>io.r2dbc</groupId>
    <artifactId>r2dbc-mssql</artifactId>
    <version>0.9.0.BUILD-SNAPSHOT</version>
    <scope>runtime</scope>
</dependency>

But now when starting my application I have
java: warnings found and -Werror specified
and I can see there are 8 warnings in ReactorNettyClient.java of deprecated functions.
E.g. java: reactor.core.publisher.EmitterProcessor in reactor.core.publisher has been deprecated.

If I comment <arg>-Werror</arg> the application does not start either :
Caused by: java.lang.ClassNotFoundException: io.r2dbc.spi.Type

It doesn't start well...

@mp911de
Copy link
Member Author

mp911de commented Jun 14, 2021

The main branch uses R2DBC SPI 0.9.0.M1 and the pure Maven build via mvnw -B deploy -D skipITs -P snapshot is green. What I've observed is that at times, IntelliJ has an issue with -Werror. I wasn't able to resolve the deprecation warning issue via command line args myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ideal-for-contribution An issue that a contributor can help us with type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants