Comments (3)
@aaistom on the one hand there is no strong reason for storing this class in "enum" package. At the moment I found no way to workaround this error for Java compiler.
On the other hand it's worth to use xodus-dnq with Kotlin because library DSL extensively uses delegates and other Kotlin features which do not have Java analogues. Kotlin compiler handles this package perfectly fine.
So at the moment if your are trying to use it in Java code you can try to create a Kotlin class which extends XdEnumEntityType and use it as a parent for your Java classes.
from xodus-dnq.
@lehvolk I added xodus dnq in my KOTLIN project. I investigated the problem: my project used kapt, so I have kaptGenerateStubsKotlin and kaptKotlin which is running sequentially. These tasks generated java code from kotlin classes and there is the problem with enum, so kaptKotlin task is failed.
from xodus-dnq.
I moved this class to the parent package since there is no reason for storing it into a dedicated package.
from xodus-dnq.
Related Issues (20)
- Dependencies not released HOT 3
- Conditionally required properties are not checked when they are not changed but their condition becomes true
- TransientChangesTrackerImpl#linksRemoved marks entity as modified even if there were actually no links removed
- Implement equals/hashCode for TransientEntityChange HOT 1
- Missing methods: XdQuery<T>.last(), XdQuery<T>.lastOrNull()
- TransientSession looses cancelling policy on upgrading initial read-only txn
- Cache entity wrappers inside XdModel.toXd() HOT 1
- One have to manually close Environment on closing TransientEntityStore
- Concurrent access to TransientEntityStoreImpl#listeners
- Make it possible to disable async listeners per enviroment
- Migration / versions of data definitions HOT 2
- DSL support for EntityIterable.findContaining(...)
- GraalVM/Spring Native Compatibility HOT 2
- UUID type support HOT 1
- xodus-dnq is incompatible with newer Java versions (tested on Java 16) HOT 2
- Make SingletonEntitiesCache store container aware
- Sample program fails with "java.lang.reflect.InaccessibleObjectException"
- java.lang.ClassCastException: class kotlinx.dnq.util.FakeEntity cannot be cast to class jetbrains.exodus.database.TransientEntity HOT 1
- Design of the storage engine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xodus-dnq.