Answer the question
In order to leave comments, you need to log in
How to set the name of the schema in which the binding table for @ManyToMany will be created?
In general I have two Entities.
I link them with:
@ManyToMany
private List<DistributedJPAWord> words;
Answer the question
In order to leave comments, you need to log in
Well, you can write something like
@ManyToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
@JoinTable(name = "words_table", catalog = "anotherscheme", .....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question