python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Use different ID generator in Jakarta JPA depending on DB product
I migrate an application from Java EE 7/Glassfish 4 to Jakarta EE 9.1/Glassfish 6.1. Our product supports Oracle and MSSQL databases.
For Oracle we use sequences to generate IDs. For MSSQL we use iden...
FuryFart
Votes: 0
Answers: 2
Java EE Glassfish - NullPointerException because "dcs" not found
Whent trying to run asadmin im getting this error:
/opt/glassfish5/bin $ ./asadmin start-domain
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.glassfish.h...

Swagnar
Votes: 0
Answers: 2
How to configure EJB/JPA in JTA transaction mode?
This is a simple guide for configuring JPA and connecting to your database using JTA transaction mode. Also it is including the most common mistakes that developers do and you should avoid them.
Hope ...

mtz1406
Votes: 0
Answers: 1
How to import java project as module in java web project using intelijj?
I wanted to use the class from basic java project inside java servlet class which is defined in another project.
I tried importing project as module through the module dependency InteliJ menu.
At comp...

S G
Votes: 0
Answers: 3