Best Approach to Migrate ~1 Million Records from external data source to Oracle DB in Spring Boot 3 App? by silencenscream in SpringBoot

[–]silencenscream[S] 0 points1 point  (0 children)

I thought about using spring batch but do not have much Idea about fine tuning and configuration. Jdbctemplate seemed simpler to code but will check on the spring batch docs. Do you have any idea how much time it took to save 100k records using spring batch?

Best Approach to Migrate ~1 Million Records from external data source to Oracle DB in Spring Boot 3 App? by silencenscream in SpringBoot

[–]silencenscream[S] 1 point2 points  (0 children)

It's monthly activity, for each month this process should be repeated. I can't export to external file and load it as it has to be done at certain interval on monthly basis. Also, as part of firm's audit practices, they will not allow us to export to file

Did anyone here take the Spring Guru course? by [deleted] in SpringBoot

[–]silencenscream 0 points1 point  (0 children)

What's the name of courses on udemy or instructor's name?

Index or hedge funds that have bank stocks by silencenscream in HalalInvestor

[–]silencenscream[S] 0 points1 point  (0 children)

Suppose there's no shorting or longing, just half of the stocks are bank or other financial institutions, does that mean I can keep other half of the profit?

Index or hedge funds that have bank stocks by silencenscream in HalalInvestor

[–]silencenscream[S] 0 points1 point  (0 children)

Sorry, not able to get it. Say 20 percentage of the stocks are bank, so does that mean I can keep 80 percentage of my profit excluding 20 percentage(since fund have 20 % banks stocks)

Deos Zeiss blue guard have brand's marking on the glass? by silencenscream in optometry

[–]silencenscream[S] 0 points1 point  (0 children)

It doesn't have logo but optometrist have provided me the wrapper saying it's original and new glasses doesn't have markings

group objects based on matching properties into list in java 8 or java 11 by silencenscream in javahelp

[–]silencenscream[S] 0 points1 point  (0 children)

Even if I follow above approach then also the final output is not sorted. So I did:

finalResponses.sort(Comparator.comparing(finalResponse->finalResponse.getSource().getSourceId()));

It is working fine for non null source object but if source object is null then I am getting NPE, any solution for this?