Re: [h2] Escaping reserved characters in database URL

2020-04-06 Thread Noel Grandin
No, we have no encoding for stuff inside a "jdbc:h2:" URL. If you really
really need this, you could create a custom filesystem extension
using org.h2.store.fs.FilePath and then invent your own encoding.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/CAFYHVnV5cdf%3DjV6u%2BJzZVDLxQSsufjGw8iAbvTyow6USutc0NQ%40mail.gmail.com.


[h2] Escaping reserved characters in database URL

2020-04-06 Thread Silvio
I am running into issues with database files that are created with file 
paths based on user input. One example has a path with a directory in it 
that has a ; in it's name. Connecting to the database fails for obvious 
reasons. Is there a way to encode such paths to prevent issues like this?

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/25cc491a-c55b-4bb4-bf80-852690eb5be8%40googlegroups.com.