diff --git a/src/main/java/ua/net/uid/utils/db/Batch.java b/src/main/java/ua/net/uid/utils/db/Batch.java index dffd4bd..d70827a 100644 --- a/src/main/java/ua/net/uid/utils/db/Batch.java +++ b/src/main/java/ua/net/uid/utils/db/Batch.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.io.Closeable; diff --git a/src/main/java/ua/net/uid/utils/db/Block.java b/src/main/java/ua/net/uid/utils/db/Block.java index 66424ab..e94b62a 100644 --- a/src/main/java/ua/net/uid/utils/db/Block.java +++ b/src/main/java/ua/net/uid/utils/db/Block.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.sql.SQLException; diff --git a/src/main/java/ua/net/uid/utils/db/Connector.java b/src/main/java/ua/net/uid/utils/db/Connector.java index f2573d0..c0669ae 100644 --- a/src/main/java/ua/net/uid/utils/db/Connector.java +++ b/src/main/java/ua/net/uid/utils/db/Connector.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import javax.sql.DataSource; diff --git a/src/main/java/ua/net/uid/utils/db/Database.java b/src/main/java/ua/net/uid/utils/db/Database.java index 5c899f6..89109f1 100644 --- a/src/main/java/ua/net/uid/utils/db/Database.java +++ b/src/main/java/ua/net/uid/utils/db/Database.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import javax.sql.ConnectionPoolDataSource; diff --git a/src/main/java/ua/net/uid/utils/db/Fetcher.java b/src/main/java/ua/net/uid/utils/db/Fetcher.java index 39e772a..51870c5 100644 --- a/src/main/java/ua/net/uid/utils/db/Fetcher.java +++ b/src/main/java/ua/net/uid/utils/db/Fetcher.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.sql.ResultSet; diff --git a/src/main/java/ua/net/uid/utils/db/Outcome.java b/src/main/java/ua/net/uid/utils/db/Outcome.java index 233766d..15cd0ad 100644 --- a/src/main/java/ua/net/uid/utils/db/Outcome.java +++ b/src/main/java/ua/net/uid/utils/db/Outcome.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.sql.ResultSet; diff --git a/src/main/java/ua/net/uid/utils/db/Processor.java b/src/main/java/ua/net/uid/utils/db/Processor.java index b3dd8b2..c507920 100644 --- a/src/main/java/ua/net/uid/utils/db/Processor.java +++ b/src/main/java/ua/net/uid/utils/db/Processor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.sql.*; diff --git a/src/main/java/ua/net/uid/utils/db/Session.java b/src/main/java/ua/net/uid/utils/db/Session.java index 2625248..eff6d5c 100644 --- a/src/main/java/ua/net/uid/utils/db/Session.java +++ b/src/main/java/ua/net/uid/utils/db/Session.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.sql.Connection; diff --git a/src/main/java/ua/net/uid/utils/db/Solid.java b/src/main/java/ua/net/uid/utils/db/Solid.java index a32efc1..c76864d 100644 --- a/src/main/java/ua/net/uid/utils/db/Solid.java +++ b/src/main/java/ua/net/uid/utils/db/Solid.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.sql.SQLException; diff --git a/src/main/java/ua/net/uid/utils/db/Transaction.java b/src/main/java/ua/net/uid/utils/db/Transaction.java index 0223813..eecfd43 100644 --- a/src/main/java/ua/net/uid/utils/db/Transaction.java +++ b/src/main/java/ua/net/uid/utils/db/Transaction.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db; import java.sql.Connection; diff --git a/src/main/java/ua/net/uid/utils/db/dao/DAO.java b/src/main/java/ua/net/uid/utils/db/dao/DAO.java index 73cff9b..d938102 100644 --- a/src/main/java/ua/net/uid/utils/db/dao/DAO.java +++ b/src/main/java/ua/net/uid/utils/db/dao/DAO.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.dao; import ua.net.uid.utils.db.Session; diff --git a/src/main/java/ua/net/uid/utils/db/dao/DAOAbstract.java b/src/main/java/ua/net/uid/utils/db/dao/DAOAbstract.java index efcc608..e171851 100644 --- a/src/main/java/ua/net/uid/utils/db/dao/DAOAbstract.java +++ b/src/main/java/ua/net/uid/utils/db/dao/DAOAbstract.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.dao; import ua.net.uid.utils.db.Session; diff --git a/src/main/java/ua/net/uid/utils/db/dao/DAOBase.java b/src/main/java/ua/net/uid/utils/db/dao/DAOBase.java index f70b168..9ec7f02 100644 --- a/src/main/java/ua/net/uid/utils/db/dao/DAOBase.java +++ b/src/main/java/ua/net/uid/utils/db/dao/DAOBase.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.dao; import ua.net.uid.utils.db.Fetcher; diff --git a/src/main/java/ua/net/uid/utils/db/dao/DAOCore.java b/src/main/java/ua/net/uid/utils/db/dao/DAOCore.java index 65d6be1..90e84b7 100644 --- a/src/main/java/ua/net/uid/utils/db/dao/DAOCore.java +++ b/src/main/java/ua/net/uid/utils/db/dao/DAOCore.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.dao; import ua.net.uid.utils.db.Session; diff --git a/src/main/java/ua/net/uid/utils/db/dao/Entity.java b/src/main/java/ua/net/uid/utils/db/dao/Entity.java index 485fa5b..c1eec12 100644 --- a/src/main/java/ua/net/uid/utils/db/dao/Entity.java +++ b/src/main/java/ua/net/uid/utils/db/dao/Entity.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.dao; import java.io.Serializable; diff --git a/src/main/java/ua/net/uid/utils/db/query/Condition.java b/src/main/java/ua/net/uid/utils/db/query/Condition.java index 16387bf..8fec961 100644 --- a/src/main/java/ua/net/uid/utils/db/query/Condition.java +++ b/src/main/java/ua/net/uid/utils/db/query/Condition.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.query; import java.util.ArrayList; diff --git a/src/main/java/ua/net/uid/utils/db/query/Order.java b/src/main/java/ua/net/uid/utils/db/query/Order.java index f981db9..19bd5c6 100644 --- a/src/main/java/ua/net/uid/utils/db/query/Order.java +++ b/src/main/java/ua/net/uid/utils/db/query/Order.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.query; import java.util.ArrayList; diff --git a/src/main/java/ua/net/uid/utils/db/query/Query.java b/src/main/java/ua/net/uid/utils/db/query/Query.java index a432586..bc29f5f 100644 --- a/src/main/java/ua/net/uid/utils/db/query/Query.java +++ b/src/main/java/ua/net/uid/utils/db/query/Query.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.query; public interface Query { diff --git a/src/main/java/ua/net/uid/utils/db/query/QueryBuilder.java b/src/main/java/ua/net/uid/utils/db/query/QueryBuilder.java index c29d7a4..1222a74 100644 --- a/src/main/java/ua/net/uid/utils/db/query/QueryBuilder.java +++ b/src/main/java/ua/net/uid/utils/db/query/QueryBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.query; import ua.net.uid.utils.db.Processor; diff --git a/src/main/java/ua/net/uid/utils/db/query/QueryPart.java b/src/main/java/ua/net/uid/utils/db/query/QueryPart.java index bc041e3..53401a9 100644 --- a/src/main/java/ua/net/uid/utils/db/query/QueryPart.java +++ b/src/main/java/ua/net/uid/utils/db/query/QueryPart.java @@ -1,3 +1,18 @@ +/* + * Copyright 2020 nightfall. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package ua.net.uid.utils.db.query; import java.util.List;