We used Liquibase in our company for a while, and we had a continuous integration environment configured to migrate the database, which would break the job when the patch had an error.
An interesting “feature” of this CI environment is that the gap had a “likely culprit,” because all patches must have an “author”, and the author’s name is displayed in the error message.
If you do not know what the educational base is, this is normal, this is not the point.
The point is: the presence of the person name attached to the error is really suitable for the software development process: problems are addressed faster faster .
So I thought: is this possible for Java stacks?
Is it possible we would have a stacktrace with the names of people along with line numbers, as shown below?
java.lang.NullPointerException at org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372:john) at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersister.java:3121:mike) at org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventListener.java:232:bob) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:173:bob) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87:bob) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:862:john)
Such information should be output from the SCM system (for example, executing "svn blame" for each source file).
Now, forget that compilation time will be destroyed: is this possible? How to add metadata to class files?
source share