Troubleshooting
The org.jboss.as.jpa logging can be enabled to get the following information:
INFO - when persistence.xml has been parsed, starting of persistence unit service (per deployed persistence.xml), stopping of persistence unit service
DEBUG - informs about entity managers being injected, creating/reusing transaction scoped entity manager for active transaction
TRACE - shows how long each entity manager operation took in milliseconds, application searches for a persistence unit, parsing of persistence.xml
Group items matching
in title, tags, annotations or url
23More
JPA Reference Guide - JBoss AS 7.1 - Project Documentation Editor - 0 views
- ...20 more annotations...
-
an entity is new if it has just been instantiated using the new operator, and it is not associated with a persistence context. It has no persistent representation in the database and no identifier value has been assigned.
-
a managed entity instance is an instance with a persistent identity that is currently associated with a persistence context.
-
the entity instance is an instance with a persistent identity that is no longer associated with a persistence context, usually because the persistence context was closed or the instance was evicted from the context.
-
a removed entity instance is an instance with a persistent identity, associated with a persistence context, but scheduled for removal from the database.
-
Delete *.index files in as7/modules/org/hibernate/main and as7/modules/org/hibernate/envers/main folders
-
Remove the older jars and copy new Hibernate jars into as7/modules/org/hibernate/main + as7/modules/org/hibernate/envers/main.
14More
Java Persistence/Relationships - Wikibooks, open books for an open world - 0 views
37More
Edit Permissions - VFM Leonardo JIRA - 0 views
-
Edit Issues
-
-
-
also required to remove issues from a sprint https://confluence.atlassian.com/display/GH060/Removing+an+Issue+from+a+Sprint
-
-
Administer Projects
-
-
-
-
also required to start a sprint https://confluence.atlassian.com/display/GH060/Starting+a+Sprint#
-
-
-
Schedule Issues
-
required for: - ranking issues (in backlog) https://confluence.atlassian.com/display/GH060/Ranking+an+Issue -
-
- ...25 more annotations...
40More
Java Persistence/Advanced Topics - Wikibooks, open books for an open world - 0 views
11More
CSV Comma Separated Value File Format - How To - Creativyst - Explored,Designed,Deliver... - 0 views
- ...8 more annotations...
-
The biggest differences are in how these three characters are handled. Embedded double quotes in fields. An escape character is sometimes used to introduce a double quote, or in place of it. Embedded line-feeds in fields. This one is also escaped sometimes. Often like in C ("\n") Embedded commas in fields. Again, an escape character is sometimes used in place of the comma
-
A particular aspect of how Excel uses CSV has become a considerable source of confusion and uncertanty.
7More
Graphical Eclipse FAQs - Eclipsepedia - 0 views
-
How do I alter my package representation so that parent packages are housing child packages? 1. Click on the dropdown menu on the Package Explorer view. Go to the 'Package Representation' submenu and then click on 'Hierarchical'.
-
PDE I get an unhandled event loop exception in my console. What gives? 1. Open up the run dialog via the dropdown toolbar item.
-
2. Select your Eclipse Application launch configuration. Go into the 'Arguments' tab and then append '-consoleLog' as an argument and then try running your application again.
- ...3 more annotations...
-
How do I not install a plug-in's extraneous dependency when I'm in the Update Manager? 1. Are you seeing a screen similar to the one where the plug-in you are installing is asking for some other plug-in? 2. Expand the section by clicking on the arrow. Keep expanding until you see everything and then tick off the "additional dependencies" that you don't want. 3. Now you can install the plug-in without installing other things.
-
I have just installed a plug-in but I do not see any indication of it in my workspace. What do I do? 1. Did you try restarting Eclipse with the -clean argument?
8More
TH02-EP02-US004 - VFML Admin, Org Mgmt, Sync Properties - Projects - Confluence - 0 views
-
using EXCC
-
sync properties
-
As a VFML user
- ...1 more annotation...
-
maintain an accurate listing of properties in an org
9More
Java Persistence/Persisting - Wikibooks, open books for an open world - 0 views
- ...6 more annotations...
-
When the transaction is committed, or if the persistence context is flushed, then the object will be inserted into the database
-
When the transaction is committed, or if the persistence context is flushed, then the object will be updated in the database.
26More
Enterprise JavaBeans 3.1 with Contexts and Dependency Injection: The Perfect Synergy - 0 views
- ...22 more annotations...
-
Annotating the boundary (Cart) with the @Named annotation makes the Cart immediately visible for expression language (EL) expressions in JSP and JSF
-
@Named annotation takes the simple name of the annotated class, puts the first character in lowercase, and exposes it directly to the JSF pages (or JSP). The Cart bean can be accessed directly, without any backed or managed beans, by the JSF pages: <h:commandButton value="Check out!" action="#{cart.checkout}" />
-
class Event can be considered to be a lightweight alternative to the java.beans.PropertyChangeSupport class
-
The during attribute in the @Observes annotation allows you to select in which transactional phase the event gets delivered. The default setting is IN_PROGRESS, which causes an immediate event delivery regardless of the transaction outcome. The AFTER_SUCCESS configuration causes the delivery to occur only after successful transaction completion
-
Although CDI events work only inside a single process (in the default case, CDI is extensible), they are perfectly suitable for decoupling packages from modules
-
The method checkout() starts a transaction that gets "reused" by the OrderSystem and CustomerNotification session beans
-
ordering.placeOrder(); notifier.sendNotification();
4More
Not able to set global mime-mapping | JBoss AS 7 | JBoss Community - 1 views
-
mime-mapping is complex field and not resource. that is why it has its own operation handlers add-mime/remove-mime to handle its value. what are you trying to achive can be done by command:
- ...1 more annotation...
-
Just bit of a warning when using this, there was a bug in 7.1.1 when you added mime type that prevented server to start.so please use 7.1.2 or 7.2 nightly builds where this is fixed.
14More
AuthorizingRealm (Apache Shiro 1.2.1 API) - 0 views
-
getAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection) method returns an AuthorizationInfo
- ...11 more annotations...
-
If caching is enabled and if any authorization data for an account is changed at runtime, such as adding or removing roles and/or permissions, the subclass implementation should clear the cached AuthorizationInfo for that account via the
-
Returns an account's authorization-specific information for the specified principals, or null if no account could be found
8More
7. Tide Framework - Confluence - 0 views
-
comparable to LiveCycle Data Services, which is neither open source nor free, as it provides similar features such as client container of managed entities, data paging, and integration with server components, but it is based on completely different principles:
- ...5 more annotations...
-
Tide keeps the classic three layers web architecture, when LCDS removes the service layer, and is some kind of remote JPA provider for Flex applications
-
Tide approach is to minimize the amount of code needed to make things work between the client and the server
-
principles are very similar to the ones of JBoss Seam, which is the main reason why the first integration of Tide has been done with this framework. Integrations with Spring, EJB 3 and CDI are also available
2More
Jenkins Best Practices - Jenkins - Jenkins Wiki - 0 views
37More
Selling Weld and EE6 | Weld | JBoss Community - 0 views
- ...32 more annotations...
-
Their template pattern is a solution in search of a problem
-
Because, of course, there are no other well-known patterns for dealing with boiler-plate cleanup code and connection leaks.
-
brain-damage that Spring does to people!
-
It's a very impressive magic trick, and I wish I knew how to do it myself. But then, I'm just not like that. I'm always trying to poke holes in things - whether they were Invented Here or Not.
-
exception handling, this is one area where Spring does a good job: "The Spring Framework's handling of SQLException is one of its most useful features in terms of enabling easier JDBC development and maintenance. The Spring Framework provides JDBC support that abstracts SQLException and provides a DAO-friendly, unchecked exception hierarchy."
-
Automatic connection closing (and other boiler-plate code) is obviously a hard requirement to be handled by the fwk.
-
Pffffff. It's a trivial requirement which I can solve in my framework with two lines of code in a @Disposes method. Did you see any connection handling in the code above?
-
I mean, seriously guys. The Spring stuff is trivial and not even very elegant. I guess it's easier for me to see that, since I spent half my career thinking about data access and designing data access APIs. But even so...
-
They don't understand, or see the value of, using managed objects to represent their persistent data.
-
Um. Why? Why would that be a bad thing? I imagine that any app with 1000 queries has tens of thousands of classes already. What's the problem? Why is defining a class worse than writing a method?
-
Are you working from some totally bizarre metric where you measure code quality by number of classes?