Aditya Sharad
33c94635bf
ARTEMIS-1135: Fix integer multiplication overflows
...
Multiplication operations where the operands have type `int` but the
result is cast to `long` may lead to overflow.
Fixes two instances of this problem, by ensuring the operands are cast
to `long` during multiplication.
This resolves the "Result of integer multiplication cast to long"
alerts at https://lgtm.com/projects/g/apache/activemq-artemis/alerts .
2017-05-02 13:00:46 -04:00
Francesco Nigro
258d595972
ARTEMIS-1124 JDBC Network Timeout configuration
2017-04-20 19:43:10 +01:00
Clebert Suconic
bfe2bdd7b2
ARTEMIS-1115 Traces and tests on JDBC Persistence
2017-04-19 00:50:58 -04:00
Martyn Taylor
7b68b0a49a
ARTEMIS-1115 Call CriticalIOListener on JDBC Error
2017-04-19 00:50:58 -04:00
Francesco Nigro
aa9ac4a914
ARTEMIS-1084 Throw RunTime on bad Oracle table size
2017-04-13 19:17:10 -04:00
Martyn Taylor
120b8aa7ad
ARTEMIS-1085 Perform storelineup on appendRecord
2017-03-31 15:50:02 +01:00
Martyn Taylor
42bf845edb
ARTEMIS-1084 Throw RunTime on bad Oracle table size
2017-03-29 14:59:12 +01:00
Martyn Taylor
c40823e5ec
[maven-release-plugin] prepare for next development iteration
2017-03-10 14:54:33 +00:00
Martyn Taylor
70e319d6e3
[maven-release-plugin] prepare release 2.0.0
2017-03-10 14:52:26 +00:00
Martyn Taylor
f1a5f1caf9
Revert "[maven-release-plugin] prepare release 2.0.0"
...
This reverts commit 057047499b
.
2017-03-10 14:45:29 +00:00
Martyn Taylor
1964abe567
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit 9a52f51c9f
.
2017-03-10 14:44:58 +00:00
Martyn Taylor
9a52f51c9f
[maven-release-plugin] prepare for next development iteration
2017-03-10 11:36:36 +00:00
Martyn Taylor
057047499b
[maven-release-plugin] prepare release 2.0.0
2017-03-10 11:25:47 +00:00
Clebert Suconic
fe0ca4d84f
ARTEMIS-1009 Pure Message Encoding.
...
with this we could send and receive message in their raw format,
without requiring conversions to Core.
- MessageImpl and ServerMessage are removed as part of this
- AMQPMessage and CoreMessage will have the specialized message format for each protocol
- The protocol manager is now responsible to send the message
- The message will provide an encoder for journal and paging
2017-03-05 23:08:53 -05:00
Martyn Taylor
f3b83831e0
ARTEMIS-1010 Uppercase table name for Oracle
2017-03-02 19:40:08 -05:00
Clebert Suconic
70721dcd5c
ARTEMIS-1006: JDBC should log proper warns with stack traces on SQLExceptions
2017-02-28 20:23:54 -05:00
Martyn Taylor
7b344a92fd
ARTEMIS-999 Add support for Oracle12C
2017-02-26 21:10:03 +00:00
Martyn Taylor
a1012884cc
ARTEMIS-998 Fix NPE in JDBC FileDriver when BLOB is null
2017-02-26 20:42:04 +00:00
Justin Bertram
4e92b63de7
ARTEMIS-986 fix int overflow
2017-02-24 16:15:49 -05:00
dOkI
fc70f9414a
ARTEMIS-976: PostgresSequentialSequentialFileDriver SQLProvider NPE fix
2017-02-16 15:00:42 -05:00
Martyn Taylor
b8595d610d
ARTEMIS-957 Use setBytes JDBC API vs Concat BLOB
2017-02-10 09:55:57 -05:00
Francesco Nigro
807dbf9051
ARTEMIS-938 JDBC persistence-store should use BIGINT type for IDs in database tables
2017-02-06 11:00:05 -05:00
Clebert Suconic
ef8cb60df7
NO-JIRA Fixing deadlock on JDBCJournal::stop / sync methods
2017-02-03 09:04:57 -05:00
Clebert Suconic
ce035a8084
ARTEMIS-937 Implementing proper alignment and adding perf-journal tool to validate the journal syncs
2017-02-03 09:04:56 -05:00
Martyn Taylor
0bcf003a87
ARTEMIS-930 Return the ID field on createFile statement
2017-01-20 12:44:22 +00:00
Clebert Suconic
b4cbd36af4
ARTEMIS-560 Small improvements on JDBC tests for paging + adding a logger
2017-01-17 14:58:53 -05:00
Martyn Taylor
118c272c77
ARTEMIS-560 Add Support For JDBC Paging
2017-01-17 14:58:53 -05:00
Francesco Nigro
837066d40d
ARTEMIS-920 Log SQL Exceptions and Warnings
2017-01-16 14:22:25 +01:00
Martyn Taylor
6682072da6
Major Version Bump 2.0.0 After Major Arch Change
2016-12-09 18:43:15 +00:00
Clebert Suconic
ebbc91c728
[maven-release-plugin] prepare for next development iteration
2016-12-06 16:59:52 -05:00
Clebert Suconic
5bcbea2517
[maven-release-plugin] prepare release 1.5.1
2016-12-06 09:47:43 -05:00
Dmitrii Tikhomirov
3995319dca
ARTEMIS-865 Remove e.printStackTrace() from code
2016-11-23 11:15:54 -05:00
Benjamin Graf
95e88dd22f
ARTEMIS-852: Add PK and index to create journal table DDL script
2016-11-16 10:08:10 +01:00
Clebert Suconic
f2db1c4337
[maven-release-plugin] prepare for next development iteration
2016-11-03 15:35:05 -04:00
Clebert Suconic
13a8a2bd40
[maven-release-plugin] prepare release 1.5.0
2016-11-03 15:34:54 -04:00
Clebert Suconic
5e5ac0f057
ARTEMIS-832 Openwire was ignoring data syncs.
...
I'm also adding the possibility of sync on libaio, and not only relay on write-cache
2016-11-02 13:17:12 -05:00
Clebert Suconic
6afde8f45a
ARTEMIS-822 Review journal threading model
...
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-28 16:54:59 -04:00
Bennet Schulz
4b5cbb86aa
ARTEMIS-830 Remove cyclic dependencies
...
Removes cyclic dependencies between classes and packages in the artemis-jdbc-store projetct by moving classes and methods to other locations and reducing the visibility of classes, fields and methods. Solving cyclic dependencies is important to keep the codebase maintainable. Scenarios where "everything uses everything" should be avoided.
2016-10-28 16:32:04 -04:00
Benjamin Graf
2020dcd290
ARTEMIS-793 Improvement to OSGi integration
2016-10-19 22:03:00 +02:00
Ville Skyttä
9a439b4791
javadoc: Fix doclint reference errors
2016-10-10 10:02:49 +02:00
Clebert Suconic
ec48f9ed00
ARTEMIS-765 Improve Checkstyle
2016-09-30 11:12:09 -04:00
Ville Skyttä
e98da5f288
Make bunch of private fields final
2016-09-23 09:06:08 -04:00
Ville Skyttä
02a7ac2949
Add missing @Overrides
2016-09-21 16:31:14 -04:00
Jeff Mesnil
c33f29631f
ARTEMIS-714 Add suport for DataSource and SQLProvider
...
* add DataSource property to DatabaseStorageConfiguration to be able to
communicate with the data store using this DataSource instance instead
of relying on the creation the SQL connnection using the JDBC connection
URL/driver class name tuple.
* add SQLProvider.Factory property to DatabaseStorageConfiguration to
externalize the choice of the SQLProvider instead of relying on
hard-coded choices. If the property is null, the current behaviour will
be used (determing the SQLProvider based on the driver class name)
* bindingsJournal and messageJournal are already started in the start()
method. Remove redundant calls that were creating unused JDBC
connections that are never closed.
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-714
2016-09-15 11:15:24 -04:00
Clebert Suconic
9cea1598d6
Improving ScheduledComponent to avoid bursts after long waits
2016-09-15 16:02:49 +01:00
Clebert Suconic
f8278ec99c
ARTEMIS-727 Improving Thread usage on JDBC
...
https://issues.apache.org/jira/browse/ARTEMIS-727
2016-09-12 14:32:40 -04:00
Clebert Suconic
505b732843
[maven-release-plugin] prepare for next development iteration
2016-09-06 12:17:31 -04:00
Clebert Suconic
b305e231ec
[maven-release-plugin] prepare release 1.4.0
2016-09-06 12:17:08 -04:00
Clebert Suconic
3668050c8c
Fixing compilation issues
2016-08-25 15:10:17 -04:00
Ville Skyttä
8c6e044745
Potential resource leak fixes
2016-08-25 14:22:32 -04:00