Is TransactionSynchronizationRegistry used?

2006-09-27 Thread David Jencks
I'm trying to get openjpa running in geronimo and wonder how openjpa locates the TransactionSynchronizationRegistry. Greping for TransactionSynchronizationRegistry I don't see it used anywhere in the code base. What am I missing? thanks david jencks

Re: Problem with sequence trying to commit inside a JTA tx

2006-10-04 Thread David Jencks
indication in the code that they are the more correct org.apache.openjpa.jdbc.kernel.PropertyName. Which is right? If they are actually as per the docs shouldn't they be changed pronto? thanks! david jencks __ _ Notice

Sequence configuration problems

2006-10-24 Thread David Jencks
) Is this as it should be? Is there some additional processing going on when openjpa reads a persistence.xml file that should not happen when an entityManagerFactory is created in a j2ee environment? thanks david jencks

Re: Sequence configuration problems

2006-10-25 Thread David Jencks
on? thanks david jencks -Patrick __ _ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential

Re: Sequence configuration problems

2006-10-31 Thread David Jencks
managed jpa and it seems to work fine with openjpa. Next step there is to get some performance numbers :-) Many thanks, david jencks __ _ Notice: This email message, together with any attachments, may contain information

Re: [jira] Commented: (OPENJPA-221) DerbyDictionary doesn't describe a working mapping for char fields.

2007-04-18 Thread David Jencks
dictionary? I'd prefer to (a) understand why these settings as are they are (b) make all the db-specific dictionaries work unmodified with all reasonable mappings. thanks david jencks DerbyDictionary doesn't describe a working mapping for char fields

Re: [jira] Commented: (OPENJPA-221) DerbyDictionary doesn't describe a working mapping for char fields.

2007-04-18 Thread David Jencks
the storeCharsAsInteger setting is? 2. should the settings for derby be storeCharsAsInteger = false or true? (1) is a lot more important, but changing the answer to (2) is easier and solves my immediate problem. thanks david jencks -Patrick -- Patrick Linskey BEA Systems, Inc

ClassTransformerOptions in persistence.xml properties?

2007-04-24 Thread David Jencks
? thanks david jencks

Re: ClassTransformerOptions in persistence.xml properties?

2007-04-24 Thread David Jencks
be settable in persistence.xml? #2. Thanks for pointing this out. OK, I opened https://issues.apache.org/jira/browse/OPENJPA-225 to make it harder to forget :-) thanks david jencks -Patrick -- Patrick Linskey BEA Systems, Inc

Re: More questions on runtime schema generation

2007-04-25 Thread David Jencks
but will be adequate for me. I don't suppose openjpa would be interested in using the xbean-finder jar directly? It only has 3 classes in it :-) In particular ClassFinder is good at locating all the classes with an annotation in a classloader. thanks david jencks Also, I would like

More questions on runtime schema generation

2007-04-25 Thread David Jencks
appropriate. Is this reasonable? Also, I would like to suggest a flag in the openjpa.jdbc.SynchronizeMappings=buildSchema(...) stuff to turn on this eager scanning I'm trying to implement. Does this seem reasonable? thanks david jencks

Re: provide an actual JDBC connection?

2007-04-26 Thread David Jencks
as a jta datasource, typically 2 connections will be used. However, if you are in an environment that does connection pooling this won't make much difference. Hope this helps david jencks -- View this message in context: http://www.nabble.com/provide-an- actual-JDBC-connection--tf3650466

Re: More questions on runtime schema generation

2007-04-26 Thread David Jencks
, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 12:18 PM To: open-jpa-dev@incubator.apache.org Subject: More questions on runtime schema generation

Can openjpa scan directories for classes (such as WEB-INF/classes)?

2007-05-02 Thread David Jencks
) thanks david jencks

Re: [VOTE] Graduate from Incubation

2007-05-03 Thread David Jencks
+1 david jencks On May 3, 2007, at 7:22 AM, Craig L Russell wrote: This vote is to send the attached draft board resolution to the incubator for the purpose of graduation from the incubator to the Apache OpenJPA project. +1 We're ready; let's graduate 0 Don't care -1 Let's wait

Re: [jira] Updated: (OPENJPA-148) Parsing exception while using an exploded archive

2007-05-03 Thread David Jencks
I'd really appreciate it if a committer could take a look at this patch fairly soon and provide feedback or apply it. I don't think geronimo can deploy persistence units in wars without it or its equivalent. Of course I'd also like to know if it helps EasyBeans :-) thanks david jencks

Re: [VOTE] Graduate from Incubation

2007-05-04 Thread David Jencks
. openJPA implementing JDO etc. thanks david jencks On May 4, 2007, at 12:16 PM, Phill Moran wrote: Without getting any nastier let me explain. I don't see any evidence of nasty. I see a discontinuity in calling the project OpenJPA if in reality the project implements JDO and so forth

Re: Lock-free HashMap

2007-05-17 Thread David Jencks
slightly more memory than ConcurrentHashMap. Looking forward to the results :-) thanks david jencks On May 16, 2007, at 9:21 PM, Craig L Russell wrote: Don't know if anyone caught Cliff's preso at Java One... Anyone want to take a look at the new HashMap? Craig Begin forwarded message

Re: the pain of post processing bytecode (another beg for a simple reflection/cglib alternative like hibernate)

2007-05-17 Thread David Jencks
+ geronimo. thanks david jencks On May 17, 2007, at 2:39 AM, James.Strachan wrote: Firstly before I start, openjpa is a great piece of software; I'm particularly fond of the documentation and in particular the query language parts. The CSS for the site is also awesome :) However compared

Re: First post-graduation OpenJPA release

2007-05-20 Thread David Jencks
patch to OPENJPA-148 or undo the first patch since the first patch makes it really easy to create an NPE. thanks david jencks -Patrick On 5/20/07, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: that said, this is the OpenJPA project, and no matter what the state of the infra move, anything

Nudge on OPENJPA-148 patch 2

2007-05-21 Thread David Jencks
that geronimo might be able to ship with openjpa + the 2nd patch and would like to start checking that in using a more official build. many thanks david jencks

[jira] Created: (OPENJPA-73) PersistenceProviderImpl.createContainerEntityManagerFactory() doesn't work if you supply jdbc specific properties

2006-10-31 Thread David Jencks (JIRA)
://issues.apache.org/jira/browse/OPENJPA-73 Project: OpenJPA Issue Type: Bug Reporter: David Jencks PersistenceProviderImpl.createContainerEntityManagerFactory() doesn't work if you supply jdbc specific properties such as property name

[jira] Commented: (OPENJPA-73) PersistenceProviderImpl.createContainerEntityManagerFactory() doesn't work if you supply jdbc specific properties

2006-11-05 Thread David Jencks (JIRA)
[ http://issues.apache.org/jira/browse/OPENJPA-73?page=comments#action_12447240 ] David Jencks commented on OPENJPA-73: - After a lot of work to get runtime enhancement sometimes working in geronimo, I've found a simple enough example

[jira] Created: (OPENJPA-221) DerbyDictionary doesn't describe a working mapping for char fields.

2007-04-18 Thread David Jencks (JIRA)
Components: sql Affects Versions: 0.9.7 Reporter: David Jencks If a class has a char field mapped to CHAR or CHAR(1) in a derby database, the derby dictionary sets up a mapping to an integer column which doesn't work. openjpa tries to store e.g. the string 97

[jira] Updated: (OPENJPA-148) Parsing exception while using an exploded archive

2007-05-02 Thread David Jencks (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks updated OPENJPA-148: - Attachment: OPENJPA-148.patch This patch fixes the issue for me in the geronimo integration

[jira] Commented: (OPENJPA-148) Parsing exception while using an exploded archive

2007-05-04 Thread David Jencks (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493730 ] David Jencks commented on OPENJPA-148: -- Marc did not apply this part of the patch, which was actually

[jira] Commented: (OPENJPA-148) Parsing exception while using an exploded archive

2007-05-04 Thread David Jencks (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493746 ] David Jencks commented on OPENJPA-148: -- Craig said... Just thinking a bit outside the box here. Is it possibly

[jira] Reopened: (OPENJPA-148) Parsing exception while using an exploded archive

2007-05-16 Thread David Jencks (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks reopened OPENJPA-148: -- Some more experience indicates my previous patch suffers from at least 2 problems: - NPE

[jira] Updated: (OPENJPA-148) Parsing exception while using an exploded archive

2007-05-16 Thread David Jencks (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks updated OPENJPA-148: - Attachment: OPENJPA-148-2.patch Attached patch fixes the 2 additional issues I've found

[jira] Resolved: (OPENJPA-148) Parsing exception while using an exploded archive

2007-05-22 Thread David Jencks (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks resolved OPENJPA-148. -- Resolution: Fixed It works for geronimo now, many thanks! Parsing exception while using