From: thomas at tada.se (Thomas Hallgren) Date: Mon, 22 Oct 2007 23:07:13 +0200 Subject: [Pljava-dev] pljava + http-post In-Reply-To: <131.175.12.86.1740283494.1193057675@webmail.katamail.com> References: <81.208.36.82.470311689.1192898206@webmail.katamail.com> <131.175.12.86.1740283494.1193057675@webmail.katamail.com> Message-ID: <471D1101.1020406@tada.se> mechwarrior at katamail.com wrote: > 2) Since each time i modify my pljava function i've to compile+jar and then replace the jar in the db, i made (atleast for the second part) a function with about 10 commands (same as pljava exmaple tutorial + cleaning some debug tables). Sometimes happen that even if i execute my function the jar dont get updated and i've to restart the postgres db. That's quite annoying if you're trying to understand if you're making useless updates to your code or if it's just postgres not updating the new jar. > The jar is updated but the classes that the JVM already has loaded into memory are not replaced. Compare to having a running JVM and replacing jar files on the disk. Even if those files are on the a classpath seen by a JVM, no "hot replace" would take place. Regards, Thomas Hallgren