About JBoss AS

31-40 of 200Refresh
Forum
8

Object as parameter results in exception

is valid since objects such as a Company instance are expected to be passed to the query as parameters ... the primary key is used as a literal, which means that the query has to be compiled every time and the query ... ! Most of our queries will still be named queries, just our 'search' queries will be coded as Criteria queries
Issue
8

Enhancer option -s works not as expected

-noaware -s com.btc.base.impl.* Entity1 and Entity2 enhanced as expected. ... com.objectdb.Enhancer -noaware -s com.btc.base.* Entity1 and Entity2 enhanced as expected. BUT: ... com.objectdb.Enhancer ... a feature request. The enhancer supports specifying classes for enhancement either as packages and classes
Forum
8

@MappedSuperclass and @Transient not working as I expected

.  But here is the problem: The base class of my entity hierarchy is annotated as @MappedSuperclass, and one of its fields ... . ObjectDB 2.3 will be released with a new Explorer that should fix the transient field as well as ... so there are no tables, but indeed a mapped superclasses (as well as abstract entity classes) do not store data just
Forum
8

Type ... is not defined as an entity (@Entity is missing) (error 302)

.epimss.lab.data.bacti.CultureRqst is not defined as an entity (@Entity is missing) (error 302) at com ... objectdb. I tried placing objectdb as a variable and then all projects refer to this variable but then this does not work.   The only solution it seems is to: 1. Package objectdb as an OSGi bundle. 2
Forum
8

LAZY @ManyToOne field functions as EAGER

and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2 ... as @ManyToOne(fetch=FetchType.LAZY) ?   package com.greensoft.objectdb.test.console; import ... relationships only in enhanced classes. If you run your test as recommended with enhancement enabled, e.g
Forum
8

multiple LEFT JOINs do not work as expected

.valueAsString='1')) AND (($3.organisationId='root') OR ($4.organisationId='root'))) As I understand ... has null as it's parent. The log generated when I run this against the DB is attached ... . Please try to modify it to demonstrate a different query that doesn't work as expected: import java.util
Forum
8

Access objectdb.conf as class loader resource

Hi, is it possible configure ObjectDB so it searches the objectdb.conf file as a class loader resource? Regards, Vladimir If a configuration file is not found at the expected path, then it is loaded as a resource from: META-INF/objectdb.conf Default configuration is included in objectdb.jar as
Issue
8

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals and hashCode methods of the keys are based on the key entity persistent content, since that content ... .LDR.UU(LDR.java:669) at com.objectdb.o.MST.aT(MST.java:522) at com.objectdb.o.MST.aS(MST.java:454
Forum
8

Insert time increases as db grows.

enhancer manually on classes, but still getting the same results: insertion time grows as db grows. I've just set enhancer as javaagent and everything worked like a charm: the execution time of test now is around 2 seconds. Thanks for assistance. 4410
Forum
8

ObjectDB as JDBC resource or custom realm

it would be great if a realm like that came bundled with ObjectDB, possibly as an OSGi module. EDIT Is it possible to use ObjectDB as a JDBC Resource in GlassFish? That way maybe I could make JDBCRealm. Thanks in