Re: Derby test suit speed-up

2009-03-30 Thread MiƂosz Tylenda
Hello! Good to know it also works outside my laptop! It could be beneficial to find out which test cases benefit from specifying Derby timeout. I suspect we have a few. One is TestException but this is intentional. There might be others which deadlock and we do not want this. The way to find t

[jira] Created: (OPENJPA-1002) select range doesn't work on Oracle JDBC driver

2009-03-30 Thread Amy Yang (JIRA)
select range doesn't work on Oracle JDBC driver --- Key: OPENJPA-1002 URL: https://issues.apache.org/jira/browse/OPENJPA-1002 Project: OpenJPA Issue Type: Bug Components: jdbc Affects

[jira] Updated: (OPENJPA-1002) select range doesn't work on Oracle JDBC driver

2009-03-30 Thread Amy Yang (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amy Yang updated OPENJPA-1002: -- Attachment: 1002.patch The attached patch includes fix and test case. To reproduce the error, applyi

[jira] Created: (OPENJPA-1003) NullPointerException at runtime enhancement when the entity has no package

2009-03-30 Thread Julien Kronegg (JIRA)
NullPointerException at runtime enhancement when the entity has no package -- Key: OPENJPA-1003 URL: https://issues.apache.org/jira/browse/OPENJPA-1003 Project: OpenJPA

[jira] Updated: (OPENJPA-1003) NullPointerException at runtime enhancement when the entity has no package

2009-03-30 Thread Julien Kronegg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julien Kronegg updated OPENJPA-1003: Remaining Estimate: 4h (was: 0.07h) Original Estimate: 4h (was: 0.07h) > NullPoint

Re: Derby test suit speed-up

2009-03-30 Thread Donald Woods
The tests may not break, but the results could be completely different and passing for the wrong reason. Seems that we should also set derby.locks.deadlockTrace http://db.apache.org/derby/docs/10.0/manuals/tuning/perf79.html and review the trace results, since a lot of the tests just catch an

[jira] Created: (OPENJPA-1004) Derived Identity fails when parent id is auto-generated

2009-03-30 Thread Fay Wang (JIRA)
Derived Identity fails when parent id is auto-generated --- Key: OPENJPA-1004 URL: https://issues.apache.org/jira/browse/OPENJPA-1004 Project: OpenJPA Issue Type: Bug Affects Versions:

[jira] Work started: (OPENJPA-962) Support the use of delimited-identifiers

2009-03-30 Thread Dianne Richards (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on OPENJPA-962 started by Dianne Richards. > Support the use of delimited-identifiers > > > Key: OPENJPA-96

[jira] Created: (OPENJPA-1005) Add PersistenceXMLSchemaVersion(); support

2009-03-30 Thread Albert Lee (JIRA)
Add PersistenceXMLSchemaVersion(); support -- Key: OPENJPA-1005 URL: https://issues.apache.org/jira/browse/OPENJPA-1005 Project: OpenJPA Issue Type: New Feature Components: jpa Affects Ve

[jira] Updated: (OPENJPA-975) Oracle needs ability to not have an escape character for search strings.

2009-03-30 Thread B.J. Reed (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] B.J. Reed updated OPENJPA-975: -- Attachment: OPENJPA-975-trunk.patch trunk patch contains document change and code change. Does not al

[jira] Assigned: (OPENJPA-1005) Add PersistenceXMLSchemaVersion(); support

2009-03-30 Thread Albert Lee (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Albert Lee reassigned OPENJPA-1005: --- Assignee: Albert Lee > Add PersistenceXMLSchemaVersion(); support > ---

[jira] Assigned: (OPENJPA-990) setHint should return IllegalArgumentException for invalid query/lock timeout values

2009-03-30 Thread Jeremy Bauer (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Bauer reassigned OPENJPA-990: Assignee: Donald Woods (was: Jeremy Bauer) Committed OPENJPA-990_20090326.patch for Donal

[jira] Created: (OPENJPA-1006) Disabling QueryCaching at runtime does not work

2009-03-30 Thread Ravi P Palacherla (JIRA)
Disabling QueryCaching at runtime does not work --- Key: OPENJPA-1006 URL: https://issues.apache.org/jira/browse/OPENJPA-1006 Project: OpenJPA Issue Type: Bug Components: datacache Af

[jira] Updated: (OPENJPA-1006) Disabling QueryCaching at runtime does not work

2009-03-30 Thread Ravi P Palacherla (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi P Palacherla updated OPENJPA-1006: --- Attachment: openJPATestcase.zip Attached is the test case. To replicate the proble

[jira] Resolved: (OPENJPA-990) setHint should return IllegalArgumentException for invalid query/lock timeout values

2009-03-30 Thread Donald Woods (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods resolved OPENJPA-990. -- Resolution: Fixed > setHint should return IllegalArgumentException for invalid query/lock time

[jira] Reopened: (OPENJPA-466) Primary key constraint violated using (Oracle) sequence to generate ID in multithreaded app

2009-03-30 Thread Milosz Tylenda (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milosz Tylenda reopened OPENJPA-466: Although the patch applied (synchronization on PreparedStatement within NativeJDBCSeq.getSequ

[jira] Updated: (OPENJPA-982) ERROR PERFORMING QUERIES ON ORACLE TABLES WITH CLOB COLUMN

2009-03-30 Thread Joe Weinstein (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Weinstein updated OPENJPA-982: -- After review and consultation, here is a simpler fix, changing only the OracleDictionary, adding t

[jira] Created: (OPENJPA-1007) OpenJPA 2.0 iteration 6 primary task

2009-03-30 Thread Jeremy Bauer (JIRA)
OpenJPA 2.0 iteration 6 primary task Key: OPENJPA-1007 URL: https://issues.apache.org/jira/browse/OPENJPA-1007 Project: OpenJPA Issue Type: New Feature Components: jpa Affects Versions: 2.0.

[jira] Updated: (OPENJPA-878) Support default query hint for query timeout

2009-03-30 Thread Donald Woods (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-878: - Attachment: OpenJPA-878-db2.tgz DB2 for Linux setup scripts for testing. > Support default quer

[jira] Commented: (OPENJPA-1004) Derived Identity fails when parent id is auto-generated

2009-03-30 Thread Fay Wang (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693940#action_12693940 ] Fay Wang commented on OPENJPA-1004: --- The PCEnhancer generates pcCopyKeyFieldsToObjectId

[jira] Updated: (OPENJPA-1004) Derived Identity fails when parent id is auto-generated

2009-03-30 Thread Fay Wang (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fay Wang updated OPENJPA-1004: -- Attachment: OPENJPA-1004.patch > Derived Identity fails when parent id is auto-generated > --

How to run database specific test

2009-03-30 Thread Amy Yang
Hi All,I found a Database specific problem recently. To run test for the fix, I think it would be good to run our test cases on a specific Database. Does anyone know if Oracle is available in Teamcity? Is it possible to target one test of the entire run to a specific database? Thanks, Amy

Re: How to run database specific test

2009-03-30 Thread Michael Dick
Hi Amy, There are a few options. You could create a separate persistence-unit for your database and specify the connection information in the persistence unit (this is better for embeddable dbs like Derby). If it's not something you can assume other devs have you'll probably want to go with anothe

[jira] Updated: (OPENJPA-951) Javadoc jar file does not contain legal files

2009-03-30 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-951: - Fix Version/s: 1.2.1 2.0.0 1.3.0 1.0.4

[jira] Updated: (OPENJPA-1004) Derived Identity fails when parent id is auto-generated

2009-03-30 Thread Fay Wang (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fay Wang updated OPENJPA-1004: -- Attachment: OPENJPA-1004-1.patch Testcase is attached. > Derived Identity fails when parent id is au

Re: How to run database specific test

2009-03-30 Thread Amy Yang
Thanks a lot, Michael.So basically we manually run the cases for specific database in local environment right? Thanks, Amy 2009/3/31 Michael Dick > Hi Amy, > > There are a few options. You could create a separate persistence-unit for > your database and specify the connection information in the