Re: Error: com.ibm.tools.attach.AttachNotSupportedException

2011-07-25 Thread kojak
AFAIK, the only way to accomplish this is add that attribute or convince IBM that they should implement that feature in their JRE. Cheers, Keith -- View this message in context: http://openjpa.208410.n2.nabble.com/Error-com-ibm-tools-attach-AttachNotSupportedException-tp5989284p6617456.html Sent

How to Specify the Schema for a Named Query

2011-03-03 Thread kojak
Hi, I am using Apache Derby with OpenJPA and have a class with a named query. Unfortunately, every time I attempt to execute the named query I get an error because OpenJPA is assuming the "USER" schema. The "USER" schema is not the default for Derby. It is "APP" I think. This does not happen w

Re: Error: com.ibm.tools.attach.AttachNotSupportedException

2011-02-14 Thread kojak
Rick, Sorry about the delayed response, but setting "Can-Retransform-Classes: false" in the manifest file *did* fix the problem. Apparently, the IBM JRE does not support runtime class re-transformation (which you probably already know). Based on this information, I'm assuming that it would be a

Re: Error: com.ibm.tools.attach.AttachNotSupportedException

2011-02-03 Thread kojak
Rick, Sorry that didn't fix it. Also, I read the bug at the link you posted. I checked the manifest in apache-openjpa-2.1.0-20110201.173954-119-binary.zip and noticed that it was still set to... Can-Retransform-Classes: true I'm not sure if you intended to set it to false in the fix or if you'

Re: Error: com.ibm.tools.attach.AttachNotSupportedException (update)

2011-02-03 Thread kojak
After doing some googleing, I found a post with a similar problem. Apparently, the IBM JRE creates a folder in /tmp called .com_ibm_tools_attach. This folder was created after I installed the JRE and ran "java -version" to test the installed version. Apparently, the permissions on the folder were

Error: com.ibm.tools.attach.AttachNotSupportedException

2011-02-03 Thread kojak
Hi, I've written a simple program to persist a bean using OpenJPA 2.0.1. The code works fine with the Sun JRE; however, with the IBM JRE (both are 1.6). I receive the following error. Does anyone have any ideas as to what could be going on? com.ibm.tools.attach.AttachNotSupportedException: ta

Re: XSD to JPA with MOXy

2011-02-01 Thread kojak
Thanks. This looks like it will do the job. -- View this message in context: http://openjpa.208410.n2.nabble.com/XSD-to-JPA-with-MOXy-tp5949227p5980777.html Sent from the OpenJPA Users mailing list archive at Nabble.com.

XSD to JPA with MOXy

2011-01-21 Thread kojak
I've been playing around trying to get MOXy generate JPA annotations from a simple XML Schema. Using the schema below, I run MOXy and receive Java class listed below. I was sort of expecting (probably incorrectly) to get the JPA style annotations; however, I received the JAXB style annotations.