Questions tagged [ravendb4]

RavenDB in version 4.0

55 questions
0
votes
1 answer

Is there a way to specify collection name for Java bean being stored into RavenDB?

I'm using RavenDB with JAVA ravendb-jvm-client for my app, where existing collection names does'n reflect 'User.java' -> 'Users' convention. Is there a way how to specifiy correct collection name for java beans so java client use this instead of…
David Marko
  • 2,477
  • 3
  • 27
  • 58
0
votes
1 answer

RavenDB and Recursive Includes

I have a structure class Node { List ChildrenIds; ... } That I currently store and lookup in RavenDB but Include for results only lets me include down one level in the potentially many leveled tree. Is there any way to tell it to…
ruler501
  • 197
  • 1
  • 1
  • 12
0
votes
0 answers

RavenDb: Computed fields in the result of IDocumentQuery

The official RavenDB v4 documentation suggests to use IRavenQueryable.Select() method for getting custom fields in the result set. It works well even for computed fields, e.g. session.Query() .Select(x => new { Total = x.Lines.Sum(l…
Alex Klaus
  • 8,168
  • 8
  • 71
  • 87
0
votes
1 answer

RavenDB Client dies in session.Store and never returns

I'm trying to save user code scripts in RavenDB, and so far almost everything works. I got a script in from a separate process, and I am able to load the script, edit it, and save it back to the database. The problem comes when I create a new script…
Fallon
  • 45
  • 1
  • 4
0
votes
1 answer

Querydsl in RavenDB 4

Updating to RavenDB 4 seems to have broken the Maven setup for querydsl. This no longer seems to work: com.mysema.maven apt-maven-plugin 1.1.1
Hiro Protagonist
  • 474
  • 3
  • 15
0
votes
1 answer

A write transaction is already opened by this thread in RavenDB4

I am attempting to update RavenDB storage for hangfire to RavenDB4 and I sometimes receive the following exception: Raven.Client.Exceptions.RavenException: 'System.InvalidOperationException: A write transaction is already opened by this thread I…
adsamcik
  • 1,265
  • 12
  • 14
0
votes
1 answer

NextIdentityFor missing

This question pertains to 4th version of RavenDb only. With previous versions we had an option to generate Identity Key for a collection viz. _documentStore.DatabaseCommands.NextIdentityFor(collectionName); How do I do the same in RavenDb 4?
Abhay Naik
  • 410
  • 3
  • 15
0
votes
1 answer

RavenDB 4.0 - BulkInsertOptions?

As a part of migration RavenDB 3.0 to RavenDB 4.0 I came across that new version has missing BulkInsertOptions type, has that been moved somewhere, or completely removed? Thank you.
madoxdev
  • 3,770
  • 1
  • 24
  • 39
0
votes
1 answer

RavenDB 4.0 - exact parameter of Where clause

I am trying to play a little bit with RavenDB 4.0 RC. I am migrating from RavenDb 3.0 to the latest version. The problem I have is extension method IRavenQueryable IQueryable.Where(System.Linq.Expressions.Expression>…
madoxdev
  • 3,770
  • 1
  • 24
  • 39
-1
votes
1 answer

RavenDB client limited?

i'm very new to RavenDB and NOSQL in general. To test performance, i've written some very rough code with the RavenDB.Client. I'm simply starting 500 simultaneous tasks, each of which will simply create a test document, using a new session for every…
Victor Nor
  • 21
  • 2
1 2 3
4