question regarding jdo 2.1

2008-09-18 Thread Karan Malhi
What is the purpose of JDOEntityManager? Is it like a bridge between JDO And JPA? -- Karan Singh Malhi

Re: fetch group question

2007-10-14 Thread Karan Malhi
Group(criteria); On 10/14/07, Karan Malhi <[EMAIL PROTECTED]> wrote: > 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 > t

fetch group question

2007-10-14 Thread Karan 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);

RE: question

2007-06-29 Thread Karan Malhi
pends to a large extent on the user's metadata for the class. Several strategies can be used. Craig [1] http://en.wikipedia.org/wiki/Schrödinger's_cat On Jun 28, 2007, at 1:50 PM, Karan Malhi wrote: > Does a persistent-new object have an objectID. If yes, then what is > the v

question

2007-06-28 Thread Karan Malhi
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

Re: jpox internals docs

2006-06-22 Thread Karan Malhi
urious. -- Karan Malhi

Re: Associations with attributes/roles

2006-02-26 Thread karan malhi
I totally agree. Also, those writing books should have an RDBMS backend for examples. I have read books (and recommended to my students), which are really really informative, but they dont show things like configuring a db, mapping to a db(RDBMS) etc. I understand that this was an issue earlier

Re: latest pdf of spec

2006-02-14 Thread karan malhi
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

latest pdf of spec

2006-02-14 Thread karan malhi
How can I get the latest pdf of the spec ? -- Karan Singh

Re: [jira] Updated: (JDO-304) Query failure should print the query that failed in addition to the expected and actual results

2006-02-13 Thread Karan Malhi
on the patches. > > If you can review the patch 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

Re: [jira] Updated: (JDO-304) Query failure should print the query that failed in addition to the expected and actual results

2006-02-13 Thread Karan Malhi
ailedError: > >>Assertion A14.6.9-3 (VariableInResult) failed: > >> > >>>[java] Wrong query result: > >>>[java] expected: [Project(1, name orange, budget 250.99), > >> > >>Project(1, name orange, budget 250.99), Project(1,

Re: [jira] Updated: (JDO-304) Query failure should print the query that failed in addition to the expected and actual results

2006-02-12 Thread Karan Malhi
e, budget 250.99)] > > -- > This message 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

Re: build fails

2006-02-11 Thread Karan Malhi
t;> > >> > >>>failed. My build results show that 6 tests failed with 2 errors. > >>> > >>>On 2/11/06, Michelle Caisse <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>>

Re: build fails

2006-02-11 Thread Karan Malhi
ven 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 wrote:

Re: build fails

2006-02-11 Thread Karan Malhi
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 wrote: > > >I checked out a copy of jdo from svn and installed maven

build fails

2006-02-11 Thread Karan Malhi
downloaded The build cannot continue because of the following unsatisfied dependencies: jdo2-api-SNAPSHOT.jar jdo2-enhancer-SNAPSHOT.jar jdo2-core-SNAPSHOT.jar Total time: 1 minutes 37 seconds Finished at: Sat Feb 11 13:33:50 EST 2006 -- Karan Malhi

Re: Tests for execution in managed environments / J2EE containers?

2005-12-14 Thread Karan Malhi
> >>>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> -- > >>> __ > >>> Dipl.-Inf. Jörg von Frantzius |artnology GmbH > >>>|Milastr. 4 > >>> Tel +49 (0)30 4435 099 26 | 10437 Berlin > >>> Fax +49 (0)30 4435 099 99 | http://www.artnology.com > >>> ___|__ > >>> > >>> > >>> > >> > >> > >> > > > > > > > > > > > > > > > -- > __ > Dipl.-Inf. Jörg von Frantzius |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

Fwd: maven ibiblio issue

2005-10-29 Thread 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

IRC channel

2005-10-29 Thread Karan Malhi
What are your thoughts on setting up an irc channel for apache jdo? Is there already an IRC channel for this project? -- Karan Malhi

Help me understand this

2005-10-26 Thread karan malhi
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

Re: build failed

2005-10-22 Thread Karan Malhi
the project.xml files of jdo11 projects and found a > >>>>reference to > >>>>antlr2.7.5. Now, Ibiblio does not host 2.7.5 version, which means > >>>>that we > >>>>need to explicitly download this file or do we need to add an

Re: build failed

2005-10-22 Thread Karan Malhi
gt;> remote > >> repository to our path which points to antlr 2.7.5. I know that there > >> was > >> some issue regarding antlr2.7.5 earlier also, but cannot remember what > >> exactly was the issue and the solution to it. > >> > >> But do

build failed

2005-10-22 Thread Karan Malhi
-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

Query question

2005-10-14 Thread Karan Malhi
7;); query.setFilter("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

Re: Minutes: JDO TCK Conference Call Friday, Sep 23, 9 am PDT

2005-10-02 Thread 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 u

maven console issue

2005-09-30 Thread Karan Malhi
://jira.codehaus.org/browse/MPCONSOLE-10 -- Karan Malhi

Re: UserObject

2005-09-29 Thread Karan Malhi
t can navigate to its persistence manager > and access some application-specific data. > > This turned out to be very useful in JDO, so much so that users asked > for finer-grained UserObject information: a Map of UserKey and > UserValue. > > Craig > > From: [EMAIL

Re: PersistenceManager UserObject

2005-09-29 Thread Karan Malhi
DT > >>To: jdo-dev@db.apache.org > >>Reply-To: jdo-dev@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/ > Tel.:++49/30/235 520-33 Buelowstr. 66 > Fax.:++49/30/2175 2012 D-10783 Berlin > > -- Karan Malhi

Re: PersistenceManager UserObject

2005-09-29 Thread Karan Malhi
; Craig > > From: [EMAIL PROTECTED] > Subject: user object with pm > Date: September 29, 2005 8:24:33 AM PDT > To: jdo-dev@db.apache.org > Reply-To: jdo-dev@db.apache.org, [EMAIL PROTECTED] > > Hi Craig, > What is the purpose of get/setUserObject in the pm api? What would b

user object with pm

2005-09-29 Thread Karan Malhi
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

Re: My first test run -- 'splain me this, Lucy

2005-09-23 Thread karan malhi
of the javax.jdo.mapping.Schema PMF configuration option that is set in the jdori.properties file. This is how the implementation knows what schema to use to find the tables. ... and other things, but it's time for the meeting to start! -- Michelle Karan Malhi wrote On 09/23/05 03:37,: H

Re: My first test run -- 'splain me this, Lucy

2005-09-23 Thread Karan Malhi
t I am not sure 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;

Re: My first test run -- 'splain me this, Lucy

2005-09-23 Thread Karan Malhi
lle Caisse <[EMAIL PROTECTED]> wrote: > > Hi Karan, > > A mapping of 0 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

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
- Managing Persistence of > Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table : > datastoreidentity0.PROJECT_REVIEWER] > >18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet > exist in the datastore > >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.PERSONS" - the table apparently doesnt yet exist > in the datastore > >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet > exist in the datastore > >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt > yet exist in the datastore > >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet > exist in the datastore > >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt > yet exist in the datastore > >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt > yet exist in the datastore > >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt > yet exist in the datastore > >18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently > doesnt yet exist in the datastore > >18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for > table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt > yet exist in the datastore > > > > > > > -- Karan Malhi

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
va] Result: All (1) configurations passed. [java] See file '/home/karan/Projects/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),

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
ervice integration. > > > > > > > > > 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! > > > 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

Re: My first test run -- 'splain me this, Lucy

2005-09-22 Thread Karan Malhi
.O. Box 24163 > Federal Way, WA 98093 > www.xcalia.com <http://www.xcalia.com> > > > > Xcalia makes implementing SOA easy with agile business intermediation > software that combines heterogeneous data with services to easily develop > and deploy transactional composite applications. Enterprises can quickly > respond to changing business requirements and dramatically reduce the > costs > of data access and service integration. > > > -- Karan Malhi

Re: Run single TCK test?

2005-09-22 Thread karan malhi
f the goal. The IDE is notified that way that it should start the attaching process." Looking from the above it seems that you should add the line [mevenide-debug-start] as the first line in the goal you want to execute. Hope this helps. Regards Karan Malhi Matthew T. Adams wr

Re: Run single TCK test?

2005-09-22 Thread karan malhi
ease give us a sample maven console run? Thanks, Craig On Sep 22, 2005, at 9:01 AM, karan malhi wrote: Hi Matthew, You can also try maven console, if you are running single tests. This will save you some jvm startup time. Matthew T. Adams wrote: How do I run a single test method or test c

Re: Run single TCK test?

2005-09-22 Thread karan malhi
Hi Mathew, This is what the build goal looks like in tck20/maven.xml So you can see that the build goal calls privateInstallSchema. I think the tck20.build goal calls the build goals on all the projects falling under the tck20 scope. (look at pro

Re: Run single TCK test?

2005-09-22 Thread karan malhi
Hi Matthew, You can also try maven console, if you are running single tests. This will save you some jvm startup time. Matthew T. Adams wrote: How do I run a single test method or test class? I'd like to be able to do it via the command line as well as in NetBeans so that I ca

Re: [Jdo Wiki] Update of "QueryTests" by MichaelWatzek

2005-09-22 Thread karan malhi
Hi Michael, Nice explanation. Thanks Michael Watzek wrote: Hi Karan, A positive test case is supposed to succeed. For example, you write a test case which updates a persistent instance and commits the transaction. Then you check if the update had an effect in the database. A negative tes

Re: [Jdo Wiki] Update of "QueryTests" by MichaelWatzek

2005-09-22 Thread 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 w

Re: Detach test case names

2005-09-22 Thread Karan Malhi
keTransactional flag, if set to true, requires the > implementation to mark transactional the persistent instances > corresponding > to all instances in the closure of the detached graph. > > noapi/persistencemanager/detach/AttachMarksInstancesTransactional > A12.6.8-30If an instance that is not of a detachable class is attempted to > be attached, a JDOUserException is thrown with a nested JDOUserException > for > each such instance. > > noapi/persistencemanager/detach/AttachNonDetachableThrowsException > > > > > > > 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! > > > 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

Re: Detach test case names

2005-09-21 Thread Karan Malhi
es in the closure of the detached graph. > > noapi/persistencemanager/detach/AttachMarksInstancesTransactional > A12.6.8-30If an instance that is not of a detachable class is attempted to > be attached, a JDOUserException is thrown with a nested JDOUserException > for > each such instance. > > noapi/persistencemanager/detach/AttachNonDetachableThrowsException > > > > > > > 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! > > > 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

patches for maven console

2005-09-21 Thread Karan Malhi
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 < ${goal} < Setting property ${propertyPieces[0]} to ${propertyPi

Re: Cleanup in models.fieldtypes.Test*.java

2005-09-21 Thread Karan Malhi
What about the finally block in these tests? > finally { > if ((tx != null) && tx.isActive()) > tx.rollback(); > } > We don't do this in our sample test > (http://wiki.apache.org/jdo/SampleTest), which is supposed to be a model > of excellence. Is it a good idea or not? > > -- Michelle > -- Karan Malhi

Re: JIRA and svn commit

2005-09-21 Thread karan malhi
Hi Michael, Looks like this is a bug reported in February. It was fixed in June. I guess the link which should have been generated should have been http://svn.apache.org/viewcvs?view=rev&rev=290570 The value for rev should have been the revision number instead of the file path. You can click

Re: JIRA and svn commit

2005-09-21 Thread karan malhi
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=290570&view=markup However, for some reason the link created on t

Re: VOTE: Issue 132: Factory Sequences

2005-09-20 Thread karan malhi
You are right, I should have said, if you vote to keep the factory-class in the meta-data then i would like to see some attributes of sequence standardized. "That way we get parsing validation" I dont understand what you mean by this. Abe White wrote: 1. Remove factory-class from the metadat

Re: VOTE: Issue 132: Factory Sequences

2005-09-20 Thread karan malhi
1. Remove factory-class from the metadata. It's too much work for this late in the project. All sequences would be implemented by the JDO vendor. +1 "I wouldn't mind having the sequence-property elements as you describe, and standardizing the semantics of those that are most likely to be nee

Adding patches to JIRA issues instead of emailing them

2005-09-20 Thread Karan Malhi
hat we have the JIRA notification thing working, i think it would be a good idea to add patches to JIRA issues instead of emailing them. -- Karan Malhi

RE: Discussion of Issues

2005-09-19 Thread Karan Malhi
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 i

RE: [jira] Closed: (JDO-134) need email notification to jdo-dev on JIRA issue action

2005-09-19 Thread Karan Malhi
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 t

RE: connection pool settings for c3p0

2005-09-19 Thread Karan Malhi
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, 20

Re: connection pool settings for c3p0

2005-09-19 Thread karan malhi
Hi Michelle, For this kind of a scenario, we could have a setPMF(Properties props) and closePMF() methods in JDO_Test which will modify the cache appropriately. Michelle Caisse wrote: There are some tests in api.persistencemanagerfactory that close or attempt to close the pmf, so that would

Re: connection pool settings for c3p0

2005-09-19 Thread karan malhi
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 i

Re: connection pool settings for c3p0

2005-09-19 Thread karan malhi
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

Re: connection pool settings for c3p0

2005-09-19 Thread karan malhi
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

RE: connection pool settings for c3p0

2005-09-19 Thread 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 creatio

connection pool settings for c3p0

2005-09-18 Thread Karan Malhi
Where are we doing connection pool settings for c3p0? I couldnt find the c3p0.properties file anywhere -- Karan Malhi

Re: jpox cannot find sequence

2005-09-18 Thread Karan Malhi
> > /** > * > * @see javax.jdo.datastore.Sequence#current() > */ > public Object current() > { > return new Long(current); > } > > /** > * > * @see javax.jdo.datastore.Sequence#currentValue() > */ > public long currentValue() > { > return current; > } > } > > > If the TCK wants to define its own factory method that does what our > "SEQUENCE_TABLE" builtin does then we can point you to the relevant bits > of > code in our CVS. > > > -- > 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

Re: maven console issue

2005-09-17 Thread Karan Malhi
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 wro

maven console issue

2005-09-17 Thread Karan Malhi
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 Custom goals for this project are

maven console issue

2005-09-17 Thread Karan Malhi
ot sure if context.getVariable('variableName') works in this case. -- Karan Malhi

JDO-135 issue status on JIRA

2005-09-17 Thread 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

Re: maven console issue

2005-09-16 Thread Karan Malhi
as an element, but a collection of > collections isn't automatically unwrapped. Anyway, I'd 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 Ma

maven console issue

2005-09-16 Thread Karan Malhi
nced/jdori/[[applicationidentity]] org.apache.commons.jelly.JellyTagException: /home/karan/Projects/jdo/trunk/tck20/maven.xml:414:71: /home/karan/Projects/jdo/trunk/tck20/test/jdo/[[applicationidentity]] not found. -- Karan Malhi

updating schema.sql for jpox generated sequence_table

2005-09-16 Thread Karan Malhi
When we create a sequence using jpox and if the datastore does not have support for native sequence, then jpox creates a SEQUENCE_TABLE in the schema. For our installSchema maven goal we have drop statements for all tables, should we also add a drop statement in schema.sql for the SEQUENCE_TABL

Re: jpox cannot find sequence

2005-09-16 Thread 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. > > > > K

Re: jpox cannot find sequence

2005-09-16 Thread Karan Malhi
ecification of the > in the ORM. Just put it in the JDO file for now. > > -- > Andy > -- Karan Malhi

Re: jpox cannot find sequence

2005-09-15 Thread karan malhi
ot; part of the code. 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

Re: jpox cannot find sequence

2005-09-15 Thread karan malhi
For nontransactional sequences, start 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

jpox cannot find sequence

2005-09-15 Thread karan malhi
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. I

Writing TestCase for Sequence Assertions

2005-09-14 Thread karan malhi
I am trying to follow Michelle's instructions and writing a test case for Sequence Assertions. I have the following question: 1. What package should i put my Test Case in? 2. Which .jdo file should i add the element to? 3. I have specified my own .conf file, below are the contents of that file:

allocate method in Sequence

2005-09-14 Thread Karan Malhi
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

Re: How to Develop a Test

2005-09-13 Thread karan malhi
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 numb

Re: JDO-135

2005-09-13 Thread karan malhi
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 http://java.sun.com/pro

Re: JDO-135

2005-09-13 Thread karan malhi
I added the other warning i was getting under jdk5 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 http://java.sun.com/produc

RE: test template

2005-09-13 Thread Karan Malhi
ve two 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 sho

RE: test template

2005-09-13 Thread Karan Malhi
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 Learnq

RE: JDO-135

2005-09-13 Thread Karan Malhi
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)

RE: JDO-135

2005-09-13 Thread Karan Malhi
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 a warning of using enum as a variable name. I had reported that earlier also, i think it shows up when you do a clean build of the project. Karan Singh Se

RE: How to approach a test case

2005-09-13 Thread 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 t

How to approach a test case

2005-09-13 Thread Karan Malhi
the usage of Sequences or example meta-data information c. The name of the Test Case would be the same as the Assertion name, right? d. Is there javadocs available for JDO 2 api which i can refer to? -- Karan Malhi

Re: JDO-131 patch (updated)

2005-09-13 Thread Karan Malhi
>> > >> 1. Typo contaninig > >> > >> 2. Use spaces instead of tabs for indenting code. > >> > >> 3. You seem to have changed the indenting or something on the > >> -Djdo.tck.identitytypes line. The diff shows the line being deleted >

Re: JDO-131 patch (updated)

2005-09-12 Thread karan malhi
indenting or something on the -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:/Apac

Re: JDO-131 patch (updated)

2005-09-12 Thread 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/jd

JDO-131 patch (updated)

2005-09-12 Thread karan malhi
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/tck/JDO_Test.java === --- C:/ApacheJDO/trunk/tck20/test/java/org/apache/jdo/tc

Re: anything i could do

2005-09-12 Thread karan malhi
ing I'd look at is writing the test cases for chapter 12 Sequences. This is a bit more involved (writing a Sequence isn't trivial) but I think it is a good next project. Craig On Sep 12, 2005, at 3:13 PM, Karan Malhi wrote: Hi Craig, Whatever action items were assigned to me,

Re: anything i could do

2005-09-12 Thread Karan Malhi
eviewing that document > in preparation for the user associated objects might be a good > collaboration. > > Thanks, > > Craig > > On Sep 12, 2005, at 3:13 PM, Karan Malhi wrote: > > Hi Craig, > > Whatever action items were assigned to me, i hav

Re: JDO-131 patches for review

2005-09-12 Thread Karan Malhi
TED] Engineering GmbH > mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> > http://www.tech.spree.de/ > Tel.:++49/30/235 520-33 Buelowstr. 66 Fax.:++49/30/2175 2012 D-10783 > Berlin > > > Craig Russell > > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo > > 408 276-5638 mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]> < > [EMAIL PROTECTED]> > > P.S. A good JDO? O, Gasp! > > > > > > > > > > > > -- > Michael Bouschen [EMAIL PROTECTED] Engineering GmbH > mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]> http://www.tech.spree.de/ > Tel.:++49/30/235 520-33 Buelowstr. 66 > Fax.:++49/30/2175 2012 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

anything i could do

2005-09-12 Thread Karan Malhi
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

Re: JDO-131--updated maven.xml patch file

2005-09-12 Thread Karan Malhi
ed final boolean variable, as Michael 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, k

Re: JDO-131 patches for review

2005-09-12 Thread Karan Malhi
perties = jdori.properties > - > +# Setting this property to false will turn off cleanup of data from > database to inspect database contents after test run > +cleanup.data = true > # JDO TCK settings > jdo.tck.dblist=derby > jdo.tck.identitytypes=applicationidentity datastoreidentity > > > > > > > > > > > -- > Michael Bouschen [EMAIL PROTECTED] Engineering GmbH > mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]> http://www.tech.spree.de/ > Tel.:++49/30/235 520-33 Buelowstr. 66 > Fax.:++49/30/2175 2012 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

Re: error while sending attachments

2005-09-12 Thread Karan Malhi
nd .zip files. So i have > >>>jarred it up. > >>> > >> > >> > >>-- > >>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 > >> > > > > > > > > > > > -- > 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

Re: error while sending attachments

2005-09-12 Thread Karan Malhi
So i have > > jarred it up. > > > > > -- > 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

JDO-131--updated maven.xml patch file

2005-09-11 Thread karan malhi
hi, Here is the updated maven.xml.patch file. I have added the sysproperty to the doRuntck.iut goal also. Michael Bouschen wrote: Hi Karan Singh,, Hi Michael, Do you think we would need the same property for the iut tests? The patch which i submitted earlier does not add the sysproperty

Re: JDO-131 patches for review

2005-09-11 Thread karan malhi
Hi Michael, Do you think we would need the same property for the iut tests? The patch which i submitted earlier does not add the sysproperty for iut tests in maven.xml. Michael Bouschen wrote: Hi Karan Singh, nice work! I would like to propose three small changes: - All tck property name

Re: JDO-131 patches for review

2005-09-11 Thread Karan Malhi
> >+++ C:/ApacheJDO/trunk/tck20/project.properties (working copy) > >@@ -42,7 +42,8 @@ > > maven.junit.dir = ${jdo.tck.testdir} > > maven.junit.sysproperties = PMFProperties > > PMFProperties = jdori.properties > >- > >+# Setting this property to false will turn off cleanup of data from > database to inspect database contents after test run > >+cleanup.data = true > > # JDO TCK settings > > jdo.tck.dblist=derby > > jdo.tck.identitytypes=applicationidentity datastoreidentity > > > > > > > -- > 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

  1   2   >