fco
fco

Reputation: 21

Spring Repository - Is it OK creating a @Repository class only for a specific stored procedure?

I have to call a stored procedure in my project and it requires:

Is it ok(in architectural point of view, good pratice, abd so on) to create a @Repository class only for "mapping" this stored procedure "behaviour"?

I've created a @Reository class only for this soterd procedure because his "behaviour" is a lit bit long...but I'm not sure if it's the better approach

Upvotes: 0

Views: 63

Answers (0)

Related Questions