Hi, what is the best development platform to make a desktop application?

|
ashu4792 2022-09-25 14:57:44
Is this an aptitude question or a program?
ashu4792 2022-09-25 14:58:32
@ @
adonih1 2022-09-25 15:00:53
hello,
i have a paid udemy course on my account .how can i download it any one help me please?
devajagadesh 2022-09-25 15:15:17
Hi guys, I am facing this issue. “java.sql.SQLException: Illegal mix of collations (utf8mb4_unicode_ci,COERCIBLE) and (utf8mb4_general_ci,COERCIBLE) for operation ‘=’
devajagadesh 2022-09-25 15:15:26
can u pls help me on this
Frugalis Minds 2022-09-25 15:16:22
devajagadesh 2022-09-25 15:15:17
Hi guys, I am facing this issue. “java.sql.SQLException: Illegal mix of collations (utf8mb4_unicode_ci,COERCIBLE) and (utf8mb4_general_ci,COERCIBLE) for operation ‘=’

Collation type should b same in db level . Try changing to utf8

devajagadesh 2022-09-25 15:17:06
Getting this error from view
devajagadesh 2022-09-25 15:17:17
how to change collation in view
Frugalis Minds 2022-09-25 15:17:34
Ur view collation is nt consistent
Frugalis Minds 2022-09-25 15:17:38
With db
devajagadesh 2022-09-25 15:18:19
okay, your saying to chage entire db collation. am i right?
devajagadesh 2022-09-25 15:18:40
Thanks a lot Frugalis
Devops 2022-09-25 16:54:16
Ok good
eatcoindev 2022-09-25 18:51:40
I have a problem with KeyCloak
eatcoindev 2022-09-25 18:51:49
can anybody help me in person?
Frugalis Minds 2022-09-25 18:53:21
What’s the issue
Utk 2022-09-25 19:07:05
springbootmicroservices-80825.jpg
Why is it printing same hashcode inside each method? Shouldn’t JUNIT create different instances for different different @Test methods?
@RP 2022-09-25 19:59:45
eatcoindev 2022-09-25 18:51:40
I have a problem with KeyCloak

What is the issue??

dhibri 2022-09-25 21:06:13
Utk 2022-09-25 19:07:05
springbootmicroservices-80825.jpg
Why is it printing same hashcode inside each method? Shouldn’t JUNIT create different instances for different different @Test methods?

U r printing the hashcode of class but object . so it ll remain same.

AlwiYayayayay 2022-09-26 02:41:05
springbootmicroservices-80836.jpg
anyone know how to consume this JSON response from external API become this one (sight side) ?
Utk 2022-09-26 03:36:57
dhibri 2022-09-25 21:06:13
springbootmicroservices-80825.jpg
U r printing the hashcode of class but object . so it ll remain same.

I thought it was the same thing. What needs to be changed here?

zak131 2022-09-26 05:34:18
Utk 2022-09-26 03:36:57
springbootmicroservices-80825.jpg
I thought it was the same thing. What needs to be changed here?

Just call hashCode() directly

Utk 2022-09-26 05:36:14
zak131 2022-09-26 05:34:18
springbootmicroservices-80825.jpg
Just call hashCode() directly

with which object? As Junit internally creates the instance how will I get that instance?

Edisson López 2022-09-26 08:13:41
Hi, what is the best development platform to make a desktop application? I am interested in javaFX
K 2022-09-26 08:28:20
AlwiYayayayay 2022-09-26 02:41:05
springbootmicroservices-80836.jpg
anyone know how to consume this JSON response from external API become this one (sight side) ?

May be you are using another api for that one… Then call it

@ @ 2022-09-26 08:28:31
ashu4792 2022-09-25 14:57:44
springbootmicroservices-80836.jpg
Is this an aptitude question or a program?

Program

ashu4792 2022-09-26 08:35:10
I am in a meeting will contact you later
KK_01_K 2022-09-26 08:54:01
JDBC:-
Java Database Connectivity which is a specification for developing database applications with Java programming language.

The JDBC had several drawbacks
For example:
1. Boilerplate code (tedious code to work with data access Layer)
2. SQL exception-> Checked Exception so mandatorily needs to be handled.
3. Non portability because SQL codes are within the Java program; we can’t supply the SQL queries from outside the java program and also the SQL queries are database-specific.
4. Dialect issue in case of change of database
5. JDBC API can’t transfer the java objects directly
6. If the table structure is modified after the construction of Jdbc code then we must modify the sql queries again which is time consuming and burden for the java developer.
7. Manual resource clean up
8. Transactions must be handled manually

In order to overcome these problems spring JDBC was released.
It is an abstraction layer on top of jdbc technology.
Spring JDBC provides several methods to write the queries directly, so it saves a lot of work and time.
Spring JDBC however internally uses JDBC api only.

ORM:- (Object Relational Mapping) (To save the state of Java Objects into data base)
* It is a technique for converting/mapping data between java Objects and relational database
* Responsible for mapping the Domain Objects to Relational Model and vice versa

Why ORM?

Technical Differences between java Object and Relational Object
1. Granularity issue
2. Inheritance issue
3. Data Comparison issue
4. Data traversal difference

To overcome these technical problems, ORM was introduced.

They are several ORM tools available.

1. Hibernate
2. EclipseLink
3. OpenJPA
4. TopLink
5. Ibatis(MyBatis)

Which are all the implementations/JPA Providers/JPA vendors.

JPA (Java Persistence API) is a standard/specification/guidelines which are implemented/followed by all those ORM tools.

For easy understanding,
JPA is like an interface provided by the JCP( Java Community Process or Sun Microsystems (Oracle)) and ORM tools are the implementation classes

JPA facilities easy portability and migration.
With JPA, we can easily migrate from one JPA implementation to another JPA implementation.(Portability) (Loose Coupling)

Among all those JPA vendors, Hibernate (org.hibernate) is widely used because
1. It’s an Open source, publicly available without any cost and lightweight
2. Takes care of Auto Table Creation, Auto Primary Key generation
3. Provides Caching (Dual Layer caching) (first level and second level caching)
4. Supports Associations(mapping), inheritance, Joins
5. Provides Eager and lazy loading
6. Pagination support
7. Exception Handling is not mandatory.
8. Scalability
9. HQL (HIbernate Query Language) -> Database Independent Language
10. Transaction support
11. NativeSQL (we can write our SQL directly)
12. Locking -> Pessimistic and Optimistic Locking
13. Connection pooling mechanism for improving connection reusability
14. *Criteria API* which auto-generates *tuned Queries*

ORM tools however use the JDBC API internally

KK_01_K 2022-09-26 09:00:26
Karthik 2022-09-24 23:03:51
springbootmicroservices-80836.jpg
What is Optional in Java 8

A final class present in java.util package to help us
To avoid NullPointerException
To avoid too many Null Checks
To avoid abnormal termination or crash of the program

Using Optional, we can write neat code without too many null checks(isPresent())

Using Optional, we can specify the alternate value or code to execute (ifPresent(), orElse(),orElseGet(),orElseThrow())

It makes the program More readable

Balu G 2022-09-26 09:34:28
Can any one send java full stack developer resume
|