uPortal IRC Logs-2011-07-05

[11:18:07 CDT(-0500)] <EricDalquist> grr
[11:18:17 CDT(-0500)] <EricDalquist> so hibernate's dialect autodetction is crappy for mysql
[11:18:32 CDT(-0500)] <EricDalquist> using mysql5.1 it autodetects to the mysql4 dialect
[11:18:45 CDT(-0500)] <athena> oh
[11:18:46 CDT(-0500)] <athena> (sad)
[11:19:02 CDT(-0500)] <EricDalquist> so looks like for MySQL we need to support explicitly specifying the dialect
[11:19:02 CDT(-0500)] <athena> that doesn't sound so good
[11:19:15 CDT(-0500)] <athena> speaking of auto-detection, i've not had much luck with WURFL actually like, working
[11:19:26 CDT(-0500)] <EricDalquist> :/
[11:19:39 CDT(-0500)] <athena> maybe it just doesn't have great support for desktop clients, dunno
[12:50:06 CDT(-0500)] <EricDalquist> dialect resolver issue fixed
[12:50:15 CDT(-0500)] <EricDalquist> hibernate is nice enough to let you influence the dialect resolution
[12:58:37 CDT(-0500)] <athena> nice (smile)
[12:58:41 CDT(-0500)] <athena> that's good at least
[12:58:53 CDT(-0500)] <athena> think i'm getting close to having a reasonable umobile branch of uportal
[12:58:59 CDT(-0500)] <EricDalquist> yay!
[12:59:02 CDT(-0500)] <athena> yeah (smile)
[12:59:07 CDT(-0500)] <athena> should help things a bit, i think
[13:16:12 CDT(-0500)] <EricDalquist> ok ... oracle and pg are working well
[13:16:19 CDT(-0500)] <athena> sweet!
[13:16:21 CDT(-0500)] <athena> that's great
[13:16:21 CDT(-0500)] <athena> (smile)
[13:16:22 CDT(-0500)] <EricDalquist> mysql is causing me to hate it though (tongue)
[13:16:41 CDT(-0500)] <athena> mysql is already kinda hateful (smile)
[13:16:48 CDT(-0500)] <EricDalquist> and re-affirming my view that it is a SQL like database ... but not really sQL
[13:16:58 CDT(-0500)] <EricDalquist> the fact that its case sensitive by default in just wrong
[13:17:03 CDT(-0500)] <athena> yeah.
[13:17:06 CDT(-0500)] <athena> it's evil
[13:17:14 CDT(-0500)] <athena> i've always used psql instead
[13:24:54 CDT(-0500)] <EricDalquist> I wonder if mysql does like full table locking or something
[13:25:01 CDT(-0500)] <EricDalquist> the same import code that works on oracle and pg
[13:25:14 CDT(-0500)] <EricDalquist> fails on mysql with deadlock exceptions everywhere
[13:32:23 CDT(-0500)] <athena> weird
[13:32:29 CDT(-0500)] <athena> i just don't knwo that much about mysql
[13:32:48 CDT(-0500)] <EricDalquist> yeah
[13:33:04 CDT(-0500)] <EricDalquist> I just marked a few more of the import types as not thread safe for importing
[13:33:09 CDT(-0500)] <EricDalquist> which seems to have fixed it
[13:33:12 CDT(-0500)] <EricDalquist> just annnoying
[13:57:34 CDT(-0500)] <athena> ah
[14:41:59 CDT(-0500)] <athena> ugh
[14:42:07 CDT(-0500)] <athena> having issues w/ this import portlet
[14:42:14 CDT(-0500)] <EricDalquist> what's up?
[14:42:15 CDT(-0500)] <athena> the data service can take a Resource
[14:42:34 CDT(-0500)] <EricDalquist> which API?
[14:42:37 CDT(-0500)] <athena> but if i load my input stream into a InputStreamResource spring chokes because it can't resolve it to a URL
[14:42:44 CDT(-0500)] <athena> portal data handler service
[14:42:50 CDT(-0500)] <EricDalquist> oh ...
[14:42:51 CDT(-0500)] <EricDalquist> um
[14:42:53 CDT(-0500)] <EricDalquist> just a sec
[14:43:07 CDT(-0500)] <athena> the input stream is coming from a multipartfile parameter
[14:43:12 CDT(-0500)] <EricDalquist> use "public InputStreamResource(InputStream inputStream, String description)"
[14:43:19 CDT(-0500)] <EricDalquist> and pass in the uploaded file name as the description
[14:43:22 CDT(-0500)] <EricDalquist> and see if that works
[14:43:22 CDT(-0500)] <athena> ah, ok
[14:47:57 CDT(-0500)] <athena> no difference
[14:48:12 CDT(-0500)] <EricDalquist> can you pastebin the stack?
[14:48:49 CDT(-0500)] <athena> http://pastebin.com/JK6qrZA1
[14:49:33 CDT(-0500)] <athena> so i guess that is the portal data service complaining, hmm
[14:49:42 CDT(-0500)] <EricDalquist> yeah ...
[14:49:51 CDT(-0500)] <EricDalquist> I'm trying to remember exactly why I had to make that change
[14:59:09 CDT(-0500)] <EricDalquist> ok replace JaxbPortalDataHandlerService.java:385 with: http://pastebin.com/wvCyUyx5
[15:28:17 CDT(-0500)] <athena> will do