Skip to content
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

Add example of Java - Spring - Spring JPA #163

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Add example of Java - Spring - Spring JPA #163

merged 3 commits into from
Jul 18, 2024

Conversation

gvdongen
Copy link
Collaborator

  • Adds an example with Java and Spring
  • Reads and writes to a postgres DB with Spring JPA

Copy link
Contributor

@slinkydeveloper slinkydeveloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you run spotless on this project? Other than that, looks good to me

@@ -0,0 +1,51 @@
plugins {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem formatted?

import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class AppMain {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is AppMain required? I recalled this is autoinjected somehow?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in any case, let's just follow whatever start.spring.io generates.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This got generated by their template indeed. I am not aware of a way around this

@gvdongen gvdongen merged commit 49b55d5 into main Jul 18, 2024
2 checks passed
@gvdongen gvdongen deleted the java_spring branch July 18, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants