gjrwebber / spring-data-gremlin

Spring data gremlin makes it easier to implement Graph based repositories. This module extends Spring Data to allow support for potentially any Graph database that implements the Tinkerpop Blueprints 2.x API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to ignore property private static on Vertex

buiminhhuy opened this issue · comments

example:
I have a class:
UserAccount{
private static final long serialVersionUID = 1L;

@value("${app.md5encode.salt}")
private static final String SALT = "aaaa";
// other properties
}

When generating schema, above properties static final should be not created. wrong generate schema, see red zone below image.
useraccount

Yes, that sounds about right. Static fields should not be serialised.