You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In StarterClass(SpringBootDataJpaStoredProcedureExApplication.java)
package com.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringBootDataJpaStoredProcedureExApplication {
public static void main(String[] args) {
SpringApplication.run(SpringBootDataJpaStoredProcedureExApplication.class, args);
}
}
Console:
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.0.3)
2023-02-25T14:48:44.900+05:30 INFO 13732 --- [ restartedMain] gBootDataJpaStoredProcedureExApplication : Starting SpringBootDataJpaStoredProcedureExApplication using Java 17.0.4.1 with PID 13732 (G:\Java\IntelliJ Workspace\Learning\Spring Boot By Raghu\Spring Boot Data\SpringBootDataJpaStoredProcedureEx\target\classes started by himan in G:\Java\IntelliJ Workspace\Learning\Spring Boot By Raghu\Spring Boot Data\SpringBootDataJpaStoredProcedureEx)
2023-02-25T14:48:44.903+05:30 INFO 13732 --- [ restartedMain] gBootDataJpaStoredProcedureExApplication : No active profile set, falling back to 1 default profile: "default"
2023-02-25T14:48:44.954+05:30 INFO 13732 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2023-02-25T14:48:45.382+05:30 INFO 13732 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2023-02-25T14:48:45.400+05:30 INFO 13732 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10 ms. Found 0 JPA repository interfaces.
2023-02-25T14:48:45.785+05:30 INFO 13732 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2023-02-25T14:48:45.837+05:30 INFO 13732 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.1.7.Final
2023-02-25T14:48:46.177+05:30 INFO 13732 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2023-02-25T14:48:46.600+05:30 INFO 13732 --- [ restartedMain] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@27cbf856
2023-02-25T14:48:46.602+05:30 INFO 13732 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2023-02-25T14:48:46.657+05:30 INFO 13732 --- [ restartedMain] SQL dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
2023-02-25T14:48:46.975+05:30 INFO 13732 --- [ restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2023-02-25T14:48:46.987+05:30 INFO 13732 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2023-02-25T14:48:47.136+05:30 INFO 13732 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729
2023-02-25T14:48:47.157+05:30 INFO 13732 --- [ restartedMain] gBootDataJpaStoredProcedureExApplication : Started SpringBootDataJpaStoredProcedureExApplication in 2.637 seconds (process running for 3.445)
2023-02-25T14:48:47.165+05:30 INFO 13732 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2023-02-25T14:48:47.169+05:30 INFO 13732 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2023-02-25T14:48:47.179+05:30 INFO 13732 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
Process finished with exit code 0
As you can see when I am using Spring Boot-3.0.3, there is no bean created for runner i.e., DataInsertRunner and it is not even called at application startup.
But when I am using Spring Boot-3.0.2, It is working fine.
I have checked documentation of Spring Boot-3.0.3 for any update, but did not find anything new about runner or bean creation.
So, please suggest me if any update have been made related to runner or bean creation.
In pom.xml
In application.properties
In Employee.java
In EmployeeRepository.java
In DataInsertRunner.java
In StarterClass(SpringBootDataJpaStoredProcedureExApplication.java)
Console:
As you can see when I am using Spring Boot-3.0.3, there is no bean created for runner i.e., DataInsertRunner and it is not even called at application startup.
But when I am using Spring Boot-3.0.2, It is working fine.
I have checked documentation of Spring Boot-3.0.3 for any update, but did not find anything new about runner or bean creation.
So, please suggest me if any update have been made related to runner or bean creation.
Reference Link
Here is the link of above project using spring boot 3.0.3: https://github.com/dev-himanshu/IssueSpringBoot3.0.3/tree/main/SpringBootDataJpaStoredProcedureEx
Here is the link of above project using spring boot 3.0.2: https://github.com/dev-himanshu/ReferenceSpringBoot3.0.2/tree/main/SpringBootDataJpaStoredProcedureEx
The text was updated successfully, but these errors were encountered: