Skip to content

Commit

Permalink
Prepare for version bump to 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
julgus committed Aug 30, 2023
1 parent 59dc505 commit 541e8df
Show file tree
Hide file tree
Showing 21 changed files with 261 additions and 0 deletions.
13 changes: 13 additions & 0 deletions integration-tests/run-integration-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/sh
#
# JPAstreamer - Express JPA queries with Java Streams
# Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
#
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
#


# Run sakila database
docker run --platform linux/amd64 -d --publish 3306:3306 --name mysqld restsql/mysql-sakila
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance;

import com.speedment.jpastreamer.application.JPAStreamer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
#
# JPAstreamer - Express JPA queries with Java Streams
# Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
#
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
#

version: '3.8'

services:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance.model;

import jakarta.persistence.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance.model;

import jakarta.persistence.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance.model;

import jakarta.persistence.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/sh
#
# JPAstreamer - Express JPA queries with Java Streams
# Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
#
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
#


docker-compose rm -v -f -s test-db && docker-compose up -d
mysql -h 127.0.0.1 -P 3305 -u speedment -ppassword publications
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
--
-- JPAstreamer - Express JPA queries with Java Streams
-- Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
--
-- License: GNU Lesser General Public License (LGPL), version 2.1 or later.
--
-- This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
-- without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- See the GNU Lesser General Public License for more details.
--
-- See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
--

INSERT INTO books (id, publishing_date, title, version, pages)
VALUES (1, '2008-7-04', 'Book 1', 2, 213),
(2, '2009-7-04', 'Book 2', 2, 234),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
--
-- JPAstreamer - Express JPA queries with Java Streams
-- Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
--
-- License: GNU Lesser General Public License (LGPL), version 2.1 or later.
--
-- This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
-- without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- See the GNU Lesser General Public License for more details.
--
-- See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
--

CREATE TABLE books (
id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
publishing_date DATE NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance2;

import com.speedment.jpastreamer.application.JPAStreamer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
#
# JPAstreamer - Express JPA queries with Java Streams
# Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
#
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
#

version: '3.8'

services:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance2.model;

import jakarta.persistence.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance2.model;

import jakarta.persistence.Column;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance2.model;

import jakarta.persistence.Column;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.integration.test.inheritance2.model;

import jakarta.persistence.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/sh
#
# JPAstreamer - Express JPA queries with Java Streams
# Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
#
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
#


docker-compose rm -v -f -s test-db-2 && docker-compose up -d
mysql -h 127.0.0.1 -P 3304 -u speedment -ppassword testdb2
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
--
-- JPAstreamer - Express JPA queries with Java Streams
-- Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
--
-- License: GNU Lesser General Public License (LGPL), version 2.1 or later.
--
-- This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
-- without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- See the GNU Lesser General Public License for more details.
--
-- See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
--

INSERT INTO publication(id, publication_type, publishing_date, title, version, pages, url)
VALUES (1, 'Book', '2008-7-04', 'Book 1', 2, 213, null),
(2, 'Book', '2009-7-04', 'Book 2', 2, 234, null),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
--
-- JPAstreamer - Express JPA queries with Java Streams
-- Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
--
-- License: GNU Lesser General Public License (LGPL), version 2.1 or later.
--
-- This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
-- without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- See the GNU Lesser General Public License for more details.
--
-- See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
--

CREATE TABLE publication (
id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
publication_type VARCHAR(31),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.fieldgenerator.test;

import jakarta.persistence.Column;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.fieldgenerator.test;

import jakarta.persistence.Column;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.fieldgenerator.test;

import jakarta.persistence.*;
Expand Down

0 comments on commit 541e8df

Please sign in to comment.