Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
javab_20230617
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
javab_20230617
Commits
e9b6de38
Commit
e9b6de38
authored
Jul 29, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PoprawienieURLi w "alternatywnych wersjach"
parent
b6c47188
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ProductController_v0.java
...ep/alternatywne_dostepy_do_bazy/ProductController_v0.java
+1
-1
ProductController_v1.java
...ep/alternatywne_dostepy_do_bazy/ProductController_v1.java
+1
-1
ProductController_v2.java
...ep/alternatywne_dostepy_do_bazy/ProductController_v2.java
+1
-1
No files found.
PC27-SklepSpring/src/main/java/sklep/alternatywne_dostepy_do_bazy/ProductController_v0.java
View file @
e9b6de38
...
...
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import
java.sql.*
;
@Controller
@RequestMapping
(
"/alt0"
)
@RequestMapping
(
"/alt0
/products
"
)
public
class
ProductController_v0
{
// W tej wersji samodzielnie nawiązuję połączenie z bazą
...
...
PC27-SklepSpring/src/main/java/sklep/alternatywne_dostepy_do_bazy/ProductController_v1.java
View file @
e9b6de38
...
...
@@ -10,7 +10,7 @@ import javax.sql.DataSource;
import
java.sql.*
;
@Controller
@RequestMapping
(
"/alt1"
)
@RequestMapping
(
"/alt1
/products
"
)
public
class
ProductController_v1
{
@Autowired
private
DataSource
dataSource
;
...
...
PC27-SklepSpring/src/main/java/sklep/alternatywne_dostepy_do_bazy/ProductController_v2.java
View file @
e9b6de38
...
...
@@ -12,7 +12,7 @@ import java.util.List;
@Controller
@RequestMapping
(
"/
products_v2
"
)
@RequestMapping
(
"/
alt2/products
"
)
public
class
ProductController_v2
{
@Autowired
private
EntityManager
em
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment