RE: initial commit

2006-05-30 Thread Patrick Linskey
Hi Craig, Any further thoughts about maven and multiple language versions? -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 5:17 PM To: open-jpa-dev@incubator.apache.org Subject: Re

RE: initial commit

2006-05-30 Thread Patrick Linskey
Would it be ok to build three different jar files based on whether the target was 1.3, 1.4, or 1.5? Packaging the different jar files into one could be a post-build exercise. Or a specific build target that combined the three jar files. How is the source code structured today?

RE: java.util.concurrent

2006-06-01 Thread Patrick Linskey
__ _ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted

RE: java.util.concurrent

2006-06-04 Thread Patrick Linskey
I don't think the fact your using BEA e-mail is an issue. Its really the legal content of the epilogue that I think has people concerned. Understood. Although someone in the ASF could probably do something I think you'd be the first person they did it for :) I think modifying the

RE: Improving the Maven story for GlassFish

2006-06-15 Thread Patrick Linskey
I think that we should not maintain a separate set of jars. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 9:00 PM To: open-jpa-dev@incubator.apache.org Subject: Improving

RE: Any code coming?

2006-06-22 Thread Patrick Linskey
At this point, we've crossed all the hurdles within BEA to be able to get a significant amount of code out to the project. We've got a couple guys working on some refactorings as we speak. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Matt Hogstrom [mailto

RE: testcase failures?

2006-07-06 Thread Patrick Linskey
Yep, there are a few failures. These cropped up since Kodo 4.0 was released. They are not desirable, but are known. We didn't want to hold up putting code out there to get the tests running. Feel free to have a look at it. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message

staging of site changes

2006-07-25 Thread Patrick Linskey
Hey, Does apache have any infrastructure / conventions in place for staging changes to the site to look them over / collaborate / etc. before pushing them to the site? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice

RE: State of OpenJPA code drop

2006-07-28 Thread Patrick Linskey
as Kodo 4.0 was at. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Kevin Sutter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 7:30 AM To: open-jpa-dev@incubator.apache.org Subject: State of OpenJPA code drop Hi Patrick, Now that the code drops

RE: svn commit: r427472 - in /incubator/openjpa/trunk: openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ openjpa-kernel/src/main/java/org/apache/openjpa/kernel/ openjpa-lib/src/main/java/org/ap

2006-08-01 Thread Patrick Linskey
Why not? I've never met a Java compiler that doesn't deal with that behavior; many of our source files do not end with a newline. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 7:50

RE: Marc, now a JIRA openjpa-developer

2006-08-03 Thread Patrick Linskey
So the difference in this case is that Kevin's actually on the initial commit list. I think that the theory was that we're actually setting a new initial-commit-on-demand precedent here. Geir: do you recall? -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From

version numbers

2006-08-05 Thread Patrick Linskey
afresh. 3. Should we be striving to keep the version numbers of the various sub-modules in sync, or should each get a separate version number moving forward? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email

RE: Example files from tutorial in documentation - can't get 'em

2006-08-08 Thread Patrick Linskey
/showproduct.jsp?family=KODOmajor=4.0minor=0 -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Bryan Noll [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 1:50 PM To: Bryan Noll Cc: open-jpa-dev@incubator.apache.org Subject: Re: Example files from

RE: EJB QL grammar

2006-08-10 Thread Patrick Linskey
You should open these as bugs. The JPQL parser is very new code; I expect that we will run into a fair number of parse bugs / limitations. (OpenJPA should pass what's in the TCK, but that's hardly complete coverage.) -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message

RE: [jira] Commented: (OPENJPA-8) java.util.MissingResourceException: system is missing product derivations

2006-08-11 Thread Patrick Linskey
the OpenJPA jars in the execution-time classpath; just in the taskdef-time one. The duplication won't hurt, but isn't strictly necessary. Hope this helps, -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August

[RESULT]: [VOTE] Kevin Sutter as committer

2006-08-14 Thread Patrick Linskey
Vote closed with one +1 (me) and zero -1s. Welcome! Now, I'll kick off the process to get rights assigned. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Patrick Linskey Sent: Friday, August 04, 2006 12:49 PM To: open-jpa-dev@incubator.apache.org

RE: Update version to SNAPSHOT

2006-08-14 Thread Patrick Linskey
I spoke to Geir about this a bunch last week; he suggested we use a number-dev nomenclature, so that it'd be clear that the current build is a dev build rather than a well-known numbered release. So, this would mean we'd have 0.9.0-dev, meaning that there are differences since the

RE: Update version to SNAPSHOT

2006-08-14 Thread Patrick Linskey
It might be good to run through the common dev scenarios in detail to see which model would work best for this project, since there are so many sub-projects. Good point. I think that we should move to a model where we have a project that assembles a single unified jar (including merging

RE: Extending the OpenJPA implementation

2006-08-15 Thread Patrick Linskey
There's one last problem, and that is systems with multiple OpenJPA extended products available. If you've got Kodo and ExtendedOpenJPAProductX in your classpath, chances are they'll attempt to overwrite each other's configuration defaults and so forth. That's the case now, and what

RE: [jira] Created: (OPENJPA-14) PCEnhancer ant task requires openjpa jars to be on the system classpath or passed into ant with '-lib'

2006-08-16 Thread Patrick Linskey
Assigned. -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Bryan Noll [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 10:50 AM To: open-jpa-dev@incubator.apache.org Subject: Re: [jira] Created: (OPENJPA-14) PCEnhancer ant task requires openjpa jars

Welcome, Kevin!

2006-08-16 Thread Patrick Linskey
Hi, Kevin Sutter is now a committer on OpenJPA. Welcome, Kevin! -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc

RE: Patch available checkbox in JIRA ...

2006-08-17 Thread Patrick Linskey
I don't follow -- what does the patch-available checkbox indicate? -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Bryan Noll [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 1:35 PM To: open-jpa-dev@incubator.apache.org Subject: Patch available

RE: JIRA bug tracking of code changes

2006-08-18 Thread Patrick Linskey
of JIRA issues for these sorts of things -- one for fixing code formatting, one for minor potential algorithm problems, etc. Then, that issue could be used for commits that don't merit a full issue of their own. Thoughts? -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message

RE: build problem

2006-08-22 Thread Patrick Linskey
Are OS profiles a maven thing? Note that this list is populated largely with maven newbies. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 11:01 AM To: open-jpa-dev@incubator.apache.org

RE: [jira] Updated: (OPENJPA-15) EJBQL grammar needs to be updated to relfect JPA specification

2006-08-22 Thread Patrick Linskey
that certain tests are expected to fail, so that we can commit tests that break along with JIRA reports? -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Kevin Sutter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 2:21 PM To: open-jpa-dev

RE: Build data in built artifacts

2006-08-23 Thread Patrick Linskey
Since there are multiple jars, maybe it makes sense for each of the different modules to have a META-INF/openjpa-revision.properties file, and then have OpenJPAVersion print out the information for each of said resources in the classpath, if they're not the same. -Patrick -- Patrick Linskey

RE: Build data in built artifacts

2006-08-23 Thread Patrick Linskey
a resource called META-INF/revision.properties in the classpath, but it seems vanishingly unlikely that META-INF/openjpa-revision.properties is used by others. Thoughts? -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED

RE: doxia-sink-api POM problem

2006-08-25 Thread Patrick Linskey
I've no idea about that particular message, but in my experience it sometimes takes a few runs to get mvn to run the first time, since both the apache and ibiblio repositories are a tad flaky. BTW, what's the version of your mvn? (mvn -v) Mine is 2.0.4. -Patrick -- Patrick Linskey BEA Systems

RE: Data + Query cache

2006-08-25 Thread Patrick Linskey
largely add spec behavior to the core kernel. So the features available in the core kernel are available to all bindings. -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 7:01 AM To: open-jpa

RE: Data + Query cache

2006-08-25 Thread Patrick Linskey
On the other hand, if the feature is on by default what would be the likely reason to turn it off? Some JavaEE portal may then report how default behaviour of OpenJPA is not spec-compliant :( How is the data cache not spec-compliant? -Patrick

RE: Data + Query cache

2006-08-25 Thread Patrick Linskey
I think the first time users are going to write simple applications while evaluating . Will caching affect these kind of applications which have a small amount of data to play around with? Typically, no. -Patrick___

svn issues

2006-08-30 Thread Patrick Linskey
my .svn files twice so far -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated

RE: svn issues

2006-08-30 Thread Patrick Linskey
-- Patrick Linskey BEA Systems, Inc. -Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf Of Marc Prud'hommeaux Sent: Wednesday, August 30, 2006 10:35 AM To: open-jpa-dev@incubator.apache.org Subject: Re: svn issues Note that there is a proposed

RE: version numbers

2006-08-30 Thread Patrick Linskey
Ok, I just checked in an update that changes all of them (except for the ones in the repackage util.concurrent package). I admire the discipline it took to put all those tags in there in the first place. Thanks! Sadly, they're not 100% -- we certainly have added important APIs without

RE: Creating sandbox branches

2006-08-30 Thread Patrick Linskey
+1. Now, to find the right person -Patrick -- Patrick Linskey BEA Systems, Inc. -Original Message- From: Kevin Sutter [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 2:50 PM To: open-jpa-dev@incubator.apache.org Subject: Re: Creating sandbox branches Still

RE: QUARTERLY REPORT OVERDUE!

2006-09-19 Thread Patrick Linskey
that OpenJPA plugs into a Spring persistence container environment appropriately. Work is also ongoing to build user-focused release downloads and to integrate with the Apache continuous-integration facilities. /snip -- Patrick Linskey BEA Systems, Inc

RE: question on configuring multiple DataCaches

2006-09-21 Thread Patrick Linskey
Hi David, The OpenJPA data cache is non-partitionable. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its

RE: question on configuring multiple DataCaches

2006-09-21 Thread Patrick Linskey
. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may

RE: svn revision number

2006-09-29 Thread Patrick Linskey
Note that the only time that a version number will have a M at the end of it is when there are changes in the local copy. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any

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

2006-10-04 Thread Patrick Linskey
Following the advice there (and elsewhere) I managed to get my example working!!! The main step appears to be including a non-jta datasource. Cool. I'm still unable to figure out how to get the tables auto-created. Putting properties in persistence.xml or feeding them to

RE: openjpa.zip

2006-10-05 Thread Patrick Linskey
Sounds good to me. Should be pretty straightforward -- we create a special 'modules' dir for all the individual jars, so it should be as easy as removing that bit of the appropriate pom. -Patrick -- Patrick Linskey BEA Systems, Inc

RE: Proposal: Optimizing empty collection fetch. Meta Column in ContainerFieldMappling

2006-10-06 Thread Patrick Linskey
the patch to this list should help resolve that, by getting it into the main OpenJPA codebase. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information

version number increment

2006-10-06 Thread Patrick Linskey
like to change the version number to 0.9.1-incubating at the time of release and move it to 0.9.1-incubating-SNAPSHOT immediately afterwards. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together

RE: CFMetaDataParser hiding exception info

2006-10-13 Thread Patrick Linskey
It sounds like you didn't recompile your sources between Kodo 4.0 and Kodo 4.1. Kodo 4.0 used different package names than Kodo 4.1, and our backwards compatibility efforts didn't include binary-compatibility. (Sorry about the Kodo spam, btw.) -Patrick -- Patrick Linskey BEA Systems, Inc

RE: [VOTE] publish openjpa 0.9.5-incubating podling release

2006-10-18 Thread Patrick Linskey
+1 -- Patrick Linskey BEA Systems, Inc. ___ 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: svn commit: r465623 - in /incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/generationtype: ./ IdentityGenerationType.java TestGenerationType.java

2006-10-19 Thread Patrick Linskey
whatever we agree on. Thoughts? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated

RE: Sequence configuration problems

2006-10-24 Thread Patrick Linskey
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? Does this work when you run outside a container? It sounds like the product derivations

RollbackException.toString()

2006-10-30 Thread Patrick Linskey
Hi, It would seem that RollbackException's toString() doesn't print out nested exceptions by default. Is this intended? If so, is it desired behavior? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email

RE: JTA 1.1 has been published

2006-10-30 Thread Patrick Linskey
This is the official JTA 1.1 jar that is available at the java.net repository. +1 for using the official JTA libraries, rather than the stopgap Geronimo clones. I'll update the pom.xml unless anyone objects. +1 for moving to JTA 1.1. -Patrick

RE: RollbackException.toString()

2006-10-30 Thread Patrick Linskey
The situation I'm looking at right now, for one: I'm seeing an optimistic lock exception, and the OpenJPA exception translation is obscuring the full stack, so I just get the stack from the point of translation, rather than from the point of origin. Then the solution is to fix the

massively large Assign To field in jira issue edit pages

2006-10-30 Thread Patrick Linskey
Hi, Is there any way to dial down (or just remove) the 'Assign To' field in the jira issue edit pages? It takes *forever* (well, not quite, but nearly) to load any of the edit pages, since the page has to populate the assignment field. Thanks, -Patrick -- Patrick Linskey BEA Systems, Inc

@Strategy

2006-10-31 Thread Patrick Linskey
decision for other annotations as well; I haven't sorted through the annotations just yet. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information

RE: RollbackException.toString()

2006-10-31 Thread Patrick Linskey
Our internal testing framework, in this case, is vanilla JUnit. Seems like that might be a use case that we should care about, no? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together

RE: @Strategy

2006-10-31 Thread Patrick Linskey
@Strategy allows the specification of a custom class name in string form. However, class names inside quotes don't refactor all that well. I think we should add an @StrategyClass annotation that allows specification of a strongly-typed Class instance. What say ye? I'm not voting

RE: Questions about cutting another snapshot release

2006-10-31 Thread Patrick Linskey
I think we should tag whenever we make a release. I don't know anything about tagging in svn, but I assume it is just like CVS (where you just ascribe an arbitrary text label to a revision number). Presumably, we would just tag a 0.9.6-incubating release as: 0.9.6-incubating. This is

RE: connection pooling?

2006-11-02 Thread Patrick Linskey
The former. -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may

RE: svn commit: r471080 - /incubator/openjpa/trunk/openjpa-lib/pom.xml

2006-11-06 Thread Patrick Linskey
I just reverted back to serp 1.11. Once 1.12 is in ibiblio, we can decide whether or not we need the new version. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments

add-was-interfaces

2006-11-06 Thread Patrick Linskey
] at serp.bytecode.BCClass.write(BCClass.java:202) [java] at org.apache.openjpa.ee.WASManagedRuntime.main(WASManagedRuntime.java:412) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) -- Patrick Linskey BEA Systems, Inc

RE: add-was-interfaces

2006-11-06 Thread Patrick Linskey
investigate further... dinner is calling...) -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries

Welcome, Bryan

2006-11-07 Thread Patrick Linskey
Hi, Bryan Noll is now a committer on OpenJPA. Welcome, Bryan! -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc

Welcome, Srinivasa

2006-11-07 Thread Patrick Linskey
Hi, Srinivasa is now a committer on OpenJPA. Welcome, Srinivasa! -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc

Localizer.forPackage() and startup time

2006-11-08 Thread Patrick Linskey
., when the localizer is not used). Since we obtain Localizer instances statically, this should speed up the first load of any class that has a Localizer reference. What do others think about this tradeoff? -Patrick -- Patrick Linskey BEA Systems, Inc

RE: [VOTE] publish openjpa 0.9.6-incubating podling release

2006-11-08 Thread Patrick Linskey
+1 -- Patrick Linskey BEA Systems, Inc. ___ 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: Localizer.forPackage() and startup time

2006-11-09 Thread Patrick Linskey
Implemented with 473057. Man, I wish that Java had universal access syntax. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA

JDBCBrokerFactory.synchronizeMappings()

2006-11-10 Thread Patrick Linskey
Hi, It seems like this method should call MappingTool.setRepository() rather than requiring that a new repository be constructed. Is this an oversight, or is the lack of the call intentional? -Patrick -- Patrick Linskey BEA Systems, Inc

RE: How to build an OpenJPA release

2006-11-10 Thread Patrick Linskey
Agreed. I'll go further and nominate someone not employed by BEA, unless it's Eddie, who doesn't do hands-on OpenJPA coding in his day job. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message

RE: [DISCUSS] Making a release

2006-11-12 Thread Patrick Linskey
from the release candidate branch. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries

RE: [DISCUSS] Making a release

2006-11-12 Thread Patrick Linskey
On Nov 12, 2006, at 1:26 PM, Patrick Linskey wrote: I think that the issue is that the thing that is voted on is the tag. Is that actually right? My understanding was that the thing that is voted on is the artifacts (in this case, the binary and source zip archives

RE: [VOTE] [SECOND ATTEMPT] publish openjpa 0.9.6-incubating release

2006-11-12 Thread Patrick Linskey
+1 -- Patrick Linskey BEA Systems, Inc. ___ 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: openjpa.Id property

2006-11-14 Thread Patrick Linskey
PersistenceUnitName might be useful), or should I just create the ID-related one, since that's all I really need right now? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may

RE: openjpa.Id property

2006-11-14 Thread Patrick Linskey
context names. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may

RE: InvalidStateException

2006-11-15 Thread Patrick Linskey
and registerSynchronization call just happen to both use the word 'synchronize'. It is possible that setting one would have an impact on the other, but the settings are not directly related. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice

RE: Escaping reserved words in generated sql?

2006-11-16 Thread Patrick Linskey
We've historically always taken the approach of avoiding the word altogether, rather than escaping the word. It certainly wouldn't be difficult to modify DBDictionary to escape reserved words instead of avoiding them, though. -Patrick -- Patrick Linskey BEA Systems, Inc

RE: Branch or tag?

2006-11-21 Thread Patrick Linskey
Since there is always the possibility of maintaining a branch, we need a tag to represent the beginning of that branch -- with no changes ever being committed to the tag. Really? I was under the assumption that svn took care of remembering where the branch was moved from, thus

RE: Two more release artifacts for next time

2006-11-22 Thread Patrick Linskey
Shouldn't Maven have some way to just do that declaratively, so that the Maven framework can go and fetch the other dependencies? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together

RE: Two more release artifacts for next time

2006-11-22 Thread Patrick Linskey
Do we care about supporting Maven 1 artifacts? I know nothing about maven, including what versions people use out there. My uneducated opinion is that we should not do extra work for old-version support if we can get away with it. -Patrick -- Patrick Linskey BEA Systems, Inc

RE: mapping a ListString

2006-11-24 Thread Patrick Linskey
I'm not 100% sure, but I don't think that that was part of what was in the initial OpenJPA contribution. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may

RE: combining annotations with xml

2006-11-26 Thread Patrick Linskey
. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ 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: openjpa NativeQuery and NamedNativeQuery only allow select sql statements

2006-12-04 Thread Patrick Linskey
Hi, How are you executing the query? I'm guessing that you're using Query.getResultList() or Query.getSingleResult() instead of Query.executeUpdate(). -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email

RE: OneToOne Broken

2006-12-11 Thread Patrick Linskey
. For people who are relying on automatic enhancement, this certainly is a surprising situation to end up in. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may

RE: Collection (or Map) relationships and null

2006-12-11 Thread Patrick Linskey
If you have a null indicator for the collection / map field, then OpenJPA will preserve the null-ness. Otherwise, the default value will be dictated by what your no-args constructor does (or, equivalently, what your member field initializations do). -Patrick -- Patrick Linskey BEA Systems, Inc

RE: Flush all caches?

2006-12-11 Thread Patrick Linskey
There's certainly nothing wrong with that approach. However, the situation is not as simple as it seems. When used in a JTA environment, by default an EntityManager will use a transactional persistence context. This means that each transaction essentially automatically gets a new

RE: Collection (or Map) relationships and null

2006-12-11 Thread Patrick Linskey
-Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 2:23 PM To: open-jpa-dev@incubator.apache.org Subject: Re: Collection (or Map) relationships and null On Dec 11, 2006, at 2:09 PM, Patrick Linskey wrote: If you have a null

updating docs; unifying websites

2006-12-11 Thread Patrick Linskey
. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may

RE: Flush all caches?

2006-12-11 Thread Patrick Linskey
The spec defines that the way to get application-managed EMs is via a call to Persistence.createEntityManager(). Container-managed EMs come from PersistenceProvider.createContainerEntityManager() (or something like that). App managed em suck because you can't use JTA transactions.

RE: extending the life of a LRS query

2006-12-11 Thread Patrick Linskey
FWIW, OpenJPA uses SQL syntax (rather than JDBC) for ranges for all databases but JDataStore, to my knowledge. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may

RE: Get primary key from persistent bean

2006-12-11 Thread Patrick Linskey
On Dec 11, 2006, at 6:03 PM, Craig L Russell wrote: Hi Dain, I've never seen an @Entity without an @Id annotation. I don't believe it is a valid JPA mapping without an @Id. That said, it's not required to be named Id. I'm not using annotations at all. Everything is done in the

RE: Strange exception while running test cases for kodo

2006-12-12 Thread Patrick Linskey
How are you deploying your application? (J2EE, J2SE, ...) Can you post the source to the classes, or at least IdentifiablePersistentEntity? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message

RE:

2006-12-12 Thread Patrick Linskey
On Dec 12, 2006, at 6:24 PM, Dain Sundstrom wrote: Does JPA guarantee that only one bean will be activated for a specific pk per transaction? Yes. Specifically, will OpenJPA ever create more that one bean for a specific Class:PK in a single transaction? No. The full story

RE: Are relation sets identity, pk or bean.equals() based?

2006-12-13 Thread Patrick Linskey
-Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 2:56 PM To: open-jpa-dev@incubator.apache.org Subject: Re: Are relation sets identity, pk or bean.equals() based? What I'm really asking is when OpenJPA loads a one-to-many field,

RE: Are relation sets identity, pk or bean.equals() based?

2006-12-13 Thread Patrick Linskey
If you declare the field to be an interface type and you don't initialize the field to anything, I don't remember how we decide what impl to use. Looking at the code in ProxyManagerImpl.java, it appears that we default to ArrayList for fields declared as type Collection, HashSet

RE: Setting a datasource and a transaction manager

2006-12-13 Thread Patrick Linskey
I believe that you can set openjpa.ConnectionDriver property to the actua DataSource to use, and OpenJPA will use it. Of course, you can only do this in code, and if you use a Map (not a Properties object). -Patrick -- Patrick Linskey BEA Systems, Inc

RE: Debugger Not Working?

2006-12-31 Thread Patrick Linskey
Note that the datacache is enabled by default. To turn off, set openjpa.DataCache to false. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information

RE: Generation of entity classes

2007-01-01 Thread Patrick Linskey
Generally-speaking, you should be able to bootstrap new classes into OpenJPA over time. There are some situations that will prevent this (i.e., if exclude-unlisted-classes is set to true, and possibly some automatic class-scanning modes). -Patrick -- Patrick Linskey BEA Systems, Inc

RE: Getting all the ClassMetaDatas

2007-01-01 Thread Patrick Linskey
-Original Message- From: Shay Banon [mailto:[EMAIL PROTECTED] Sent: Monday, January 01, 2007 1:11 PM To: open-jpa-dev@incubator.apache.org Subject: Getting all the ClassMetaDatas ... p.s. I am the author of Compass, so once I have this nailed down, we will have Search

RE: Getting all the ClassMetaDatas

2007-01-01 Thread Patrick Linskey
the callbacks. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may

RE: Getting all the ClassMetaDatas

2007-01-01 Thread Patrick Linskey
on the org.apache.openjpa.persistence package or sub-packages. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its

RE: Getting all the ClassMetaDatas

2007-01-02 Thread Patrick Linskey
-Original Message- From: Patrick Linskey Sent: Tuesday, January 02, 2007 1:44 AM To: open-jpa-dev@incubator.apache.org Subject: RE: Getting all the ClassMetaDatas You may also be interested in the StateManager.getDirty() method, which returns a BitSet corresponding

RE: @IdClass annotation for id field of type byte[]

2007-01-02 Thread Patrick Linskey
You could do this with an @Externalizer that converts the byte[] into a long or a string or what have you, and a @Factory that reverses it. -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email message

RE: Perform automatic drop and create db schema

2007-01-02 Thread Patrick Linskey
-Original Message- From: Shay Banon [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 2:33 PM To: open-jpa-dev@incubator.apache.org Subject: RE: Perform automatic drop and create db schema Automatically clean that data without dropping the tables makes even more

  1   2   3   4   5   6   >