Skip to content

[OPENJPA-2669] Add karaf feature and adapt imports #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

[OPENJPA-2669] Add karaf feature and adapt imports #5

wants to merge 2 commits into from

Conversation

cschneider
Copy link
Contributor

No description provided.

<feature name="openjpa" description="Apache OpenJPA 3 persistence engine support" version="${project.version}">
<details>Apache OpenJPA persistence engine</details>
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
<bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well alpha-1 does not sound so trustworthy :-) I just checked that you created the bundle. Is it stable ? If yes it would be great if you could release a 1.0.0 version so people know it is safe to use.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alpha-1 for EE 7 spec was cause of this TCK thing only, I didn't check the OSGi part but that would be easy to enhance and stay consistent with karaf ecosystem I think.

<bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle>
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1</bundle>
<bundle dependency="true">mvn:commons-pool/commons-pool/1.6</bundle>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should likely move to dbcp2 today no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense .. or not use require any pooling at all. I let pax-jdbc-config create a pooled DataSource

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to not handle it there

@rmannibucau
Copy link
Contributor

@cschneider how hard would it be to have a unit test with pax to ensure it is not broken in the main build?

@cschneider
Copy link
Contributor Author

A pax exam test is on my todo list. I think it is crucial to make sure the feature still works in the future.

@gnodet
Copy link

gnodet commented Oct 3, 2016

Fwiw, validating the features with the Karaf 4 maven plugin ensure that the feature can be deployed correctly. An integration test can certainly be done to actually test the bundles, but it's not necessary to verify that the bundles can be installed and resolved correctly.

@rmannibucau
Copy link
Contributor

Well I was more concerned about the runtime behavior than the installation (= ensure it deploys and then we can load properly classes, listeners etc... and that tccl is the right one).

Some work will get started soon with some lazy instantiation logic and I would like to avoid a half working state.

@cschneider cschneider closed this Oct 12, 2016
FilippoMuschera pushed a commit to FilippoMuschera/openjpaFork that referenced this pull request Jun 19, 2023
gmarseglia added a commit to gmarseglia/openjpa_isw2 that referenced this pull request Feb 5, 2025
gmarseglia added a commit to gmarseglia/openjpa_isw2 that referenced this pull request Feb 5, 2025
gmarseglia added a commit to gmarseglia/openjpa_isw2 that referenced this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants