derby Flashcards

1
Q

Name of derby library

A

derby.jar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to add library to project in Intelij idea?

A

ProjectStructure->libraries->add

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What to you need to start working with db?

A

Database driver

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to get db driver?

A

call method Class.forName with name of driver

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is name of default derby db driver?

A

EmbeddedDriver (org.apache.derby.jdbc.EmbeddedDriver)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the class to help to get connection?

A

Driver manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does driver manager need to get db connection?

A

connection url

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does standards connection URL form looks like?

A

jdbc:derby:[propertyList]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which does URL parameter allow to create db?

A

create=true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does query look like in jdbc?

A

Statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where can I get Statement?

A

from connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which do class allows to put parameters in query?

A

PreparedStatement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can I avoid error during creating already existing db?

A

check table name in db metadata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly