question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support mapping persistenceId to collection name

See original GitHub issue
  • Allow for user-specified mapping of persistenceId to collection name
  • Could be used to support different mongodb sharding approaches per Actor type

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jftregorcommented, Jun 28, 2016

Hello there,

Some news:

  • I already provided such a function you mentioned above. Basically, the user has to extend some trait and override a “getSuffixfromPersistenceId” method…
  • I finally added a chapter at the end of akka24.md file to provide documentation
  • I guess the PR will also update the RxMongo driver 😃

Just let me finish some unit tests, I now only have to append a few ones to JournallerSpec and SnapshotterSpec on the RxMongo side and that should be ready.

0reactions
scullxbonescommented, Sep 5, 2016

Closed by #118

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to map collection in onetomany mapping JPA
Look at your mapping. You are trying to map a FK in the element table. @OneToMany(cascade = CascadeType.ALL) @JoinColumn(name = "item_id", ...
Read more >
Chapter 7. Mapping collections and entity associations
Mapping persistent collections; Collections of basic and embeddable type; Simple many-to-one and one-to-many entity associations;
Read more >
Java persistence API - Tutorial - Vogella.com
Mapping Java objects to database tables and vice versa is called Object-relational mapping (ORM). The Java Persistence API (JPA) is one possible approach...
Read more >
Tutorial - MongoDB Jackson Mapper
You can then use the returned collection like any other ... which property gets mapped to what name for the database and for...
Read more >
Hibernate ORM 5.2.18.Final User Guide - Red Hat on GitHub
This chapter will focus on JPA mapping where possible. For Hibernate mapping features not supported by JPA we will prefer Hibernate extension annotations....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found