Re: Is there a desire to address OPENJPA-1376 (allocationSize incorrect implementation)?

2011-01-26 Thread Mark Struberg
Humm, It _should_ work like the following. The sequencer has a few reserved ids. E.g. lastId = 312 reservedUntilId=349 while (lastId == reservedUntilId) goToDataBaseAndReserveTheNextBlock(); return ++lastId; And you are saying it goes to the database also if there is still a block of

[jira] Commented: (OPENJPA-1912) enhancer generates invalid code if fetch-groups is activated

2011-01-26 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12986998#action_12986998 ] Mark Struberg commented on OPENJPA-1912: figured that I still have a few bugs

[jira] Updated: (OPENJPA-1912) enhancer generates invalid code if fetch-groups is activated

2011-01-26 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg updated OPENJPA-1912: --- Attachment: OPENJPA-1912-fix-wo_cleanup-2.patch this patch now de-externalises in the

[jira] Created: (OPENJPA-1931) Support fine-grained data acess control for queries

2011-01-26 Thread Pinaki Poddar (JIRA)
Support fine-grained data acess control for queries --- Key: OPENJPA-1931 URL: https://issues.apache.org/jira/browse/OPENJPA-1931 Project: OpenJPA Issue Type: New Feature Components:

[jira] Reopened: (OPENJPA-1847) Use a single connection when generating schema

2011-01-26 Thread Rick Curtis (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis reopened OPENJPA-1847: -- Assignee: Rick Curtis (was: Michael Dick) Found a NPE in other testing. Use a single

[jira] Closed: (OPENJPA-1847) Use a single connection when generating schema

2011-01-26 Thread Rick Curtis (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis closed OPENJPA-1847. Resolution: Fixed Fix Version/s: 2.2.0 Commited changes to 2.1.x and trunk. Use a

@PreUpdate EntityListener gets called too often?

2011-01-26 Thread Mark Struberg
Hi! The spec says (3.5.2): The PreUpdate and PostUpdate callbacks occur before and after the database update operations to entity data respectively. Does that mean that @PreUpdate should get called only before any real SQL update to the database?, or always if the entity got made dirty (but

[jira] Updated: (OPENJPA-1912) enhancer generates invalid code if fetch-groups is activated

2011-01-26 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg updated OPENJPA-1912: --- Attachment: OPENJPA-1912-enhancer.patch oops, I forgot to also attach the enhancer parts