Skip to main content
0 votes
1 answer
9 views

expecting IdClass mapping

I am upgrading an ancient Spring 3 app to Spring 6. I have found a number of issues with the same message, but they are mostly actually using annotations. The one that isn't: java/hibernate Exception: ...
Thom's user avatar
  • 15.1k
0 votes
1 answer
28 views

Write Section Of Buffer Using Java's FileChannel

Java's FileChannel class supports 4 write methods, one of which caters for writing a section of a buffer from a specified position to the end of the buffer: public abstract int write(ByteBuffer src, ...
Graham Seed's user avatar
1 vote
0 answers
43 views

How to bypass or auto-accept Chrome's file editing permission dialog triggered by window.showDirectoryPicker() in Playwright?

I trying to download a file into a folder that is not in the list of managed permissions of Playwright. The app that I am testing opens the windows file choose with the window.showDirectoryPicker() JS ...
Alan Barrientos's user avatar
-1 votes
1 answer
27 views

Configure Spring Security Filter Chain

Good evening, I need help configuring Spring Security Chain Filter: @Bean SecurityFilterChain configure(HttpSecurity http) throws Exception { http .authorizeRequests() ...
riccardo pepe's user avatar
0 votes
1 answer
12 views

Hibernate Envers OneToOne relation class column is not audited properly

I have OrderReqeust entity and corresponding audit table "order_request_aud" for it. I'm trying to audit "order_id" column from OneToOne relation. In "OrderReqeust" I ...
LDropl's user avatar
  • 944
0 votes
1 answer
34 views

Converting JMS ConnectionFactory to ActiveMQ ConnectionFactory - expected and returned instances are both correct type but fails

I'm replacing activemq-all 5.18.6 with activemq-broker and activemq-client. I've found a side effect in my Java servlets that javax.jms.ConnectionFactory has to be replaced in the servlet XML and the ...
Codes with Hammer's user avatar
0 votes
2 answers
24 views

BadSqlGrammarException while testing service layer that used JDBC

I am writing a test code which is giving me BadSqlGrammarException error. I am using JDBC template. error is "org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [...
munmun swami's user avatar
0 votes
0 answers
21 views

Integrating razorpay with accounts in single springboot backend [closed]

I have two apps with same backend which are separated by packageName. So no i have two razorpay accounts for both these apps how do I integrate them in my single backend.such that when the user makes ...
No Op's user avatar
  • 1
0 votes
1 answer
26 views

Is there a way to turn off breaking long words in OpenPDF?

I am currently working with OpenPDF (V. 2.0.3) in Java and implementing some text features. Both ColumnText and PdfPCell are used in that context - and both show the same "issue", as I will ...
Chris van Darg's user avatar
0 votes
1 answer
19 views

The OTP is not being set in the OTP field

The problem is that the login process in the Android application depends on OTP. Once the OTP is sent, it should be entered for verification. However, during Appium testing, the OTP is not being ...
Anil Kumar's user avatar
1 vote
0 answers
30 views

Getting log: certificate type [UNDEFINED] configured from keystore [C:\.....\systemprofile\.keystore] using alias [alias_name] with trust store [null]

I have a spring boot application, Which run as Windows Services on server machine. I upgraded java version from 1.8 to 17 also spring boot version from 2.7.0 to 3.4.4. After that i resolved the ...
Deepesh Chopda's user avatar
-7 votes
0 answers
39 views

Java Headless mode automation [closed]

How can we capture visual bugs or UI issues in Java Selenium automation when running tests in headless mode, where we can't see the browser?
PRATIK JOSHI's user avatar
-1 votes
0 answers
39 views

Could not reconfigure JMX java.lang.LinkageError

Java 8 Maven 3.9,7 I want to validate that a private method was called once. In my pom.xml: <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</...
Alexei's user avatar
  • 15.8k
2 votes
1 answer
40 views

Override parent class swagger annotations

This is my parent class: public abstract class Measurement { @Schema(description = "The value", example = "1") public Double amount; @Schema(description ...
Essej's user avatar
  • 881
-3 votes
0 answers
20 views

why squish support test cases written in Script - Python, JavaScript, Ruby, Tcl, Perl . Why it is not supporting test cases to be written in Java? [closed]

why squish support test cases written in Script - Python, JavaScript, Ruby, Tcl, Perl . Why it is not supporting test cases to be written in Java? Expecting Squish testcases in java language as I am ...
J G's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
128005