Mapper, Oracle and LONG RAW

24 visualizzazioni
Passa al primo messaggio da leggere

Channing Walton

da leggere,
7 lug 2016, 11:23:2507/07/16
a Lift
Hi,

my Oracle DBA says he would like us to stop using LONG RAW and use CLOB, BLOB, etc instead. LONG RAW has been legacy (no longer supported) for a while apparently and we should be using a LOB type.

At the moment we are using MappedFakeClob whose targetSqlType is Types.BINARY, which the OracleDriver turns into a LONG RAW.

How can we go about using a LOB instead?

Channing

Diego Medina

da leggere,
19 lug 2016, 20:55:2219/07/16
a Lift
Hi, considering it's been awhile since you posted this and there were no answers, I would say none of the committers use Oracle these days (or if they do their free time is very limited), that being said, we have now relaxed the limits on pull requests from external users, so if you are willing to send a PR that adds support for this column type, we could accept it.

Thanks

Diego

--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code

---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Diego Medina
Lift/Scala Consultant
di...@fmpwizard.com
http://blog.fmpwizard.com/

Channing Walton

da leggere,
20 lug 2016, 02:50:5020/07/16
a lif...@googlegroups.com
Hi,

I was thinking of that - just hoping to get some time. I presume there is no way to test it in LIft’s test suite, so I would just need to test it manually?

Channing

You received this message because you are subscribed to a topic in the Google Groups "Lift" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/liftweb/wbVeBHydCxY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to liftweb+u...@googlegroups.com.
signature.asc

Diego Medina

da leggere,
20 lug 2016, 04:34:1620/07/16
a Lift

[snip]. I presume there is no way to test it in LIft’s test suite, so I would just need to test it manually?



You can check how the test suite decides whether to run mongodb tests, we could use a similar pattern for Oracle only tests. If it detects an oracle instance running, run the tests, otherwise, skip them.

Channing Walton

da leggere,
20 lug 2016, 04:39:2020/07/16
a lif...@googlegroups.com
ok sounds good.
signature.asc
Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi