mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-22 11:06:08 +00:00
HHH-10756 fix procedure name in test
This commit is contained in:
parent
93c0e252d4
commit
f512e6631b
@ -112,7 +112,7 @@ private void createProcedures(EntityManagerFactory emf) {
|
||||
"AS " +
|
||||
"BEGIN " +
|
||||
" SELECT NAME INTO NAME_PARAM FROM USERS WHERE id = ID_PARAM; " +
|
||||
"END PROC_EXAMPLE; "
|
||||
"END PROC_EXAMPLE_ONE_BASIC_OUT; "
|
||||
);
|
||||
|
||||
createProcedure(
|
||||
@ -174,7 +174,7 @@ private void createProcedure(EntityManagerFactory emf, String storedProc) {
|
||||
value = {
|
||||
@NamedStoredProcedureQuery(name = "User.findNameById",
|
||||
resultClasses = User.class,
|
||||
procedureName = "PROC_EXAMPLE"
|
||||
procedureName = "PROC_EXAMPLE_ONE_BASIC_OUT"
|
||||
,
|
||||
parameters = {
|
||||
@StoredProcedureParameter(mode = ParameterMode.IN, type = Integer.class),
|
||||
|
Loading…
x
Reference in New Issue
Block a user