Feb
20
answered PermGen error due to leak in JAXBClassLoader
Feb
19
comment JAXB mapping XML document to Java Object
Yeah, so I suggest creating real client that just uses your preferred format.
Feb
19
comment JAXB mapping XML document to Java Object
To be honest, I don't think it's worth the effort. I would pick either JSON or XML and stick to that. If you're making a client sample, just make one of both types. Does the server respect the Accept: header?
Feb
19
comment JAXB mapping XML document to Java Object
Are you trying to use the same JAXB objects for XML and JSON?
Feb
16
comment Select length(col) to get BLOB content size in jOOQ
Thanks for this. I'm trying to stay database-agnostic for the moment due to an impending H2 -> Postgres migration.
Feb
16
accepted Select length(col) to get BLOB content size in jOOQ
Feb
16
comment B/CLOB handling in jOOQ
You can still use jOOQ to generate the SQL string e.g. int unused=-1; select(BLOB).from(TABLE).where(PK.eq(unused)).getSQL() and remember to bind the parameters yourself
Feb
16
comment Select length(col) to get BLOB content size in jOOQ
Thanks for your answer. I know that only String is allowed, that's why I want to know how to do it with BLOB / byte[].
Feb
16
asked Select length(col) to get BLOB content size in jOOQ
Feb
8
awarded Popular Question
Jan
30
comment How to restrict log4j console appender to log only on localhost
@Dudi yeah, profiles can be a pain. But there is fiddling to do when you move an application from development to production, and logging config is always going to be one of them.
Jan
28
answered How to restrict log4j console appender to log only on localhost
Jan
26
comment How to extend package-private class in `java.util`
It's very hard to extend classes in the java.* packages - the runtime actively prevents you doing so, and it's a violation of the spec. You would have to do the hacking in @Joe's duplicate link.
Jan
23
comment Scala PlayFramework waiting for source changes. But Not responding
You're not stuck - that's what's meant to happen when you type ~run, or are you expecting something else to show?
Jan
23
reviewed Approve suggested edit on Time based Folder Deletion in Logback
Jan
23
answered Scala PlayFramework waiting for source changes. But Not responding
Jan
23
answered Time based Folder Deletion in Logback
Jan
14
revised How to avoid WebDriver getting stuck while waiting for Google Ads or Google Analytics to load?
added 1 character in body
Jan
8
answered codenameone is there a simpler/nicer way to call a Web Service?
Jan
2
answered Orbeon integration with Play! Framework?
1 2 3 4 5