L2J Changes
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: L2J Changes
@Zoey - c3p0 is outdated and there are much better and cleaner solutions out there.
@UnAfraid - I wouldn't be so sure about that. The added complexity wouldn't be worth it IMHO. I know you like complexity for some reason, but not everybody does.
@UnAfraid - I wouldn't be so sure about that. The added complexity wouldn't be worth it IMHO. I know you like complexity for some reason, but not everybody does.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- L2j Veteran
- Posts: 1228
- Joined: Thu Jan 17, 2013 9:46 am
Re: L2J Changes
Okari showed an implementation for JPA and Hibernate. It resulted in massive amounts of classes...jurchiks wrote:@Zoey - c3p0 is outdated and there are much better and cleaner solutions out there.
@UnAfraid - I wouldn't be so sure about that. The added complexity wouldn't be worth it IMHO. I know you like complexity for some reason, but not everybody does.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: L2J Changes
That's what I meant.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: L2J Changes
When i mention hibernate i didn't had this example in mind at all.jurchiks wrote:That's what I meant.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: L2J Changes
Nevertheless, changing the dbcp doesn't require rewriting everything to do with the database.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: L2J Changes
What's the point of changing it just like that when there will be no difference?jurchiks wrote:Nevertheless, changing the dbcp doesn't require rewriting everything to do with the database.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: L2J Changes
There will be a difference in performance.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: L2J Changes
Do you have performance issues with c3p0?jurchiks wrote:There will be a difference in performance.
Weird i had over 3k players with c3p0 and i didn't had issues.
Neither nBd he had 9k (almost) with c3p0 and it was working pretty good are there nowdays such servers?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: L2J Changes
So you're of those types who believe in "good enough"? Even if it can be much better?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: L2J Changes
I am saying that this changes pointless either we change the whole approach to make it really better or we simply don't even touch it.jurchiks wrote:So you're of those types who believe in "good enough"? Even if it can be much better?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: L2J Changes
Yeah, and doing it step by step is not even an option, right?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: L2J Changes
If we switch to hibernate step by step is out of the picturejurchiks wrote:Yeah, and doing it step by step is not even an option, right?
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: L2J Changes
Do you know you could be writing code instead of writing posts? 

Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: L2J Changes
@Zoey - You don't want me to answer to that.
@UnAfraid - Why do you think hibernate is the only/best option?
@UnAfraid - Why do you think hibernate is the only/best option?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: L2J Changes
I am not sure which one is going to be yet.jurchiks wrote:@UnAfraid - Why do you think hibernate is the only/best option?
hibernate is nice but could be something else for example http://javalite.io/activejdbc