I have two files in the same package (we'll call the package they are in com.whatever).
The first, PointOfContact.java, is a simple bean containing 4 String fields. The second, GenericSettings.java, has two fields of type PointOfContact.
Both are in the com.whatever package (both files DO start with "package com.whatever;", first thing I checked).
Unfortunately, a simple run of "mvn package" goes nuts, spitting out multiple "cannot find symbol" errors. I'm about at the end of my rope. The only theory I have left is that Maven (version 2.2.1) is making an error determining the compile order of the source files.
Is there any way to force a particular source file to be compiled in a particular order?
I have a somewhat complex layout that I decided to use SpringLayout to create. There will be a total of 4 JPanels, 2 on the "left", one on the right, and one on the bottom. The two left side JPanels are for data entry, so will consist of groups of JLabels and JTextFields.
I'm attempting to align the second JLabel/JTextField five pixels below the first (I haven't done the left alignment yet). Unfortunately, its still flowing completely from left to right.
Any help to create the "break" between to data fields would help. The constructor of the class (where I create the components) is below.
I have an application in maintenance that uses OJB, while the newer version to be deployed will use hibernate. However, I have to issue a maintenance release, and know nothing about OJB.
I have a database URL hard-coded into the repository-database.xml file, which I am trying to convert to use a JNDI datasource defined on the server. I've defined the datasource, but the updates to repository-database.xml are not working. They fail with:
The repository-database.xml file looks like this:
I really have no time to learn OJB, I just need to fix this particular issue for a maintenance release. Can anyone help?
I need to define a filter on User so that when activated, it only returns certain types of equipment (name="WORKSTATION", for example). Actually, I want to define multiple filters for different reports (such as only "WORKSTATION" or in one case, Users who do NOT have a Workstation assigned).
I'm trying to create a dynamic form where people can keep adding rows of data until complete, then submit a whole batch at once. I can clone the row, but then I want to clear the contents before the user alters the contents.
Okay, I'm trying to speed up some reports in an application. Unfortunately, my current sticking point is an Organization tree, mapped as a nested set. The mapping will look something like this:
On my JSP where I display the results, however, I really only need the name and id fields to display in a formatted table.
I would like to use setFetchMode() to make the other nested sets and many-to-ones "extra" lazy to keep them from being instantiated during the pull of the organization tree. However, since this is one set nested inside another (inside another, etc), I'm not quite sure how to map this.