How can I convert this code to prepared-statement or statement in jdbc? [on hold]

68
August 13, 2019, at 10:00 PM

I'm trying to insert this values to a new table but eclipse doesn't read this query:

INSERT INTO my-list SELECT * FROM cars WHERE color='RED'
Answer 1

Use executeUpdate() Or execute() to issue data manipulation statements. executeQuery() is only meant for SELECT queries.

READ ALSO
Taking multiple lines with multiple inputs in each Lines

Taking multiple lines with multiple inputs in each Lines

My requirement is to take multiple inputs from user on multiple lines

51
BouncyCastle get specific crypto algorithm classes to strip down size

BouncyCastle get specific crypto algorithm classes to strip down size

I'm creating a library that requires ECC (elliptic curve cryptography, secp256k1) algorithmAs of now, I'm using BouncyCastle and it works perfectly

74
How to use MicroProfile FaultTolerance in Liberty profile [on hold]

How to use MicroProfile FaultTolerance in Liberty profile [on hold]

I want to use the circuit break function in MP FaultTolerance feature in my web applicationNow I have no idea about how to know if this function has been working in my application

40
Javers SpringBoot integration QueryBuilder byInstanceId returns empty result

Javers SpringBoot integration QueryBuilder byInstanceId returns empty result

I'm using springboot integration from this example:

60