-
Notifications
You must be signed in to change notification settings - Fork 868
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
Test QueryDSL against Batoo JPA #265
Comments
Does Batoo JPA work without any compile time bytecode enhancement? That would make testing a bit more difficult. |
As long as no serialization needed, build time instrumentation is not needed. |
Do you mean as long as we don't persist anything it's ok? This sounds like it's needed in our tests. But I will take a closer look at Batoo JPA. |
No, as long as the entity is not serialized out to the outside of the VM, that is not necessary. Hope this clarifies it. |
Ok, thanks, that clarified it. |
Some issues I ran into
The last one is a blocker, since I don't want to move the annotations, the others are just inconveniences. |
I will update the progress soon. The blocker should be resolved tomorrow as this is the only blocker bug to my knowledge. A release candidate will follow the issue's resolution. Do you mind sharing the branch or the patch to enable Batoo JPA in QueryDSL? |
Wow, you're fast ;)
I meant examples of how to use persistence.xml with jdbc parameters instead of a datasource. My settings worked, but there was a BoneCP error logging, so something went wrong.
Nice
I will use AccessType for now, but adding EmbeddedId in addition to the Id annotation to infer the access type would be a nice addition. That basic integration has already been done in the commit referenced in this issue. To enable the autodetection of Batoo JPA I need to know which class is returned by EntityManager.getDelegate() |
I had some exceptions on EntityManagerFactory startup due to configuration issues. Could you take a look? You can for example setup Querydsl like this for Eclipse
|
Released in 3.0.0.BETA2 |
Hello,
We have a new JPA 2.0 implementation - Batoo JPA that implements the spec in full with the minimum possible diversion from the spec and the primary focus being on the best performance.
We have implemented a test case that suggests the basic functionality works.
I would kindly ask you to include Batoo JPA in your supported JPA backends.
The text was updated successfully, but these errors were encountered: