Internal Website Search

101-150 of 200 results

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

="resource-local", I can deploy, but not with JTA. May 20, 2013 11:50:32 PM org.apache.tomee.catalina ... (TransactionManager is not found): com.objectdb.o._PersistenceException: Failed to use JTA (TransactionManager is not found) at org.apache.openejb.assembler.classic.Assembler.createApplication

Remove not working

is not found: ObjectManager of appnode1/127.0.0.1:6136 [2015-12-15 20:04:20 - 2015-12-15 20:04:20] - 226 ... and for some not . Best Regards Ralph mosi0815 Ralph Moser The following test case demonstrates a similar ... this ObjectDB exception:  "com.objectdb.o._JdoObjectNotFoundException: Entity is not found

@Convert is not supported?

; I've wrote a test on this, and seems that my Converters methods are not executed at all (like ... support of JPA 2.1 is not complete yet. Particularly, this feature seems to be useful mainly in ORM ... problem (but I think this feature might be useful for other purposes I'm not aware of), I have an Entity

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

get the exception: com.objectdb.o.UserException: Package com.example.model is not found by ... Which is obviously not present when cleaning and building with Netbeans and moving the dist directory to a remote location. What are the possible solutions around this problem as I'm not sure

Embedded in JDO metadata not working in objectDB 2.x ?

are embedded too.   I did not change the metadata when I was moving from ObjectDB 1 to 2, I ... as not embedded, with own extent and OID for every instance. So my questions are: 1. Is the enormous increase of database file size caused by the number of not -embedded objects in ObjectDB 2 opposed

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

1: Works not : if field AId.b is not @Embedded annotated.  *  *         ... ;     question: Is @Entity annotation of class B not sufficient enough, or  *   ... ;   public static class AId {         // @Embedded // case 1, not

Eager Fetch is not stable for collection or map types?

map types is not stable, we lost them sometimes after JVM restarted. Eager fetch is properly set.And we still found that the storage is stable when we not use generic, such as "private List users = new ... there is no known open bug that can cause this problem (including in using or not using generics

JPQL query to get entities that does not have a child entity in their child entities

'%Canceled' and not ('Finished'). FAILED :      A Job having status '%Failed' and not '%Canceled' and not 'Finished'. Active :        A Job having status '%Started' and not '%Failed' and not '%Canceled' and not 'Finished'. I have entities

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

that you are not responsible for compatibility with JRebel, but you might be able to provide some insight or ... enhancer.agent] Not Enhanced: com/example/ejb/query/__EJB31_Generated__ExampleQuery__Intf__: com.objectdb.o.TEX: Type com.example.ejb.query.__EJB31_Generated__ExampleQuery__Intf__ is not found at com

Entity is not related to ObjectDB, but i get exception from ObjectDB

.EJBTransactionRolledbackException: javax.persistence.PersistenceException: org.hibernate.InstantiationException: Could not ... .PersistenceException: org.hibernate.InstantiationException: Could not instantiate entity: granat.dp ... .persistence.PersistenceException: org.hibernate.InstantiationException: Could not instantiate entity

Why are my Map entries not stored?

Why are my values of the map "states" not stored in the database? It seems the 'State' is stored, but not the 'Authority'? @Entity public class Ticket {     @Id @GeneratedValue ... (EnumType.STRING) private Map states = new HashMap (); Is this correct now? "mappedBy" is not required

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any ... a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement ... query execution by using:     em.find(User.class, User.class); but this is not

Cascading (persist) with a mix of enhanced and not enhanced entities

We find out that it is actual not possible to use enhanced and not enhanced entities ... . Unfortunately, we can not reproduce this with a small example until now. Sometimes it works. btc_es BTC ... persistable classes that access directly ( not through methods) persistent fields of enhanced classes

Entity can be found by find() but not by query

(), with a query it is not always possible to get the entity, sometimes we get the entity ... , then it may work until it commits on a separate snapshot of the database that includes its own updates but not ... , although such an issue is not expected. You may try disabling the query cache to see if it helps

ObjectDB size not reducing

that DB and the size does not decrease.  In fact it keeps growing as records decrease.  Is that supposed to happen? FYI:  The DB is client server mode, and it is not being restarted as records reduce, as it is live in production. I do an hourly backup and the backup file is not any

Help with 'not like/lower' query

. This is using Criteria with a combination of LOWER/UPPER - NOT LIKE: SELECT COUNT($1.id) FROM User $1 WHERE ($1.owningCompany=:p1) AND LOWER($1.email) NOT LIKE :p2 So in essence, I'm trying to do a count ... to a company, and the lower case email does NOT match the parameter :p2   The bind is as follows

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

.lab.data.bacti.CultureRqst is not defined as an entity (@Entity is missing) (error 302) at com ... JDO, NOT JPA.   Thanks for any help. st.clair.clarke St Clair Clarke The class definition looks ... use another JDO jar other problems arise.   I am not sure how I can overcome this with 15

Annotations not supported in -source1.3 (use -source 5 or higher ..)

and other files: Annotations not supported in -source1.3 (use -source 5 or higher ..) Generics not ... see that this could explain the error) I could not figure out how to fix this in the points project in Netbeans, I did not find a setting for the Java version there, so I created a fresh basic Java Application in

@Column length is not working.

for that column with a string that has more than 16 character, not able to get any error or exception from ObjectDB. It should give an error for exceeding the limit. But dose not throwing any error or exception ... If by expensive you mean slow then it is not that expensive. You can use external validation libraries, but they will not be faster. support Support

package not found running ObjectDB under OSGi

] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in ... you have a bug ??   Thanks in advance b Tomasz Tomasz Wozniak This is not a bug but a limitation. Java ... of specific file based class loaders (by scanning the file system) but not in the general case

java.sql.Date equals comparison not working with CriteriaAPI

: We can currently not update the ODB version as this is a production system. Note also that doing ... . However, since you will not be able to use a new build, try as a workaround to replace the date ... is irrelevant. As can seen above in the query's toString ( not shown in version 2.4.5) , the date

BTree 8 is not found at com.objectdb.o.JPE.d(JPE.java:91)

._RollbackException: Failed to commit transaction: Unexpected database state: BTree 8 is not found at com ... .transact(database.kt:64) at server.test.ChangeListenerTest.Should not publish same object ... .UserException: Unexpected database state: BTree 8 is not found at com.objectdb.o._PersistenceException

@MappedSuperclass and @Transient not working as I expected

would be created for the superclass, and the transient field would not appear in any table. The actual result ... . Regarding the transient field - it is not stored in the database and the Explorer merely shows ... and future plans are.) kjkrum Kevin ObjectDB is not an RDBMS so there are no tables, but indeed a mapped

URGENCY, or in query does not report any objects on first operand having no results

this query does not return any objects even there are lot of objects to return for the second ... is not working at all the query plan is: Query plan 1/2 description ... ? support Support it does not happen with 2.7 (it was working for years) 2.8.9 not checked

Slave server not getting deletes

, then delete it, then re-insert it again, the slave server will give this error because the record did not ... This is an interesting report. Have you tried a normal remove. i.e. not using a delete query? Update ... again. Trianglehead Json Error This might not be related to replication but to cache in general

persistence.xml classes not respected by ObjectDB

. Otherwise I can't do it. What is it to be done? zmirc Mircea Chirac will not delete classes ... project. So, the bottom line is that ODB seems to do not respect the restriction when a fresh DB ... . There must be something else that made the change in your application. But we see now that actually this is not the right behavior, only 

Project runs in Eclipse but not when exported to runnable jar

running the system through eclipse. The full retrieval is not yet implemented, I concentrated ... windows is displayed. Other exceptions are thrown later because the odb file is not found and a new empty one is created (accessing a database file that is embedded in a jar file is not supported by

java.sql.Timestamp.getTime() not working

Player p fails with object is not an instance of declaring class or java.lang.ClassCastException ... = AppCore.getTime(); ... } Is there some other way to compare two Timestamps within ObjectDB not ... is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method

ODB-WeakRefPurger threads not closing at all

thread for every DB Connection (using JDO and PersistenceManager) and not closing any of it. I've counted ... operation is slow, it may indicate that this timeout may not be sufficient. support Support I am closing only PersistenceManager instances, not the PersistenceManagerFactory instances. Should I

JPA Annotations for Mapping (ORM)

The following JPA annotations and enums are designated for mapping a JPA object model to a relational database, and are not required by ObjectDB: ObjectDB silently ignores all the above annotations.

Database Server

-cp objectdb.jar com.objectdb.Server If objectdb.jar is not in the current directory a path

JPA Exceptions

, when a required entity object is not found: or during query execution: The lock exceptions

SSL Configuration

server and not to another server, pretending to be the real server (this is known as a "man in

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection is not possible. The following java code demonstrates the problem. The statement parentEntity.getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities. package

Different behavior for casting and not casting

.MitgliedVertraegeFragment') IS NOT NULL Query #2 which is equal to the previous one though includes a casting and returns ... .MitgliedVertraegeFragment')) IS NOT NULL Furthermore, checking for empty collection doesn't return any entity either, however I am not sure whether this might start working when the previous issue with casting

JPA 2.2 LocalDate still not working

and objectdb still does not support LocalDate? com.objectdb.o._RollbackException: Failed to commit ... doing something wrong? Also Converters are still not working... Kevin Kevin Pfaff The system blocks ... is unrelated (although, this is obviously not the case here). Anyway, there were some technical

new objects not available in mappedBy associations

seeing that, in general, newly created objects are not immediately available in collection queries ... , but if the query has already been run and the field already contains a value - it will not be run again unless the object is retrieved again from the database (and not from the persistence context cache), or

Lazy retrieval by access not working correctly

containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists ... correctly.  Without the breakpoint, my lazy collection does not get loaded.  Here are code ... locale; // if I set a breakpoint here, values loaded from DB; without breakpoint they are not loaded

Enhancement does not show an error message when an outdated license is used

. The entities were not enhanced in our jars. But the message from the enhancement tool com.objectdb.Enhancer ... ?   btc_es BTC EmbeddedSystems Thank you for this report. Enhancement does not require a valid ... ). However, if there is no valid OEM activation then although the classes are still enhanced and usable they are not

Enhancer option -s works not as expected

. This we did not expected. btc_es BTC EmbeddedSystems This is not a bug, but maybe a feature request ... .g. ... com.objectdb.Enhancer -noaware -s c:\my-project\bin\*.class but should not use to cover sub ... enough, it seems that investing time now in other options would not be justified. support Support

Enhancing a class causes it to not save changes.

that have not existed for ages.  In enhancement mode, there are no exceptions. I can't figure out how ObjectDB is holding on to the old classes, as they have not existed for  months.  ... as I can tell, it's not causing any problems,   so feel free to tell me to take a hike

javax.jdo.JDONullIdentityException: The identity must not be null.

, yielding in not merging athene.odb and athene.odb$. A bug in objectdb?    bjjl@ps2:~$ ls ... must not be null.         at javax.jdo.identity.SingleFieldIdentity ... #2 reflects a locked database file (due to a failure during close) and not a corrupted database

Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found

.Read .doGet (115 ): Failed to commit transaction: Unexpected database state: BTree -152 is not found ... database state: BTree -152 is not found (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:302 ... .PersistenceException: com.objectdb.o.UserException: Unexpected database state: BTree -152 is not found

Table view does not work for queries

This shows that table view does not work for queries     Trianglehead Json Error The attached database seems to be empty. support Support Here it is.  Not sure why that was empty ... did not replace the jar files in my production game server though. 

Unexpected exception during query, if entity is not enhanced

Hello, the entity TCVector is not enhanced and the enhancement check in the objectdb.conf ... We found the reason for the issue. The TCVector is really not enhanced and is created ... structure in our main database where the TCVector is not needed. Then the enhancement check threw

JPA Web App Tutorial - IntelliJ Project

: Select File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat

Step 3: Define an EJB Session Bean

are only supported by Java EE application servers such as GlassFish and JBoss, and not by servlet containers

Step 1: Create a Web Project

the path to Tomcat. Click the Finish button to create the project (Frameworks are not required). To add

Java EE 6 JPA Tutorial - IntelliJ Project

Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration

Spring MVC JPA Tutorial - NetBeans Project

the transaction type from RESOURCE_LOCAL to JTA in the persistence.xml file. If  a browser is not opened - open it at http://localhost:8080/Guestbook/.