-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added sample code - ODSA for Java Devs - Spring Boot 3 + Data JPA P2 #229
Added sample code - ODSA for Java Devs - Spring Boot 3 + Data JPA P2 #229
Conversation
java/odsa-spring/src/main/java/com/oracle/dev/jdbc/odsa/spring/Employee.java
Outdated
Show resolved
Hide resolved
spring.jpa.show-sql=true | ||
spring.jpa.properties.hibernate.format_sql=true | ||
logging.level.org.hibernate.SQL=DEBUG | ||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need debugging for a demo script? One would assume that a developer understands when/how to turn on debugging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjustment accepted, debugging properties removed. @Kuassim please review, thanks
@Kuassim @jeandelavarene the changes were performed as required - fix indentation. |
@@ -0,0 +1,118 @@ | |||
/* | |||
Copyright (c) 2021, 2022, Oracle and/or its affiliates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change year to 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I did it for all classes with the license note and updated them to 2024 as you requested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kuassim please review, approve and notify Jean per the process (2nd level approval). Thanks!
|
||
class EmployeeNotFoundException extends RuntimeException { | ||
|
||
private static final long serialVersionUID = 7768215094663842819L; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check if this is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kuassim please review, approve and notify Jean per the process (2nd level approval). Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved; up to @jeandelavarene
@juarezjuniorgithub please remove the target directory from your PR. You can add it to your .gitignore. |
Hi @Kuassim I have followed Jean's suggestion and updated the driver version to 23.6.0.24.10. |
java/odsa-spring/README.md
Outdated
@@ -0,0 +1,2 @@ | |||
# odsa-spring | |||
[]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README should at least mention what this code sample is about.
@Kuassim
Signed-off-by: Juarez Barbosa Junior juarez.barbosa@gmail.com