Re: Errors setting up openjpa projects in Eclipse

2007-01-06 Thread Igor Fedorenko
How do you generate Eclipse projects? mvn eclipse:eclipse from OpenJPA source root almost ;-) works for me. I manually fix openjpa-kernel/target/generated-sources source path after importing projects, but everything else seems to be handled properly. Rahul Thakur wrote: Hi, I am just

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

2007-01-02 Thread Igor Fedorenko
You can use use RAW(16) to store GUIDs in Oracle. This datatype is allowed in primary keys. -- Regards, Igor Dain Sundstrom wrote: Can you have java field of type byte[] that maps to a NUMERIC (or heck a varchar) in he db? I'm guessing that Kevin's guid is a fixed 128 bit number. If it is

[jira] Commented: (OPENJPA-91) java.lang.VerifyError on websphere after application reload

2006-12-22 Thread Igor Fedorenko (JIRA)
[ http://issues.apache.org/jira/browse/OPENJPA-91?page=comments#action_12460593 ] Igor Fedorenko commented on OPENJPA-91: --- Also, how do you configure database connection? Do you use WAS datasource or tell OpenJPA driver/connection details

Re: Auto create tables?

2006-12-13 Thread Igor Fedorenko
Is it possible to use SynchronizeMappings without persistent class list? In my case it is kinda difficult to create (and maintain) persistent class list and it would be really nice not to have to run mapping tool after every change, even if that would mean somewhat slower startup. --

[jira] Updated: (OPENJPA-63) Better pessimistic lock support for DB2 v8.2+

2006-11-11 Thread Igor Fedorenko (JIRA)
[ http://issues.apache.org/jira/browse/OPENJPA-63?page=all ] Igor Fedorenko updated OPENJPA-63: -- Attachment: db2-selectForUpdate2.patch.diff Revised patch that uses WITH RR USE AND KEEP UPDATE LOCKS for-update clause and tolerates JDBC 2.x (read

[jira] Commented: (OPENJPA-63) Better pessimistic lock support for DB2 v8.2+

2006-11-08 Thread Igor Fedorenko (JIRA)
[ http://issues.apache.org/jira/browse/OPENJPA-63?page=comments#action_12448377 ] Igor Fedorenko commented on OPENJPA-63: --- I guess I have not explained the problem I was trying to solve, so let me do that before I answer your specific

[jira] Created: (OPENJPA-63) Better pissimistic lock support for DB2 v8.2+

2006-10-04 Thread Igor Fedorenko (JIRA)
Environment: IBM DB2 UDB v8.2 or later Reporter: Igor Fedorenko There is new SELECT FOR READ ONLY WITH RS USE AND KEEP EXCLUSIVE LOCKS syntax in DB2 v8.2 and later that can be used to implement pessimistic locks for selects with multiple from tables, subselects, inner/outer joins