Topic: concurrency, multi threading, transactional,
Spring, hibernate

I have a requirement to insert a row in database only if it meets following requirements
Ex: there is a column "points", a new record should be inserted only if points in the new record is greater than highest points already inserted in db or else throw that points are less

How i should approach this if i get lot of requests (say 10k) all a time. How can I achieve consistency and handle with less response time

like
Posting as :
works at
You are currently posting as works at

Guys help out

First take the maximum pointer from db and after comparison make the list of objects of all the data you want to save. So suppose if you have 10000 objects which you need to save so you will have list of list objects containing 10000 objects. Each one object will be single row of the table . Now you can save it.

Related Posts

2 weeks in an my night and points are all fucked up.. come on Accenture get your data migration workstream together

likefunny

Has anyone ever had any success in getting a delta base economy fare refunded? Am no longer going on a trip and wondering if I can get those points back that I used to cover the fare

like

Flight attendant woke me up while I was sleeping to give me ice cream, then I couldn’t go back to sleep.
How many points?

likefunnyuplifting

EY India is hiring Scrum masters with following criteria points. If anyone is interested, pls DM. Will refer. Thanks

Post Photo
like

Which one to choose Infosys or cognizant
I want to know in terms of below points
1)need wlb
2)job security
3)decent annual hikes
4)projects preferably devlopment

If you have any idea please do let me know

like

How close are the official GMAT prep practice exams to the actual in person exam? Any data points would be appreciated. TIA

like

I'm getting a MAcc to career change to forensic accounting. What opportunities are available to me with a data analytics heavy MAcc? I'm also tacking on 2 graduate certificates in Applied Statistics and International Economic Policy? For those in the field, would that be useful or not useful (i.e. waste of time)? I'm interested in investigations but also analytics, financial modeling, and expert witness services. Throw in salary potential for bonus points. I'll be getting my CPA, CFE, and CAMS.

like

Shall we start curating a list of comp/bonus?
Saw the main bowl which has this list but few data points for Europe & UK.
Would be good to know what the pay is currently due to the hot market & new joiners with great comp?

like

Monaco GP 2021 PSA: Marriott Le Meridien hotel in Monaco just opened up rooms on points for the Grand Prix weekend.

like

I’ve been seeing a junior copywriter opening at DDB on LinkedIn for a few weeks now. Does anyone know if that actually exists?

Also, major bonus points if you have a good person to email there.

like

Hi all,

I am an IT professional having almost 5 years of experience and want to move to Canada for PR. My CRS score is not upto the cut off. I need someone who can help in earning connections points for Manitoba PNP program.

As it allows having an acquaintance or a friend to earn those 20 points, it can help my PR application.

Anyone who is PR and resident of Manitoba can dm me to discuss around it. I am ready to pay for this assistance as well.

likefunny

Looks like I lost 12 nights and points / nights are not combined with Marriott yet

Can we consider cars from the 90s to be classics?

Sub question: what's your favorite 90s-era car? Extra points for pics.

like

I thought my nights and points would merge. How do I make that happen?

Something has been bothering me for a long time and I want to get it off my chest.

My firm does upward feedback and I asked about 10 of my team to participate so that I could be a better supervisor for them. My results: I got mostly great feedback with constructive points, however along with it I received the meanest, most cold hearted criticism I’ve ever seen (con’t in comments).

like

How is the job stability in Tesltra India How many employees work in India?
I was interviewed by people from Infosys, not sure how did they interview me for Telstra job. Any idea on these points ?

Hello All. I have 7 years of work exp in Data analytics & Data engineering team. Right now managing a team of 12. Will PMP certification help in career growth ? Needed some view points.

Hey Everyone, please suggest some good online courses on People Management, Handling Data and utilising Data to bring out best results. Basically, any core aspects i can learn as a Business Development Manager that can help me grow in my career. I don't hold an MBA and hence feel a bit left back.

Currently I'm working with a B2B Company handling procurement pain points by functioning as a aggregator and developing SAAS products to make the supply chain cycle user friendly.

Would you rather have 5x amex MR points or 3x chase UR points for each dollar spent on flights? Why? Company let's me book flights on personal cards and trying to decide which to choose.

like

More Posts

Good lord, how’d he survive that?

like

Thoughts on long-term (5-30 years) fate of the market for consulting in London? I’m considering a move from outside UK but some have argued that London market is “just a fight over the increasingly diminishing pie”, despite the temporary uptick in consulting work now to deal with corona& Brexit. Perhaps I should hit Asia or US.

like

Hey, open for referring anyone with 1-2 yrs experience in Digital marketing/Campaign Management for the post of Youth Marketing Executive at Sociowash. Please comment with your Mail-ID

like

Kyle, Texas - anyone know a decent spot for apps and a nicer happy hour type setting ?

likefunny

Is there a good online course on storytelling with data? Something that can help structure your thought process and design choices when creating visualizations and Dashboards in Tableau, Power BI etc.

like

Is it a good choice to switch from ZS Associates to Deloitte? Currently working in ZS with 1YOE

like

I’ve suffered from workaholism for a long time. Thanks to a lot of great self help books and therapy, I’m no longer putting work on a pedestal and I’m spending a lot more time on self care and my marriage. But, unfortunately, I am now getting withdrawals, because my body is used to the daily adrenaline of throwing myself into work. It’s this terrible feeling of like anguish/unease in my gut, but I don’t have anything I’m worried about- it’s like my body wants to find something to worry about.

like

Hi,

I am a Certified aws developer associate

8 years overall experience in Devops and scripting

I am good at python

Looking for aws python developer role.

Please let me know if there is any opportunity for me

likehelpful

I joined Wipro on Feb 2022, Am i eligible for hike this time?

like

me: how can i help you today?
customer: can you get me a younger wife who talks less?
me: …

likefunny

Hi fishes, my previous employer has not given me the money for Earned Leaves, they are saying it's not in their policy.. I have a variable bonus of 100000. Out of this they have given only 19,000 in the month of December after 6 months of joining...But they are not giving me any bonus after completing 1 year and 2 months.. They have stopped my appraisal as well...

So in total, I lost my appraisal money, bonus and Earned Leaves money... I feel betrayed and cheated...

What should I do ??

Hey fishes,

I am currently having 10 LPA with around 4 YOE in React Js.. I am expecting for a 16+ LPA.. Is it the right time to switch?

like

What can be the expected salary range in general for 10YOE with frontend tech stack React JS in product based companies? CCTC 52LPA, (including 10% variable+stocks)

like

Looking to connect with fellow design managers, new and experienced. Would love to have a space to share and connect.

like

Do all FAANG companies offer a joining bonus?

likehelpful

Could use some insight on what the average salary is for a PA in philadelphia? Could you list salary and specialty please? Im in gastroenterology and IBD.

like

Anybody having experience good/bad about investing through Wint Wealth? Seems like a good way to diversify the liquid portion of the portfolio......if I am greedy this looks better than those liquid funds and a 100% safer than those too.
Also what independence disclosures will apply after the NSDL being made mandatory brokerage account....for Wint Wealth related investments

like

McKinsey & Company Hey! Could anyone here help me with a referral to BCG or McKinsey? Happy to chat and share my resume McKinsey & Company Boston Consulting Group

like

I am looking to get into consulting firms in the Netherlands preferably in M&A space.
Does anyone have a recommendation for a recruiter or recruitment firm who could help me?
I have close to 3 years of experience in Financial due diligence and valuation. I am also a newly qualified ACCA accountant.
Open to share more details

like

Ah, Fridays. The day partners decide they don't want to work all weekend and dump everything on you.

likefunnyuplifting

Additional Posts in Java Dev Resources Pack

Does Mindtree send offer via mail or do we need to access it from the portal?
Mindtree

Hi Fishes

I'm using data jpa to connect to oracle DB in our API.

We have one scenario when the DB is down, then also normal flow should work.

Although it is working fine, but when we are checking the logs it's taking more than 1 second just to identify that the DB is locked, this is not within our SLA.

In the normal case it's processing within 200 ms.

We're using Spring Boot, Hibernate, Oracle 19c

Please provide some valuable suggestions from our side

CRISIL Global Research & Analytics CRISIL Global Research & Analytics CRISIL How is Crisil for Java developer with 7 years experience?

like

Guys if you want any other topics just comment will try to share the same with you :D

Hey folks if you have any doubts feel free to drop a post or dm me

like

#Confession

why there is so much to learn for java developer ? Cracking interview is
tough.You need be wellversed with all the things in world database devops java with its n no of versions DSA cloud and list goes on.You are not expected to do a single mistake in interview and after all this struggle you will not be working on greenfield projects.I personally feel its too much to prepare for interviews and many rejections will follow before selection.
Please post your optimistic approach.

like

Guys, Need Help to move ahead
Current skills : Java, AWS DevOps
Let me know any growing niche skills to master

I got a good offer from a product based company, but the tech they asked I have not much worked on that tech stack(Microservices) but I cleared 3 tech round, will it be an issue if I join and learn while working?

Hi Sharks
I have 1 yoe, and recently while giving interviews for switching I noticed people are asking about Java 1.8

Can you please guide me what are important topics from Java 1.8, and any specific place where to learn it.
I came to know about Steam API, everyone is asking

like

Hello fishes,
I am having approx 8.5 YOE(15.5 lakhs package) in Java and related technologies. I am planning to switch and wants to know how much hike or salary stack should I ask.

like

Hey Guys, post any doubts or topics you want to understand will surely try to respond :)

How to build on DSA and related stuffs. Opportunities after PwC exit is very good but most of them are focusing very much on Data Structures and Algo. Now the thing is common Java related data structures needed for application development are okay and Java frameworks are also fine but the next steps is where I am facing issue(non CS background with 4+ exp). Would welcome suggestions if there are any preparation strategies and materials or suggestions for paid courses also.

Guys if you have any doubts feel free to reach out to me or send out a post, I'll surely try to clarify your doubts

Need Suggestions
I have 9 years of exp in Java dev but I am not good in DSA. I am good enough with springbppt microservices devops cloud core java etc
But many a times companies only focus on DSA for interviews.
Please guide how to start.I saw people are saying to start practicing in leetcode etc
But I am looking for solutions as well.

Guys One course has started named Devsnest, for enhancing DSA, Frontend and Backend. If you want to upskill just join in in this Course, Its a 7 Month long course but I believe it would be beneficial for all. Its free too

Hi Guys, how are you?

like

How are you guys? Need any help in any topic? ping here.

New to Fishbowl?

Download the Fishbowl app to
unlock all discussions on Fishbowl.
That was just a preview…
Sign Up to see all discussions
  • Discover what it’s like to work at companies from real professionals
  • Get candid advice from people in your field in a safe space
  • Chat and network with other professionals in your field
Sign up in seconds to unlock all discussions on Fishbowl.

Already a user?
Login here

Share

Embed this post

Copy and paste embed code on your site

Preview

Download the
Fishbowl app

See what’s happening in your industry
from the palm of your hand.

A phone with Fishbowl app

Scan your QR code to download
Fishbowl app on your mobile

Download app

Sign up for free to view this conversation on Fishbowl

By continuing you agree to Terms of Use and Privacy Policy

Already have an account? Log in

Sign up for free to continue using Fishbowl

By continuing you agree to Terms of Use(New) and Privacy Policy(New)
Messaging rates may apply

Already have an account? Log in

For account settings, visit Fishbowl on Desktop Browser or

General

Legal