On 18/05/2018 09:45, Mark Rotteveel wrote: > On 18-5-2018 14:32, Adriano dos Santos Fernandes wrote: >> On 18/05/2018 08:57, Mark Rotteveel wrote: >>> >>>> We also tried to push our own JARs into the DB, but ended up getting >>>> tons of "PK violation" errors. >>> >> This one is because Java has no problem if you have class x.y.Class in >> many jars, but the plugin AFAIR rejects it, as Oracle does. > > Well, "no problems" is not entirely correct, it sort of works, you > just get potentially different behavior or errors depending on the > order of class loading,
I mean, playing with classloader is a valid situation to have the same class in multiple places. The jar-in-database is a analogy to a war file. A collection of jars for a database (web app). WARs accept them and have the problem you said. > so disallowing duplicates classes is a good thing. > Not sure, really. Adriano ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel