fixed hibernate bug with fetchType EAGER
This commit is contained in:
@@ -45,7 +45,7 @@ dependencies {
|
|||||||
task deployWildfly(dependsOn: 'war') << {
|
task deployWildfly(dependsOn: 'war') << {
|
||||||
def username = 'admin', password = '123456'
|
def username = 'admin', password = '123456'
|
||||||
def sout = new StringBuffer(), serr = new StringBuffer()
|
def sout = new StringBuffer(), serr = new StringBuffer()
|
||||||
def cmd = sprintf("/opt/wildfly/bin/jboss-cli.sh --connect --user=%s --password=%s --command=\'deploy %s --force\'", username, password, tasks['war'].archivePath)
|
def cmd = sprintf("/opt/wildfly/bin/jboss-cli.sh --controller=localhost:9990 --connect --user=%s --password=%s --command=\'deploy %s --force\'", username, password, tasks['war'].archivePath)
|
||||||
def proc = cmd.execute()
|
def proc = cmd.execute()
|
||||||
proc.consumeProcessOutput(sout, serr)
|
proc.consumeProcessOutput(sout, serr)
|
||||||
proc.waitFor()
|
proc.waitFor()
|
||||||
|
@@ -46,28 +46,28 @@ public class PkgData
|
|||||||
|
|
||||||
public String fileName;
|
public String fileName;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> replaces;
|
public List<String> replaces;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> conflict;
|
public List<String> conflict;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> provides;
|
public List<String> provides;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> depend;
|
public List<String> depend;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> optdepend;
|
public List<String> optdepend;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> makedepend;
|
public List<String> makedepend;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> makeopkgopt;
|
public List<String> makeopkgopt;
|
||||||
|
|
||||||
@ElementCollection(fetch = FetchType.EAGER)
|
@ElementCollection(fetch = FetchType.LAZY)
|
||||||
public List<String> backup;
|
public List<String> backup;
|
||||||
|
|
||||||
@Temporal(TemporalType.TIMESTAMP)
|
@Temporal(TemporalType.TIMESTAMP)
|
||||||
|
Reference in New Issue
Block a user