liubey / optimist Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/optimist
License: GNU Lesser General Public License v3.0
Automatically exported from code.google.com/p/optimist
License: GNU Lesser General Public License v3.0
Static method EntityWrapper.hasOptimisticLockingAnnotation is used but object
being sent in is ever checked if it's null.
Should handle null in some way.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2011 at 7:59
Move up trunk/optimist to trunk since gwt-optimist is moved to separate project.
Original issue reported on code.google.com by [email protected]
on 21 Jan 2011 at 8:21
Since I don't have spagettikod.com and groupId should reflect the actual domain
of optimist, in this case, it would probably be a good idea to change the
packages and groupId at this point.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 9:28
Modify POM to generate a separate JavaDoc archive when packaging the project.
Original issue reported on code.google.com by [email protected]
on 30 Dec 2010 at 6:45
Current test cases are limited in support for more than one database type.
Preferably the test cases should be the same but be "fed" with the correct
connection and MyBatis mapping.
Move from JUnit to TestNG to support test suites using Maven2. The same tests
need to be run but against different databases.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 8:44
It seems hard to run both optimist and gwt-optimist out of one Project Hosting
project so I've create a separate project for gwt-optimist. Move source code
there and move optimist back to root of trunk.
Original issue reported on code.google.com by [email protected]
on 12 Jan 2011 at 8:42
What steps will reproduce the problem?
1. suppose version in DB is 2
2. set version to value greater than 2, 20 for example
3. update success-ed and the version in DB changed to 21
What is the expected output? What do you see instead?
the update should be rejected, because the version does not match what in DB
What version of the product are you using? On what operating system?
all version
Please provide any additional information below.
the statement "return currentValueLong > thisVersion;" in
EntityWrapper.isStale() should be changed to "return currentValueLong !=
thisVersion;"
Original issue reported on code.google.com by [email protected]
on 27 Apr 2012 at 3:21
Current only Integer and Long is supported as version types. There might be
need to support Date.
Original issue reported on code.google.com by [email protected]
on 2 Jan 2011 at 9:13
It would make more sense to have the Mapper sub classes report back to the
Mapper if the database is supported by a certain mapper.
Original issue reported on code.google.com by [email protected]
on 30 Dec 2010 at 6:38
When user issues a select-statement where ResultType-object is managed by
Optimist it should detect if the object was removed by another user.
Original issue reported on code.google.com by [email protected]
on 2 Apr 2011 at 11:16
Releasing to Central require signing. See
https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With
+Maven
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 8:58
To comply with Maven2 central repository a -source.jar has to created when
releasing.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 8:51
What steps will reproduce the problem?
Call a method executing a DELETE, INSERT or UPDATE in the database without
including a parameter.
What is the expected output? What do you see instead?
Expected output is a debug log saying something like "Optimist can not be
used". Instead there is a NullPointerException.
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2011 at 8:37
Since there is a log statement (that include the null object) before check for
object being null a NPE might be thrown.
Original issue reported on code.google.com by [email protected]
on 17 May 2011 at 10:43
Both gwt-optimist and optimist point to trunk for SCM in the POM. Change these
to point to their sub directories in trunk instead.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2011 at 9:00
The following stacktrace occured. Reason unknown. Are we missing a
try-statement?
Caused by: java.lang.NullPointerException
at se.spagettikod.optimist.impl.EntityWrapper.isStale(EntityWrapper.java:237)
at se.spagettikod.optimist.impl.OptimisticLockingInterceptor.updateImpl(OptimisticLockingInterceptor.java:81)
at se.spagettikod.optimist.impl.OptimisticLockingInterceptor.intercept(OptimisticLockingInterceptor.java:139)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:42)
at $Proxy82.update(Unknown Source)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:118)
... 65 more
Original issue reported on code.google.com by [email protected]
on 18 Mar 2011 at 9:46
Since the mapper issues an SELECT ... FOR UPDATE we need to catch any deadlock
exceptions.
Original issue reported on code.google.com by [email protected]
on 4 May 2011 at 6:28
Add support for SQLite as database.
Original issue reported on code.google.com by [email protected]
on 30 Dec 2010 at 6:40
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.