What is the purpose of JDOEntityManager? Is it like a bridge between JDO And
JPA?
--
Karan Singh Malhi
For a PC object like
class Person{
String firstName;
String lastName;
String address;
}
Currently I can set a named fetch-group in the .jdo file and add it in
the fetch plan. It would've been great if I would've been able to do
the following:
Query query = pm.newQuery(Person.class);
Does a persistent-new object have an objectID. If yes, then what is
the value stored in that? How does JDO determine what value to store
in it?
--
Karan Malhi
How can I get the latest pdf of the spec ?
--
Karan Singh
Hi Craig,
I am sorry, but I dont know where to go to get the pdf.
Craig L Russell wrote:
Hi Karan,
When prompted for user name and password, use your jira login and
password.
Regards,
Craig
On Feb 14, 2006, at 6:07 AM, karan malhi wrote:
How can I get the latest pdf of the spec
is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
--
Karan Malhi
with the cleanup, I'll check it all in.
Craig
On Feb 13, 2006, at 6:01 AM, Karan Malhi wrote:
Michael:
I had applied both the patches which craig had attached to the
issue. I did
not update my local copy. Probably that wouldve caused it.
On 2/13/06, Michael Bouschen [EMAIL PROTECTED] wrote
, Michelle Caisse [EMAIL PROTECTED] wrote:
Hi Karan,
I think that you need to do maven tck20.build from trunk before trying
to run the TCK. This will build the required dependencies that maven is
complaining about and install them in your local maven repository.
-- Michelle
Karan Malhi
|artnology GmbH
|Milastr. 4
Tel +49 (0)30 4435 099 26 | 10437 Berlin
Fax +49 (0)30 4435 099 99 | http://www.artnology.com
___|__
--
Karan Malhi
Here is the response from Brett Porter regarding the ibiblio issue
-- Forwarded message --
From: Brett Porter [EMAIL PROTECTED]
Date: Oct 29, 2005 5:40 PM
Subject: Re: maven ibiblio issue
To: karan malhi [EMAIL PROTECTED]
Libraries shouldn't ever be removed from Ibiblio. I'm
Hi,
I was looking at AllOtherTests on the wiki. I looked at A8.3-11 which
is filed as JDO-188 on JIRA.
My understanding is that since A8.3-11 is an assertion for JDOHelper, so
the methods static Object[] getObjectIds (Object[] pcs); static
Collection getObjectIds (Collection pcs); should
-2.7.4.jar
If 2.7.5 is not needed then i can submit a patch and fix this issue (i
thought this thing was fixed earlier).
--
Karan Malhi
).
--
Karan Malhi
--
Michael Bouschen [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED] http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin
--
Karan Malhi
(address.contains(add) allowedCities.contains(add.city
));
query.declareParameter(Set allowedCities);
query.setImports(import java.util.*);
query.setVariable(Address add);
query.execute(allowed);
--
Karan Malhi
Multiple maven goals in trunk: clean, build tck20; clean, build ri11;
clean, build ri20. But the build target for tck20 also (re)installs schema.
Would like to have a maven goal that builds dependencies as well. AI Karan
will look into build dependencies in sister projects. Only shows up
://jira.codehaus.org/browse/MPCONSOLE-10
--
Karan Malhi
@db.apache.org, [EMAIL PROTECTED]
Hi Craig,
What is the purpose of get/setUserObject in the pm api? What would be
the
use-case where i would use these methods?
--
Karan Malhi
--
Karan Malhi
Michael Bouschen [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED] http://www.tech.spree.de
is set to an empty string for the purpose of setting
jdo.tck.schema to schema.sql, as you point out. However, the value 0 is
needed for the name of the database schema, as in applicationidentity0.
-- Michelle
Karan Malhi wrote:
Hi Michelle,
If you specify a mapping = 0 , maven basically
if the Tests would
be able to obtain a connection .
On 9/23/05, Karan Malhi [EMAIL PROTECTED] wrote:
Hi Michelle,
I agree. If you look at the contents of schema.sql under
test/sql/derby/applicationidentity
CREATE SCHEMA applicationidentity0;
SET SCHEMA applicationidentity0
PROTECTED]
P.S. A good JDO? O, Gasp!
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Karan Malhi
Hi Michael,
I saw the wiki on query tests. Neat work. I had a question, what is the
difference between the positive test and negative test. Does that have
any affect on the way the testcase code is written?
Regards
Apache Wiki wrote:
Dear Wiki user,
You have subscribed to a wiki page or
Hi Mathew,
This is what the build goal looks like in tck20/maven.xml
goal name=build
attainGoal name=default/
attainGoal name=setProps/
attainGoal name=privateInstallSchema/
attainGoal name=privateRuntck.jdori/
attainGoal name=result/
/goal
So you can
to changing business requirements and dramatically reduce the
costs
of data access and service integration.
--
Karan Malhi
276-5638 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Karan Malhi
/jdolatest/jdo/trunk/tck20/target/logs/20050922-234348/TCK-
results.txt' for details.
On 9/22/05, Karan Malhi [EMAIL PROTECTED] wrote:
I was able to reproduce the error (not fully though), just the part where
it looks for JDOTCKTestCases.list. Below is the error(partial output)
Problems
Hi Michael,
I tried to navigate to Rollback.java using viewcvs at svn.apache.org.
Below is the link to that:
http://svn.apache.org/viewcvs.cgi/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/transactions/Rollback.java?rev=290570view=markup
However, for some reason the link created on
am not a
very heavy linux user and just know some basic commands on it. So , if
there are any switches or options available to create a more svn like
patch, then let me know please.-- Karan Malhi
36,38c36
util:tokenize var=propertyPieces delim==${goal}/util:tokenize
PROTECTED] [EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Karan Malhi
Hi Michael,
I have noticed one thing in the tests. The BatchTestRunner creates a new object
for each TestCase and then calls the test() method. Since each one of them
inherits the pmf instance variable, dont you think that with each test we are
trying to get a new pmf and that initiates
Hi Craig/Michael,
+1 on this strategy.
I was also thinking about other available options like ThreadLocal,
where we could add the PMF to the ThreadLocal object one time at start
of tests.
Plus we should also set some connection pool size instead of going with
defaults of c3p0/dbcp.
The only
Do we really need to close PMF after each test run? I am not very sure
why we would do that. We could adapt a policy of not closing pmf, but
only those tests which require an explicit closing of pmf would call
closePMF() or something like this which would
1. explicitly close the pmf in cache
Hi Michael,
In that case we should not use connection pooling at all. The reason is
that even if the JDO implementation returns back the same connection
pool if given the same pmf properties file again, then it appears that
the implementation does not get rid of the connection pool and gives
Yes,
I guess i have enough information.
Karan Singh
Senior Technical Consultant
Learnquest
-Original Message-
From: Craig Russell [mailto:[EMAIL PROTECTED]
Sent: Mon 9/19/2005 1:51 PM
To: jdo-dev@db.apache.org
Subject: Re: connection pool settings for c3p0
Hi Michael,
On Sep 19,
This JIRA email thing working is really nice!!
Karan Singh
Senior Technical Consultant
Learnquest
-Original Message-
From: Michelle Caisse (JIRA) [mailto:[EMAIL PROTECTED]
Sent: Mon 9/19/2005 1:49 PM
To: jdo-dev@db.apache.org
Subject: [jira] Closed: (JDO-134) need email notification
Hi Michelle,
Would i have enough rights to create issues on JIRA?
Also i think that the below should be on the wiki under the Preferred/Best
practices section or something:
Once we determine that
there is an issue that potentially involves a change to the repository,
we should enter a JIRA
JDO? O, Gasp!
--
Karan Malhi
Where are we doing connection pool settings for c3p0? I couldnt find the
c3p0.properties file anywhere
--
Karan Malhi
Hi Craig,
JDO-135 status on JIRA is unresolved. Is there any other issue with 1.5 for
runtime20 which is not listed on JIRA?
--
Karan Malhi
the command for that.
PS: if while setting a property while maven console is running, you
give the wrong property name, then you will have to reset all
properties or start the console again.-- Karan Malhi
?xml version=1.0 encoding=UTF-8?
!--
Copyright 2005 The Apache Software Foundation
Licensed
i guess the .jelly files must be blocked. let me send you the plugin.jelly file as plugin.jelly.txtOn 9/17/05, Craig Russell
[EMAIL PROTECTED] wrote:Hi Malhi,I only got one attachment:
maven.xml. Is the jelly attachment in another message?CraigOn Sep 17, 2005, at 4:09 PM, Karan Malhi wrote:
Hi
. Just put it in the JDO file for now.
--
Andy
--
Karan Malhi
Hi Andy,
It works!!
On 9/16/05, Karan Malhi [EMAIL PROTECTED] wrote:
Thanks Andy,
It works!!
On 9/16/05, Andy Jefferson [EMAIL PROTECTED] wrote:
I tried to put it in a jdo file, but it still didnt work.
Karan,
One other thing to do. JPOX doesn't yet load the metadata
:414:71: copy
/home/karan/Projects/jdo/trunk/tck20/test/jdo/[[applicationidentity]] not
found.
--
Karan Malhi
look at the maven
representation of the configurations and see how the collection of
configurations is wrapped and unwrapped.
Craig
On Sep 16, 2005, at 4:00 PM, Karan Malhi wrote:
I start maven console using the following command:
[EMAIL PROTECTED]:~/Projects/jdo/trunk/tck20$ maven -bo
Hi ,
I am trying to call
pm.getSequence(org.apache.jdo.tck.pc.company.TestSequence) and i get a
JDOUserException that jpox is unable to find the sequence.
Has anybody successfully obtained a sequence with jpox before?
Can anybody guide me as to what am i missing in writing this test case.
If
multiple threads and make sure
that they don't interfere with each other (using a barrier might work
here). Nontransactional sequences should not block, but only serialize
through the increment part of the code.
Craig
On Sep 15, 2005, at 6:58 PM, karan malhi wrote:
Hi ,
I am trying to call
.
Craig
On Sep 15, 2005, at 6:58 PM, karan malhi wrote:
Hi ,
I am trying to call
pm.getSequence(org.apache.jdo.tck.pc.company.TestSequence) and i
get a JDOUserException that jpox is unable to find the sequence.
Has anybody successfully obtained a sequence with jpox before?
Can anybody guide me
Hi,
Below is the partial javadoc for the allocate() method in the Sequence
interface:
public void *allocate*()
Provides a hint to the implementation that the application will need
additional sequence value objects in short order.
What is short order ?
--
Karan Malhi
questions below.
Karan Malhi wrote:
Hi,
I have identified certain steps on how to approach a test case. This is what
i understand i should do, lets take an example scenario of writing Test
Cases for Chapter 12 Sequences
1. Read section on Sequences in chapter 12 and take a note of section id
Subject: Re: JDO-135
Hi Karan,
If possible could you update the 135 to add that one?
Thanks,
Craig
On Sep 13, 2005, at 8:50 AM, Karan Malhi wrote:
Hi Craig,
Actually i see a some more warnings when i compile under jdk 5.
There is one class (which i dont remember right now) which issues
Hi Michelle,
This is nice!!. I feel that the template changes should be made by submitting
changes/suggestions to you. Everybody should not be allowed to change the
template. I would like to see a Test Case example/sample code in the .java
file.
Karan Singh
Senior Technical Consultant
different items - a really stripped down template for fast editing AND a
heavily annotated working example?
-- Michelle
Karan Malhi wrote:
Hi Michelle,
This is nice!!. I feel that the template changes should be made by submitting
changes/suggestions to you. Everybody should not be allowed
Hi Craig,
I have attached the patches for this issue
Craig Russell wrote:
Hi Karan,
I just filed a bug that you might take a look at, JDO-135.
This is the only issue that I know of compiling JDO under JDK 5.
Craig
Craig Russell
Architect, Sun Java Enterprise System
This is great!! . I will try to follow these steps to write a TestCase
and then i would be able to add/modify some stuff if required.
Michelle Caisse wrote:
Hi,
I have added a section called to How to Develop a Test to
http://wiki.apache.org/jdo/TechnologyCompatibilityKit. There are a
D-10783 Berlin
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Karan Malhi
proposed.
2. Change the name to jdo.tck.cleanupaftertest (with Michael's default of
true).
If you send a patch with these changes, Michael can check it in.
Thanks,
Craig
On Sep 11, 2005, at 2:53 PM, karan malhi wrote:
hi,
Here is the updated maven.xml.patch file. I have added
Hi Craig,
Whatever action items were assigned to me, i have completed them. Is there
any other area i could contribute in the project? If you could suggest
something, that would help
--
Karan Malhi
://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Karan Malhi
-Djdo.tck.identitytypes line. The diff shows the line being deleted
and inserted.
Thanks,
Craig
On Sep 12, 2005, at 6:59 PM, karan malhi wrote:
Here is the patch for JDO-131 incorporating Craig and Michael's
recommendations.
--
Karan Singh
Index:
C:/ApacheJDO/trunk/tck20/test/java/org/apache/jdo
the indenting or something on the echo
-Djdo.tck.identitytypes line. The diff shows the line being deleted
and inserted.
Thanks,
Craig
On Sep 12, 2005, at 6:59 PM, karan malhi wrote:
Here is the patch for JDO-131 incorporating Craig and Michael's
recommendations.
--
Karan Singh
Index:
C
Hi,
I am submitting the patch files for review for JIRA issue 131.
--
Karan Singh
Index: C:/ApacheJDO/trunk/tck20/test/java/org/apache/jdo/tck/JDO_Test.java
===
---
Hi Michelle,
I have attached the UML diagram for the company pacakge. could you
publish this to the wiki/incubator website. The file (a jpg image file)
is in the CompanyPackageOverview.jar file . The reason i put in the jar
is because when i try to send an image file of the UML diagram of the
.: ++49/30/217 520 12 http://www.spree.de/
---
--
Karan Malhi
This might not deserve another package. There are not that many tests
here. So I'd guess that delete could go into the api package.
Agreed. We have four assertions for delete queries, so they could go
into api.
Wouldnt it be more intuitive if we put the delete queries in a seperate
Hi Michael B and Michael W,
Thanks for the information. This helps me understand the way tests are
run. I dont think 10% overhead is that big.
Can't we share the pmf ? I mean, my understanding is that all tests
subclass JDO_Test. So cant we specify the pmf in JDO_Test and the rest
of the test
We still have one pmf instance per test class. Several tests
implemented by the same test class share the same pmf instance, thus
they reuse connections in the same pool.
Shouldnt we then declare it static or store it in a ThreadLocal so that
each instance gets the same copy instead
What about the documentation on the incubator.apache.org/jdo website.
Maven could generate a lot of stuff for that too. Could we think about
moving some stuff from the wiki to the documentation on the incubator
site. The reason is that there is a lot of good information on the wiki,
but some
It seems like the tests are trying to create a connection pool with each
test. Is there any reason we are not getting the pool just once at the
start of the test and then reusing connections from that pool?
--
Karan Singh
the site; it would be great if you as a
newcomer to the project could suggest specific things to do.
Thanks,
Craig
On Sep 7, 2005, at 1:02 PM, karan malhi wrote:
What about the documentation on the incubator.apache.org/jdo website.
Maven could generate a lot of stuff for that too. Could we think
an outline we can
fill it out and publish it. I'd think this belongs on the site. What
do you think?
Craig
On Sep 7, 2005, at 3:47 PM, karan malhi wrote:
Hi Craig,
The first thing i would like to suggest is a quick How-To. How to run
tests, how and when to run tests offline, what
Thanks Michael,
Also, do i have to installSchema for all inheritance configuration after
each test run? This is because for relationship tests i know i just need
to installSchema once, but for inheritance tests , the moment i run the
test the second time, i get a primary key / duplicate key
Russell wrote:
Hi Karan,
The log4j property file is found at tck20/test/conf/log4j.properties.
Let us know once you get the right properties, and we can update the
how to run the tck page.
Craig
On Sep 4, 2005, at 6:09 PM, karan malhi wrote:
These properties can be found on the following
How can i view the derby schema? is there a gui front-end which i can
use? How do i start it the gui
--
Karan Singh
What is the significance of jdo.tck.mapping property in the xxx.conf
files. Is is telling maven to use a particular schema. i.e. if i specify
the value jdo.tck.mapping=1, would it run the test against
applicationidentity1 | datastoreidentity1 schemas as specified in the
respective schema1.sql
i run a test
for a particular configuration, i should actually be running 5 tests for
one xxx.conf file. Is that correct?
Craig Russell wrote:
Hi Karan,
On Sep 4, 2005, at 4:13 PM, karan malhi wrote:
What is the significance of jdo.tck.mapping property in the xxx.conf
files. Is is telling
in the
tck20/test/conf/jdori.properties configuration file.
I don't know the exact property to use, though.
Can JPOX experts share these properties? And perhaps update the
jdori.properties with the values and a clue as to how to do this?
Craig
On Sep 4, 2005, at 3:40 PM, karan malhi wrote:
Can i
Hi Craig,
_the wiki still shows the following :_
is changed to become
bean id=company1 class=org.apache.jdo.tck.pc.company.CompanyFactoryImpl
factory-method=newCompany
_
Whereas your previous email mentioned that the above should now be_
is changed to become
{{{
- *bean
I am running inheritance1.conf. The first time when i run it, it works
fine (i do get some errors), but when i run it two or more times i get
the following error:
[java] ERROR 23505: The statement was aborted because it would have
caused a duplicate key value in a unique or primary key
Hi,
Is there a problem with the svn repository. I am trying to checkout a
fresh copy on my laptop and i get the error message that
http://svn.apache.org cannot be contacted.
Then i tried to view the repository online at
http://svn.apache.org/viewcvs/incubator/jdo and i get the same error.
Hi,
Any ideas on how to use an IDE with this project. I am open to using any
IDE (as long as i can download it for free). I am currently using
eclipse. Any kind of help would be great.
Karan Singh
,
org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
[java] [ERROR] Java Result: 1
--
Karan Malhi
doesn't do the trick for you, please
run maven build and see if that fixes it.
Craig
On Aug 13, 2005, at 6:56 AM, Karan Malhi wrote:
Thanks Michael,
This definitely helped. I ran maven runtck.jdori and it gave me
errors. It
could not establish a connection to the database. Below
failures, 24 errors Datastore identity 17
failures 25 errors.
There is a summary of the failures and errors at the end of the
run. All of them should be represented by JIRA issues. And we're
not finished writing TCK tests yet either.
On Aug 13, 2005, at 11:32 AM, Karan Malhi wrote
.
Craig
--
Andy
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Karan Malhi
there, will use the
JPOX repo (which only contains JPOX artifacts) next.
--
Andy
--
Karan Malhi
into the e.g. api20 directory and maven install-snapshot.
The maven default build from the trunk should build everything (each
sub-project's install-snapshot) in the proper order.
Craig
On Aug 4, 2005, at 10:37 PM, Karan Malhi wrote:
I checked the /repository/apache-jdo/jars folder
as
jpox-enhancer-SNAPSHOT.jar so there should be no renaming of jars.
--
Andy
--
Karan Malhi
Playfully doing something difficult, whether useful or not, that is
hacking. -- Richard Stallman
+maven.repo.remote = http://www.jpox.org/downloads/maven
+
jdo.tck.pcclasses.sources = \
org/apache/jdo/tck/pc/lifecycle/StateTransitionObj.java \
org/apache/jdo/tck/pc/company/Address.java \
-- Karan Malhi
Index: project.properties
/org/apache/jdo/tck/util/SwingTestRunner.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 warnings
-- Karan Malhi
Index: test/java/org/apache/jdo/tck/enhancement/EnhancerTest.java
===
--- test
the latest beta versions?
If i need to make a change to the README.txt (like add the version numbers
for JPOX jars), then do i submit a diff of README.txt file to the mailing
list?
Regards
On 8/5/05, Craig Russell [EMAIL PROTECTED] wrote:
Hi Karan,
On Aug 4, 2005, at 8:50 PM, Karan Malhi
a newby myself...)
Craig
On Aug 4, 2005, at 9:54 PM, Karan Malhi wrote:
Is there a specific location in the repository where i need to put derby
jar
files?
On 8/5/05, Karan Malhi [EMAIL PROTECTED] wrote:
Hi Craig,
The information was exactly where it should have been . I was just
Unable to obtain goal [multiproject:install-snapshot-callback] --
/home/karan/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181:54: fail
There were test failures.
Total time: 3 minutes 47 seconds
Finished at: Fri Aug 05 01:21:05 EDT 2005
On 8/5/05, Karan Malhi [EMAIL PROTECTED] wrote:
I
time: 7 seconds
Finished at: Fri Aug 05 01:30:27 EDT 2005
On 8/5/05, Karan Malhi [EMAIL PROTECTED] wrote:
Build Failed this time too. Here is a partial output. Am i doing something
wrong here?
+
| Executing multiproject:install-snapshot-callback JDO2
Running 'maven build' in tck11 also failed. Below is the output:
[EMAIL PROTECTED]:~/Projects/jdo/trunk/tck11$ maven build
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download jdo1-api-SNAPSHOT.jar.
WARNING:
the specific areas are .
Will read the spec and the wiki carefully and then will get back to you as
to what i am interested in.
Regards
On 8/2/05, Craig Russell [EMAIL PROTECTED] wrote:
Hi Karan,
On Jul 31, 2005, at 11:33 AM, Karan Malhi wrote:
Can anybody give me a starting point to start
Can anybody give me a starting point to start contributing ?
96 matches
Mail list logo