About warning

manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... "fatal" "error" "warning" "info" "trace" ...

 
forum_thread

The attribute column name (EXCEPTION) is a reserved SQL-99 keyword.

How do I fix this error/warning that Netbeans gives me? <img src="http://www.objectdb.com/files/attachments/Ashton/reserved.png" alt="Reserved Keyword" /> ... How do I fix this error/warning that Netbeans gives me? "The attribute column name (EXCEPTION) ... 19:20 This warning indicates mapping to a field in the database that its name conflicts ...

 
manual

Entity Management Settings

Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... <enhancement agent = "true" reflection = "warning" /> <cache ref = "weak" level2 = "0mb" ... <enhancement agent = "true" reflection = "warning" /> The <enhancement> element specifies ...

 
forum_thread

InternalError on multiple AND and JOIN Query

Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: ... [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, ... [compiler:compile {execution: default-compile}] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. ...

 
forum_thread

The project does not contain a persistence unit

How do I fix this error/warning that Netbeans gives me?   ... How do I fix this error/warning that Netbeans gives me?   ... not require a persistence unit, but NetBeans produces this warning because a persistence unit is required by JPA. Although your ...

 
issue

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_01 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related: How to Use a SF with extended Persistence Context? Test mini web app at: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini3683.2016-09-29.tgz ... create project 2 { ... Warning: A system exception occurred during an invocation on EJB ... javax.ejb.EJBException: com.objectdb.o._PersistenceException: ... ConfigBean:@PostConstruct:createData: created project 2 } Warning: DTX5014: Caught exception in beforeCompletion() callback: [ObjectDB ...

 
forum_thread

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

Hi! I've been trying to get Glassfish 4 (Java EE 7) work with ObjectDB the whole day. It seems to be an error. The same code (adapted to Java EE 6) works perfect in Glassfish 3.1.2.2. I attached the samples as NetBeans projects, so that you could check easier. 1 for GF3 (6) and 1 for GF4 (7). Thanks! ... easier. 1 for GF3 (6) and 1 for GF4 (7). Thanks! WARNING:   EJB5184:A system exception occurred during an invocation ... void com.mirq.controller.UserC.findUser(java.lang.Long) WARNING:   javax.ejb.TransactionRolledbackLocalException: Exception ...

 
forum_thread

UserException: Package com.example.model is not found by the enhancer

My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model" + ".*"); ... it? Also, it would be cool if Netbeans gave a warning when code referenced entity object member variables rather than getters and setters. I think if you use the @Warning annotation this can be achieved? ...

 
forum_thread

Log4j error

Hi, We are using OBjectDB OEM Enhancer as part of our build process and we encountered following log4j error: #1 2013-07-24 12:34 Hi, We are using OBjectDB OEM Enhancer as part of our build process and we encountered following log4j er ...

 
forum_thread

ODB with Netbeans

ODB2 allows JPA attributes to be public (which is great), but JPA does not. So, in Netbeans, with attributes like this: @Entity class A { public String name; } I get compile time errors "Instance variable for persistent attribute must not be public" How does one switch that off in Netbeans? #1 2010-11-22 07:40 ODB2 allows JPA attributes to be public (which is great), but JPA does not. So, in Netbeans, w ...